[Keepalived-devel] Re: problem with VRRP - Received lower prio advert, forcing new election
Status: Beta
Brought to you by:
acassen
|
From: Jeffrey L. <jl...@ha...> - 2006-03-28 14:05:18
|
Oh, I did notice there was a typo in one of the VRRP instances below. Correcting that did not fix the issue. Here's an output of the tcpdump command: tcpdump -i eth2.1500 proto vrrp tcpdump: listening on eth2.1500 09:02:41.149261 supernova.lnholdings.com > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D10 authtype=3D1 intvl=3D1 09:02:42.149665 supernova.lnholdings.com > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D10 authtype=3D1 intvl=3D1 09:02:43.159570 supernova.lnholdings.com > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D10 authtype=3D1 intvl=3D1 09:02:44.159475 supernova.lnholdings.com > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D10 authtype=3D1 intvl=3D1 09:02:45.169381 supernova.lnholdings.com > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D10 authtype=3D1 intvl=3D1 09:02:46.780729 supernova.lnholdings.com > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D10 authtype=3D1 intvl=3D1 09:02:46.781074 10.5.0.11 > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D190 authtype=3D1 intvl=3D1 09:02:46.828730 supernova.lnholdings.com > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D10 authtype=3D1 intvl=3D1 09:02:46.829080 10.5.0.11 > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D190 authtype=3D1 intvl=3D1 09:02:47.825633 supernova.lnholdings.com > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D10 authtype=3D1 intvl=3D1 09:02:47.826096 10.5.0.11 > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D190 authtype=3D1 intvl=3D1 09:02:48.832299 10.5.0.11 > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D190 authtype=3D1 intvl=3D1 09:02:48.963192 supernova.lnholdings.com > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D10 authtype=3D1 intvl=3D1 09:02:48.963799 10.5.0.11 > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D190 authtype=3D1 intvl=3D1 09:02:49.967786 10.5.0.11 > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D190 authtype=3D1 intvl=3D1 09:02:50.109237 supernova.lnholdings.com > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D10 authtype=3D1 intvl=3D1 09:02:50.110063 10.5.0.11 > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D190 authtype=3D1 intvl=3D1 09:02:51.117883 10.5.0.11 > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D190 authtype=3D1 intvl=3D1 09:02:51.244790 supernova.lnholdings.com > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D10 authtype=3D1 intvl=3D1 09:02:51.245262 10.5.0.11 > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D190 authtype=3D1 intvl=3D1 09:02:52.248061 10.5.0.11 > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D190 authtype=3D1 intvl=3D1 09:02:52.386327 supernova.lnholdings.com > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D10 authtype=3D1 intvl=3D1 09:02:52.386957 10.5.0.11 > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D190 authtype=3D1 intvl=3D1 09:02:53.388043 10.5.0.11 > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D190 authtype=3D1 intvl=3D1 09:02:53.541627 supernova.lnholdings.com > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D10 authtype=3D1 intvl=3D1 09:02:53.542111 10.5.0.11 > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D190 authtype=3D1 intvl=3D1 09:02:54.548165 10.5.0.11 > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D190 authtype=3D1 intvl=3D1 09:02:54.701595 supernova.lnholdings.com > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D10 authtype=3D1 intvl=3D1 09:02:54.702025 10.5.0.11 > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D190 authtype=3D1 intvl=3D1 09:02:55.708232 10.5.0.11 > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D190 authtype=3D1 intvl=3D1 09:02:55.824840 supernova.lnholdings.com > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D10 authtype=3D1 intvl=3D1 09:02:55.825487 10.5.0.11 > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D190 authtype=3D1 intvl=3D1 09:02:56.828366 10.5.0.11 > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D190 authtype=3D1 intvl=3D1 09:02:57.020501 supernova.lnholdings.com > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D10 authtype=3D1 intvl=3D1 09:02:57.021224 10.5.0.11 > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D190 authtype=3D1 intvl=3D1 09:02:57.792976 10.5.0.11 > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D0 authtype=3D1 intvl=3D1 09:02:58.157181 supernova.lnholdings.com > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D10 authtype=3D1 intvl=3D1 09:02:58.888490 supernova.lnholdings.com > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D10 authtype=3D1 intvl=3D1 09:02:59.889851 supernova.lnholdings.com > VRRP.MCAST.NET: VRRPv2-advertise 20: vrid=3D150 prio=3D10 authtype=3D1 intvl=3D1 On 3/28/06, Jeffrey Liu <jl...@ha...> wrote: > > All, > > My setup consists of two nodes. I'm running both on RedHat 8.0 with a > custom kernel built from source from kernel.org (2.4.24). > > I've tried running different versions of keepalived including 1.1.10, > 1.1.11, and 1.1.12. > > I've enabled an iptables rule to accept ALL for protocol "112" (vrrp). > However, I also have disabled iptables just in case and the problem still > occurs. > When I ping 224.0.0.18, I see both nodes respond with their "real" IP > address. > > tcpdump shows the vrrp adverts across the wire. > The node with with lower priority (10) seems to keep advert, though I > think the normal behavior is to stop advertising when it receives a highe= r > advert. The node with the higher priority (200) also adverts. The logs = on > both nodes sho that the the lower priority node is constantly flapping > between BACKUP and MASTER mode. The higher priority node logs show: > Keepalived_vrrp: VRRP_Instance(VI_107) Received lower prio advert, > forcing new election > > I'd like to submit one other observation before I include the content of > the two node's configuration files. This only occurs with the Trunked V= LAN > NIC. If Keepalived is only configured with a physical interface, it work= s > fine. The lower priority node does not constantly advert. However, wit= h > the 802.1q interfaces, vrrp does not work and it seems that the adverts > constantly go out. > > Any help will be greatly appreciated. Thanks in advance. > > Here are the two keepalived.conf configuration files. > > MASTER > vrrp_sync_group G1 { > group { > VI_254 > } > notify_fault /root/script_fault.sh > } > > vrrp_sync_group G2 { > group { > VI_100 > VI_101 > VI_102 > VI_103 > VI_104 > VI_105 > VI_106 > VI_107 > VI_108 > VI_110 > VI_112 > VI_113 > VI_251 > VI_252 > VI_253 > VI_150 > } > notify_fault /root/script_fault.sh > } > > vrrp_instance VI_100 { > interface eth2.100 > state MASTER > virtual_router_id 100 > priority 190 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.100 > dummy0 > } > virtual_ipaddress { > 10.0.0.12/24 > } > } > > vrrp_instance VI_101 { > interface eth2.101 > state MASTER > virtual_router_id 101 > priority 190 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.101 > dummy0 > } > virtual_ipaddress { > 10.0.1.10/24 > } > } > > vrrp_instance VI_102 { > interface eth2.102 > state MASTER > virtual_router_id 102 > priority 190 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.102 > dummy0 > } > virtual_ipaddress { > 10.0.2.10/24 > } > } > > vrrp_instance VI_103 { > interface eth2.103 > state MASTER > virtual_router_id 103 > priority 190 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.103 > dummy0 > } > virtual_ipaddress { > 10.0.3.10/24 > } > } > > vrrp_instance VI_104 { > interface eth2.104 > state MASTER > virtual_router_id 104 > priority 190 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.104 > dummy0 > } > virtual_ipaddress { > 10.0.4.1/24 > } > } > > vrrp_instance VI_105 { > interface eth2.105 > state MASTER > virtual_router_id 105 > priority 190 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.105 > dummy0 > } > virtual_ipaddress { > 10.0.5.10/24 > } > } > > vrrp_instance VI_106 { > interface eth2.106 > state MASTER > virtual_router_id 106 > priority 190 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.106 > dummy0 > } > virtual_ipaddress { > 10.0.6.1/24 > } > } > > vrrp_instance VI_107 { > interface eth2.107 > state MASTER > virtual_router_id 107 > priority 190 > # higher priority the higher the number > advert_int 30 > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.107 > dummy0 > } > virtual_ipaddress { > 10.0.7.1/24 > } > } > > vrrp_instance VI_108 { > interface eth2.108 > state MASTER > virtual_router_id 108 > priority 190 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.108 > dummy0 > } > virtual_ipaddress { > 10.0.8.1/24 > } > } > > vrrp_instance VI_110 { > interface eth2.110 > state MASTER > virtual_router_id 110 > priority 190 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.110 > dummy0 > } > virtual_ipaddress { > 10.0.10.1/24 > } > } > > vrrp_instance VI_112 { > interface eth2.112 > state MASTER > virtual_router_id 112 > priority 190 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.112 > dummy0 > } > virtual_ipaddress { > 10.0.12.1/24 > } > } > > vrrp_instance VI_113 { > interface eth2.113 > state MASTER > virtual_router_id 113 > priority 190 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.113 > dummy0 > } > virtual_ipaddress { > 10.0.13.1/24 > } > } > > vrrp_instance VI_251 { > interface eth2.1251 > state MASTER > virtual_router_id 251 > priority 190 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.1251 > dummy0 > } > virtual_ipaddress { > 10.0.251.1/24 > } > } > > vrrp_instance VI_252 { > interface eth2.1252 > state MASTER > virtual_router_id 252 > priority 190 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.1252 > dummy0 > } > virtual_ipaddress { > 192.168.252.1/24 > } > } > > vrrp_instance VI_253 { > interface eth2.1253 > state MASTER > virtual_router_id 253 > priority 190 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.1253 > dummy0 > } > virtual_ipaddress { > 10.0.253.1/24 > } > } > > vrrp_instance VI_254 { > interface eth1 > state MASTER > virtual_router_id 254 > priority 190 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth1 > } > virtual_ipaddress { > 10.0.254.1/24 > } > } > > vrrp_instance VI_150 { > interface eth2.1500 > state MASTER > virtual_router_id 150 > priority 190 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.1500 > dummy0 > } > virtual_ipaddress { > 10.5.0.10/24 > } > } > > ----------- > > MASTER ip address > > 1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 > inet 127.0.0.1/8 brd 127.255.255.255 scope host lo > 2: teql0: <NOARP> mtu 1500 qdisc noop qlen 100 > link/void > 3: dummy0: <BROADCAST,NOARP,UP> mtu 1500 qdisc noqueue > link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff > inet 192.168.2.1/24 brd 192.168.2.255 scope global dummy0 > 4: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000 > link/ether 00:50:8b:e2:a3:91 brd ff:ff:ff:ff:ff:ff > inet 12.14.70.133/26 brd 12.14.70.191 scope global eth0 > 5: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000 > link/ether 00:50:8b:e2:a3:8f brd ff:ff:ff:ff:ff:ff > inet 10.0.254.2/24 brd 10.0.254.255 scope global eth1 > inet 10.0.254.1/24 scope global secondary eth1 > 6: eth2: <BROADCAST,MULTICAST,ALLMULTI,UP> mtu 1500 qdisc pfifo_fast qlen > 1000 > link/ether 00:07:e9:18:41:06 brd ff:ff:ff:ff:ff:ff > 7: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000 > link/ether 00:07:e9:18:41:07 brd ff:ff:ff:ff:ff:ff > 8: eth2.2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop > link/ether 00:07:e9:18:41:06 brd ff:ff:ff:ff:ff:ff > 9: eth2.100: <BROADCAST,MULTICAST,ALLMULTI,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:41:06 brd ff:ff:ff:ff:ff:ff > inet 10.0.0.11/24 brd 10.0.0.255 scope global eth2.100 > inet 10.0.0.12/24 scope global secondary eth2.100 > 10: eth2.101: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:41:06 brd ff:ff:ff:ff:ff:ff > inet 10.0.1.11/24 brd 10.0.1.255 scope global eth2.101 > inet 10.0.1.10/24 scope global secondary eth2.101 > 11: eth2.102: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:41:06 brd ff:ff:ff:ff:ff:ff > inet 10.0.2.11/24 brd 10.0.2.255 scope global eth2.102 > inet 10.0.2.10/24 scope global secondary eth2.102 > 12: eth2.103: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:41:06 brd ff:ff:ff:ff:ff:ff > inet 10.0.3.11/24 brd 10.0.3.255 scope global eth2.103 > inet 10.0.3.10/24 scope global secondary eth2.103 > 13: eth2.104: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:41:06 brd ff:ff:ff:ff:ff:ff > inet 10.0.4.2/24 brd 10.0.4.255 scope global eth2.104 > inet 10.0.4.1/24 scope global secondary eth2.104 > 14: eth2.105: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:41:06 brd ff:ff:ff:ff:ff:ff > inet 10.0.5.11/24 brd 10.0.5.255 scope global eth2.105 > inet 10.0.5.10/24 scope global secondary eth2.105 > 15: eth2.106: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:41:06 brd ff:ff:ff:ff:ff:ff > inet 10.0.6.2/24 brd 10.0.6.255 scope global eth2.106 > inet 10.0.6.1/24 scope global secondary eth2.106 > 16: eth2.107: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:41:06 brd ff:ff:ff:ff:ff:ff > inet 10.0.7.2/24 brd 10.0.7.255 scope global eth2.107 > inet 10.0.7.1/24 scope global secondary eth2.107 > 17: eth2.108: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:41:06 brd ff:ff:ff:ff:ff:ff > inet 10.0.8.2/24 brd 10.0.8.255 scope global eth2.108 > inet 10.0.8.1/24 scope global secondary eth2.108 > 18: eth2.110: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:41:06 brd ff:ff:ff:ff:ff:ff > inet 10.0.10.2/24 brd 10.0.10.255 scope global eth2.110 > inet 10.0.10.1/24 scope global secondary eth2.110 > 19: eth2.112: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:41:06 brd ff:ff:ff:ff:ff:ff > inet 10.0.12.2/24 brd 10.0.12.255 scope global eth2.112 > inet 10.0.12.1/24 scope global secondary eth2.112 > 20: eth2.113: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:41:06 brd ff:ff:ff:ff:ff:ff > inet 10.0.13.2/24 brd 10.0.13.255 scope global eth2.113 > inet 10.0.13.1/24 scope global secondary eth2.113 > 21: eth2.1251: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:41:06 brd ff:ff:ff:ff:ff:ff > inet 10.0.251.4/24 brd 10.0.251.255 scope global eth2.1251 > inet 10.0.251.1/24 scope global secondary eth2.1251 > 22: eth2.1252: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:41:06 brd ff:ff:ff:ff:ff:ff > inet 192.168.252.3/24 brd 192.168.252.255 scope global eth2.1252 > inet 192.168.252.1/24 scope global secondary eth2.1252 > 23: eth2.1253: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:41:06 brd ff:ff:ff:ff:ff:ff > inet 10.0.253.2/24 brd 10.0.253.255 scope global eth2.1253 > inet 10.0.253.1/24 scope global secondary eth2.1253 > 24: eth2.1500: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:41:06 brd ff:ff:ff:ff:ff:ff > inet 10.5.0.11/24 brd 10.5.0.255 scope global eth2.1500 > inet 10.5.0.10/24 scope global secondary eth2.1500 > > -------------------------------- > > BACKUP > > vrrp_sync_group G1 { > group { > VI_254 > } > notify_fault /root/script_fault.sh > } > > vrrp_sync_group G2 { > group { > VI_100 > VI_101 > VI_102 > VI_103 > VI_104 > VI_105 > VI_106 > VI_107 > VI_108 > VI_110 > VI_112 > VI_113 > VI_251 > VI_252 > VI_253 > VI_150 > } > notify_fault /root/script_fault.sh > } > > vrrp_instance VI_100 { > interface eth2.100 > state BACKUP > virtual_router_id 100 > priority 10 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.100 > } > virtual_ipaddress { > 10.0.0.12/24 > } > } > > vrrp_instance VI_101 { > interface eth2.101 > state BACKUP > virtual_router_id 101 > priority 10 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.101 > } > virtual_ipaddress { > 10.0.1.10/24 > } > } > > vrrp_instance VI_102 { > interface eth2.102 > state BACKUP > virtual_router_id 102 > priority 10 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.102 > } > virtual_ipaddress { > 10.0.2.10/24 > } > } > > vrrp_instance VI_103 { > interface eth2.103 > state BACKUP > virtual_router_id 103 > priority 10 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.103 > } > virtual_ipaddress { > 10.0.3.10/24 > } > } > > vrrp_instance VI_104 { > interface eth2.104 > state BACKUP > virtual_router_id 104 > priority 10 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.104 > } > virtual_ipaddress { > 10.0.4.1/24 > } > } > > vrrp_instance VI_105 { > interface eth2.105 > state BACKUP > virtual_router_id 105 > priority 10 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.103 > } > virtual_ipaddress { > 10.0.3.10/24 > } > } > > vrrp_instance VI_104 { > interface eth2.104 > state BACKUP > virtual_router_id 104 > priority 10 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.104 > } > virtual_ipaddress { > 10.0.4.1/24 > } > } > > vrrp_instance VI_105 { > interface eth2.105 > state BACKUP > virtual_router_id 105 > priority 10 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.105 > } > virtual_ipaddress { > 10.0.5.10/24 > } > } > > vrrp_instance VI_106 { > interface eth2.106 > state BACKUP > virtual_router_id 106 > priority 10 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.106 > } > virtual_ipaddress { > 10.0.6.1/24 > } > } > > vrrp_instance VI_107 { > interface eth2.107 > state BACKUP > virtual_router_id 107 > priority 10 > # higher priority the higher the number > advert_int 30 > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.107 > } > virtual_ipaddress { > 10.0.7.1/24 > } > } > > vrrp_instance VI_108 { > interface eth2.108 > state BACKUP > virtual_router_id 108 > priority 10 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.108 > } > virtual_ipaddress { > 10.0.8.1/24 > } > } > > vrrp_instance VI_110 { > interface eth2.110 > state BACKUP > virtual_router_id 110 > priority 10 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.110 > } > virtual_ipaddress { > 10.0.10.1/24 > } > } > > vrrp_instance VI_112 { > interface eth2.112 > state BACKUP > virtual_router_id 112 > priority 10 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.112 > } > virtual_ipaddress { > 10.0.12.1/24 > } > } > > vrrp_instance VI_113 { > interface eth2.113 > state BACKUP > virtual_router_id 113 > priority 10 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.113 > } > virtual_ipaddress { > 10.0.13.1/24 > } > } > > vrrp_instance VI_251 { > interface eth2.1251 > state BACKUP > virtual_router_id 251 > priority 10 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.1251 > } > virtual_ipaddress { > 10.0.251.1/24 > } > } > > vrrp_instance VI_252 { > interface eth2.1252 > state BACKUP > virtual_router_id 252 > priority 10 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.1252 > } > virtual_ipaddress { > 192.168.252.1/24 > } > } > > vrrp_instance VI_253 { > interface eth2.1253 > state BACKUP > virtual_router_id 253 > priority 10 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.1253 > } > virtual_ipaddress { > 10.0.253.1/24 > } > } > > vrrp_instance VI_254 { > interface eth1 > state BACKUP > virtual_router_id 254 > priority 10 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth1 > } > virtual_ipaddress { > 10.0.254.1/24 > } > } > > vrrp_instance VI_150 { > interface eth2.1500 > state BACKUP > virtual_router_id 150 > priority 10 > # higher priority the higher the number > advert_int 30 > authentication { > auth_type PASS > auth_pass pass1 > } > track_interface { > eth2.1500 > } > virtual_ipaddress { > 10.5.0.10/24 > } > } > > -------------------------------------------------------------------------= -- > > > BACKUP ip add > > 1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 > inet 127.0.0.1/8 brd 127.255.255.255 scope host lo > 2: teql0: <NOARP> mtu 1500 qdisc noop qlen 100 > link/void > 3: dummy0: <BROADCAST,NOARP,UP> mtu 1500 qdisc noqueue > link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff > inet 192.168.2.1/24 brd 192.168.2.255 scope global dummy0 > 4: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000 > link/ether 00:02:a5:e8:a0:2f brd ff:ff:ff:ff:ff:ff > inet 12.14.70.133/26 brd 12.14.70.191 scope global eth0 > 5: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000 > link/ether 00:02:a5:e8:a0:2e brd ff:ff:ff:ff:ff:ff > inet 10.0.254.3/24 brd 10.0.254.255 scope global eth1 > 6: eth2: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000 > link/ether 00:07:e9:18:45:5a brd ff:ff:ff:ff:ff:ff > 7: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000 > link/ether 00:07:e9:18:45:5b brd ff:ff:ff:ff:ff:ff > 8: eth2.2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop > link/ether 00:07:e9:18:45:5a brd ff:ff:ff:ff:ff:ff > 9: eth2.100: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:45:5a brd ff:ff:ff:ff:ff:ff > inet 10.0.0.14/24 brd 10.0.0.255 scope global eth2.100 > 10: eth2.101: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:45:5a brd ff:ff:ff:ff:ff:ff > inet 10.0.1.12/24 brd 10.0.1.255 scope global eth2.101 > 11: eth2.102: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:45:5a brd ff:ff:ff:ff:ff:ff > inet 10.0.2.12/24 brd 10.0.2.255 scope global eth2.102 > 12: eth2.103: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:45:5a brd ff:ff:ff:ff:ff:ff > inet 10.0.3.12/24 brd 10.0.3.255 scope global eth2.103 > 13: eth2.104: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:45:5a brd ff:ff:ff:ff:ff:ff > inet 10.0.4.3/24 brd 10.0.4.255 scope global eth2.104 > 14: eth2.105: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:45:5a brd ff:ff:ff:ff:ff:ff > inet 10.0.5.12/24 brd 10.0.5.255 scope global eth2.105 > 15: eth2.106: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:45:5a brd ff:ff:ff:ff:ff:ff > inet 10.0.6.3/24 brd 10.0.6.255 scope global eth2.106 > 16: eth2.107: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:45:5a brd ff:ff:ff:ff:ff:ff > inet 10.0.7.3/24 brd 10.0.7.255 scope global eth2.107 > 17: eth2.108: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:45:5a brd ff:ff:ff:ff:ff:ff > inet 10.0.8.3/24 brd 10.0.8.255 scope global eth2.108 > 18: eth2.110: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:45:5a brd ff:ff:ff:ff:ff:ff > inet 10.0.10.3/24 brd 10.0.10.255 scope global eth2.110 > 19: eth2.112: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:45:5a brd ff:ff:ff:ff:ff:ff > inet 10.0.12.3/24 brd 10.0.12.255 scope global eth2.112 > 20: eth2.113: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:45:5a brd ff:ff:ff:ff:ff:ff > inet 10.0.13.3/24 brd 10.0.13.255 scope global eth2.113 > 21: eth2.1251: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:45:5a brd ff:ff:ff:ff:ff:ff > inet 10.0.251.5/24 brd 10.0.251.255 scope global eth2.1251 > 23: eth2.1253: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:45:5a brd ff:ff:ff:ff:ff:ff > inet 10.0.253.3/24 brd 10.0.253.255 scope global eth2.1253 > 24: eth2.1500: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:45:5a brd ff:ff:ff:ff:ff:ff > inet 10.5.0.13/24 brd 10.5.0.255 scope global eth2.1500 > 25: hdlc0: <POINTOPOINT,NOARP,UP> mtu 1500 qdisc pfifo_fast qlen 100 > link/hdlc > inet 192.168.100.101 peer 192.168.100.102/32 scope global hdlc0 > 26: eth2.1252: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue > link/ether 00:07:e9:18:45:5a brd ff:ff:ff:ff:ff:ff > inet 192.168.252.4/24 brd 192.168.252.255 scope global eth2.1252 > > > |