diff options
author | Ayuso/emailAddress=pablo@netfilter.org <Ayuso/emailAddress=pablo@netfilter.org> | 2007-12-21 18:15:04 +0000 |
---|---|---|
committer | Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp> | 2007-12-23 03:14:44 +0900 |
commit | 735a6fc681809beb52c160b09507aa0999fbc6ba (patch) | |
tree | 2c51319a2940076f4a71c980766f8d68ee1ee431 /doc/sync/ftfw/node1/keepalived.conf | |
parent | be072dced4efa3447a7c01d9f7dc90bd717fec7b (diff) | |
download | conntrack-tools-735a6fc681809beb52c160b09507aa0999fbc6ba.tar.gz conntrack-tools-735a6fc681809beb52c160b09507aa0999fbc6ba.zip |
rename `examples' directory to `doc'
Diffstat (limited to 'doc/sync/ftfw/node1/keepalived.conf')
-rw-r--r-- | doc/sync/ftfw/node1/keepalived.conf | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/doc/sync/ftfw/node1/keepalived.conf b/doc/sync/ftfw/node1/keepalived.conf new file mode 100644 index 0000000..f937467 --- /dev/null +++ b/doc/sync/ftfw/node1/keepalived.conf @@ -0,0 +1,39 @@ +vrrp_sync_group G1 { # must be before vrrp_instance declaration + group { + VI_1 + VI_2 + } + notify_master /etc/conntrackd/script_master.sh + notify_backup /etc/conntrackd/script_backup.sh +# notify_fault /etc/conntrackd/script_fault.sh +} + +vrrp_instance VI_1 { + interface eth1 + state SLAVE + virtual_router_id 61 + priority 80 + advert_int 3 + authentication { + auth_type PASS + auth_pass papas_con_tomate + } + virtual_ipaddress { + 192.168.0.100 # default CIDR mask is /32 + } +} + +vrrp_instance VI_2 { + interface eth0 + state SLAVE + virtual_router_id 62 + priority 80 + advert_int 3 + authentication { + auth_type PASS + auth_pass papas_con_tomate + } + virtual_ipaddress { + 192.168.1.100 + } +} |