[ https://issues.apache.org/jira/browse/CLOUDSTACK-9015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14986417#comment-14986417 ]
satoru nakaya edited comment on CLOUDSTACK-9015 at 11/3/15 2:57 AM: -------------------------------------------------------------------- Dear Wilder Rodrigues, In my environment , it is different. 1) Create new VPC (Redundant VPC offering) 2) Create new tier 3) Create new VM Instance on this tier 4) Check Redundant state (good) r-40-VM Redundant state:MASTER r-41-VM Redundant state:BACKUP ============================================ root@r-40-VM:~# cat /var/log/messages | grep Keep Nov 3 00:20:51 r-40-VM Keepalived_vrrp[3683]: Registering Kernel netlink reflector Nov 3 00:20:51 r-40-VM Keepalived_vrrp[3683]: Registering Kernel netlink command channel Nov 3 00:20:51 r-40-VM Keepalived_vrrp[3683]: Registering gratuitous ARP shared channel Nov 3 00:20:51 r-40-VM Keepalived_vrrp[3683]: Opening file '/etc/keepalived/keepalived.conf'. Nov 3 00:20:51 r-40-VM Keepalived_vrrp[3683]: Truncating auth_pass to 8 characters Nov 3 00:20:51 r-40-VM Keepalived_vrrp[3683]: Configuration is using : 64675 Bytes Nov 3 00:20:51 r-40-VM Keepalived_vrrp[3683]: Using LinkWatch kernel netlink reflector... Nov 3 00:20:51 r-40-VM Keepalived_vrrp[3683]: VRRP_Instance(inside_network) Entering BACKUP STATE Nov 3 00:20:51 r-40-VM Keepalived_vrrp[3683]: VRRP_Script(heartbeat) succeeded Nov 3 00:20:51 r-40-VM Keepalived_healthcheckers[3682]: Registering Kernel netlink reflector Nov 3 00:20:51 r-40-VM Keepalived_healthcheckers[3682]: Registering Kernel netlink command channel Nov 3 00:20:51 r-40-VM Keepalived_healthcheckers[3682]: Opening file '/etc/keepalived/keepalived.conf'. Nov 3 00:20:51 r-40-VM Keepalived_healthcheckers[3682]: Configuration is using : 6893 Bytes Nov 3 00:20:51 r-40-VM Keepalived_healthcheckers[3682]: Using LinkWatch kernel netlink reflector... Nov 3 00:20:55 r-40-VM Keepalived_vrrp[3683]: VRRP_Instance(inside_network) Transition to MASTER STATE Nov 3 00:20:56 r-40-VM Keepalived_vrrp[3683]: VRRP_Instance(inside_network) Entering MASTER STATE root@r-40-VM:~# root@r-40-VM:~# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 0e:00:a9:fe:00:df brd ff:ff:ff:ff:ff:ff inet 169.254.0.223/16 brd 169.254.255.255 scope global eth0 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 06:31:06:00:00:1a brd ff:ff:ff:ff:ff:ff inet 10.0.1.105/24 brd 10.0.1.255 scope global eth1 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 02:00:0b:9b:00:04 brd ff:ff:ff:ff:ff:ff inet 172.17.0.123/24 brd 172.17.0.255 scope global eth2 inet 172.17.0.1/24 brd 172.17.0.255 scope global secondary eth2 root@r-40-VM:~# root@r-40-VM:~# tcpdump -i eth2 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 65535 bytes 00:24:18.075586 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:24:18.188066 IP 172.17.0.123 > vrrp.mcast.net: AH(spi=0xac11007b,seq=0xc9): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:24:18.234988 IP 172.17.0.123.36868 > 225.0.0.50.3780: UDP, length 16 00:24:19.077054 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:24:19.189476 IP 172.17.0.123 > vrrp.mcast.net: AH(spi=0xac11007b,seq=0xca): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:24:19.235403 IP 172.17.0.123.36868 > 225.0.0.50.3780: UDP, length 16 00:24:20.078192 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:24:20.191015 IP 172.17.0.123 > vrrp.mcast.net: AH(spi=0xac11007b,seq=0xcb): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:24:20.235856 IP 172.17.0.123.36868 > 225.0.0.50.3780: UDP, length 16 00:24:21.079201 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:24:21.193830 IP 172.17.0.123 > vrrp.mcast.net: AH(spi=0xac11007b,seq=0xcc): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:24:21.235997 IP 172.17.0.123.36868 > 225.0.0.50.3780: UDP, length 16 ^C 12 packets captured 12 packets received by filter 0 packets dropped by kernel root@r-40-VM:~# root@r-41-VM:~# cat /var/log/messages | grep Keep Nov 3 00:21:41 r-41-VM Keepalived_vrrp[3685]: Registering Kernel netlink reflector Nov 3 00:21:41 r-41-VM Keepalived_vrrp[3685]: Registering Kernel netlink command channel Nov 3 00:21:41 r-41-VM Keepalived_vrrp[3685]: Registering gratuitous ARP shared channel Nov 3 00:21:41 r-41-VM Keepalived_vrrp[3685]: Opening file '/etc/keepalived/keepalived.conf'. Nov 3 00:21:41 r-41-VM Keepalived_vrrp[3685]: Truncating auth_pass to 8 characters Nov 3 00:21:41 r-41-VM Keepalived_vrrp[3685]: Configuration is using : 64675 Bytes Nov 3 00:21:41 r-41-VM Keepalived_vrrp[3685]: Using LinkWatch kernel netlink reflector... Nov 3 00:21:41 r-41-VM Keepalived_vrrp[3685]: VRRP_Instance(inside_network) Entering BACKUP STATE Nov 3 00:21:41 r-41-VM Keepalived_vrrp[3685]: VRRP_Script(heartbeat) succeeded Nov 3 00:21:41 r-41-VM Keepalived_healthcheckers[3684]: Registering Kernel netlink reflector Nov 3 00:21:41 r-41-VM Keepalived_healthcheckers[3684]: Registering Kernel netlink command channel Nov 3 00:21:41 r-41-VM Keepalived_healthcheckers[3684]: Opening file '/etc/keepalived/keepalived.conf'. Nov 3 00:21:41 r-41-VM Keepalived_healthcheckers[3684]: Configuration is using : 6893 Bytes Nov 3 00:21:41 r-41-VM Keepalived_healthcheckers[3684]: Using LinkWatch kernel netlink reflector... root@r-41-VM:~# root@r-41-VM:~# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 0e:00:a9:fe:00:b0 brd ff:ff:ff:ff:ff:ff inet 169.254.0.176/16 brd 169.254.255.255 scope global eth0 3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 06:31:06:00:00:1a brd ff:ff:ff:ff:ff:ff inet 10.0.1.105/24 brd 10.0.1.255 scope global eth1 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 02:00:2b:a1:00:05 brd ff:ff:ff:ff:ff:ff inet 172.17.0.111/24 brd 172.17.0.255 scope global eth2 root@r-41-VM:~# root@r-41-VM:~# tcpdump -i eth2 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 65535 bytes 00:24:46.977704 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:24:47.102149 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0xe7): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:24:47.117115 IP 172.17.0.123.36868 > 225.0.0.50.3780: UDP, length 16 00:24:47.978666 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:24:48.103331 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0xe8): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:24:48.117614 IP 172.17.0.123.36868 > 225.0.0.50.3780: UDP, length 16 00:24:48.979791 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:24:49.104537 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0xe9): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:24:49.118065 IP 172.17.0.123.36868 > 225.0.0.50.3780: UDP, length 16 00:24:49.980864 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:24:50.106158 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0xea): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:24:50.118405 IP 172.17.0.123.36868 > 225.0.0.50.3780: UDP, length 16 00:24:50.981589 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:24:51.106955 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0xeb): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:24:51.118379 IP 172.17.0.123.36868 > 225.0.0.50.3780: UDP, length 16 ^C 15 packets captured 15 packets received by filter 0 packets dropped by kernel root@r-41-VM:~# ============================================ 5) Stop Router r-40-VM ( by Web UI ) 6) Start Router r-40-VM ( by Web UI ) 7) Check Redundant state (good) r-40-VM Redundant state:BACKUP r-41-VM Redundant state:MASTER ============================================ root@r-40-VM:~# cat /var/log/messages | grep Keepa (snip) Nov 3 00:30:49 r-40-VM Keepalived_vrrp[3683]: VRRP_Instance(inside_network) sending 0 priority Nov 3 00:32:57 r-40-VM Keepalived_vrrp[2184]: Netlink: filter function error Nov 3 00:32:57 r-40-VM Keepalived_healthcheckers[2183]: Netlink: filter function error Nov 3 00:33:16 r-40-VM Keepalived_healthcheckers[2183]: Netlink: filter function error Nov 3 00:33:16 r-40-VM Keepalived_vrrp[2184]: Netlink: filter function error Nov 3 00:33:17 r-40-VM Keepalived_healthcheckers[2183]: Netlink: filter function error Nov 3 00:33:17 r-40-VM Keepalived_vrrp[2184]: Netlink: filter function error root@r-40-VM:~# root@r-40-VM:~# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 0e:00:a9:fe:02:73 brd ff:ff:ff:ff:ff:ff inet 169.254.2.115/16 brd 169.254.255.255 scope global eth0 3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 06:31:06:00:00:1a brd ff:ff:ff:ff:ff:ff inet 10.0.1.105/24 brd 10.0.1.255 scope global eth1 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 02:00:0b:9b:00:04 brd ff:ff:ff:ff:ff:ff inet 172.17.0.123/24 brd 172.17.0.255 scope global eth2 root@r-40-VM:~# root@r-40-VM:~# tcpdump -i eth2 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 65535 bytes 00:35:18.819193 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:35:18.820257 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:35:19.068108 IP 172.17.0.111 > 224.0.0.18: AH(spi=0xac11006f,seq=0x35f): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:35:19.819969 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:35:19.820597 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:35:20.069887 IP 172.17.0.111 > 224.0.0.18: AH(spi=0xac11006f,seq=0x360): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:35:20.820766 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:35:20.821715 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:35:21.070555 IP 172.17.0.111 > 224.0.0.18: AH(spi=0xac11006f,seq=0x361): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:35:21.822544 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:35:21.822939 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:35:22.071562 IP 172.17.0.111 > 224.0.0.18: AH(spi=0xac11006f,seq=0x362): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 ^C 12 packets captured 12 packets received by filter 0 packets dropped by kernel root@r-40-VM:~# root@r-41-VM:~# cat /var/log/messages | grep Keepa (snip) Nov 3 00:30:49 r-41-VM Keepalived_vrrp[3685]: VRRP_Instance(inside_network) Transition to MASTER STATE Nov 3 00:30:50 r-41-VM Keepalived_vrrp[3685]: VRRP_Instance(inside_network) Entering MASTER STATE root@r-41-VM:~# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 0e:00:a9:fe:00:b0 brd ff:ff:ff:ff:ff:ff inet 169.254.0.176/16 brd 169.254.255.255 scope global eth0 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 06:31:06:00:00:1a brd ff:ff:ff:ff:ff:ff inet 10.0.1.105/24 brd 10.0.1.255 scope global eth1 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 02:00:2b:a1:00:05 brd ff:ff:ff:ff:ff:ff inet 172.17.0.111/24 brd 172.17.0.255 scope global eth2 inet 172.17.0.1/24 brd 172.17.0.255 scope global secondary eth2 root@r-41-VM:~# root@r-41-VM:~# tcpdump -i eth2 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 65535 bytes 00:35:37.939269 IP 172.17.0.111 > vrrp.mcast.net: AH(spi=0xac11006f,seq=0x370): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:35:38.659729 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:35:38.662123 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:35:38.940684 IP 172.17.0.111 > vrrp.mcast.net: AH(spi=0xac11006f,seq=0x371): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:35:39.661186 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:35:39.663946 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:35:39.942364 IP 172.17.0.111 > vrrp.mcast.net: AH(spi=0xac11006f,seq=0x372): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:35:40.662328 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:35:40.664698 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 ^C 9 packets captured 9 packets received by filter 0 packets dropped by kernel root@r-41-VM:~# ============================================ 8) Stop Router r-41-VM 9) Start Router r-41-VM 10)Check Redundant state (bad) r-40-VM Redundant state:BACKUP r-41-VM Redundant state:BACKUP ============================================ root@r-40-VM:~# cat /var/log/messages | grep Keepa (not change) root@r-40-VM:~# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 0e:00:a9:fe:02:73 brd ff:ff:ff:ff:ff:ff inet 169.254.2.115/16 brd 169.254.255.255 scope global eth0 3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 06:31:06:00:00:1a brd ff:ff:ff:ff:ff:ff inet 10.0.1.105/24 brd 10.0.1.255 scope global eth1 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 02:00:0b:9b:00:04 brd ff:ff:ff:ff:ff:ff inet 172.17.0.123/24 brd 172.17.0.255 scope global eth2 root@r-40-VM:~# root@r-40-VM:~# tcpdump -i eth2 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 65535 bytes 00:40:06.257759 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:40:06.711344 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:40:07.258969 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:40:07.712104 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:40:08.260239 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:40:08.713673 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:40:09.261836 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 ^C 7 packets captured 7 packets received by filter 0 packets dropped by kernel root@r-40-VM:~# root@r-41-VM:~# cat /var/log/messages | grep Keepa (snip) Nov 3 00:36:29 r-41-VM Keepalived_vrrp[3685]: VRRP_Instance(inside_network) sending 0 priority Nov 3 00:37:41 r-41-VM Keepalived_vrrp[2181]: Netlink: filter function error Nov 3 00:37:41 r-41-VM Keepalived_healthcheckers[2180]: Netlink: filter function error Nov 3 00:38:00 r-41-VM Keepalived_healthcheckers[2180]: Netlink: filter function error Nov 3 00:38:00 r-41-VM Keepalived_vrrp[2181]: Netlink: filter function error Nov 3 00:38:01 r-41-VM Keepalived_healthcheckers[2180]: Netlink: filter function error Nov 3 00:38:01 r-41-VM Keepalived_vrrp[2181]: Netlink: filter function error root@r-41-VM:~# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 0e:00:a9:fe:02:fe brd ff:ff:ff:ff:ff:ff inet 169.254.2.254/16 brd 169.254.255.255 scope global eth0 3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 06:31:06:00:00:1a brd ff:ff:ff:ff:ff:ff inet 10.0.1.105/24 brd 10.0.1.255 scope global eth1 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 02:00:2b:a1:00:05 brd ff:ff:ff:ff:ff:ff inet 172.17.0.111/24 brd 172.17.0.255 scope global eth2 root@r-41-VM:~# root@r-41-VM:~# tcpdump -i eth2 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 65535 bytes 00:41:37.100888 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:41:37.657719 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:41:38.101985 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:41:38.658551 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:41:39.103167 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:41:39.660256 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 ^C 6 packets captured 6 packets received by filter 0 packets dropped by kernel root@r-41-VM:~# ============================================ and,continue... 11)Restart keepalived r-40-VM 12) Check Redundant state (good) r-40-VM Redundant state:MASTER r-41-VM Redundant state:BACKUP ============================================ root@r-40-VM:~# service keepalived restart [ ok ] Restarting keepalived keepalived.... root@r-40-VM:~# root@r-40-VM:~# cat /var/log/messages | grep Keepa (snip) Nov 3 00:42:50 r-40-VM Keepalived_vrrp[5190]: Registering Kernel netlink reflector Nov 3 00:42:50 r-40-VM Keepalived_healthcheckers[5189]: Registering Kernel netlink reflector Nov 3 00:42:50 r-40-VM Keepalived_vrrp[5190]: Registering Kernel netlink command channel Nov 3 00:42:50 r-40-VM Keepalived_vrrp[5190]: Registering gratuitous ARP shared channel Nov 3 00:42:50 r-40-VM Keepalived_vrrp[5190]: Opening file '/etc/keepalived/keepalived.conf'. Nov 3 00:42:50 r-40-VM Keepalived_healthcheckers[5189]: Registering Kernel netlink command channel Nov 3 00:42:50 r-40-VM Keepalived_healthcheckers[5189]: Opening file '/etc/keepalived/keepalived.conf'. Nov 3 00:42:50 r-40-VM Keepalived_vrrp[5190]: Truncating auth_pass to 8 characters Nov 3 00:42:50 r-40-VM Keepalived_vrrp[5190]: Configuration is using : 64675 Bytes Nov 3 00:42:50 r-40-VM Keepalived_vrrp[5190]: Using LinkWatch kernel netlink reflector... Nov 3 00:42:50 r-40-VM Keepalived_vrrp[5190]: VRRP_Instance(inside_network) Entering BACKUP STATE Nov 3 00:42:50 r-40-VM Keepalived_healthcheckers[5189]: Configuration is using : 6893 Bytes Nov 3 00:42:50 r-40-VM Keepalived_healthcheckers[5189]: Using LinkWatch kernel netlink reflector... Nov 3 00:42:50 r-40-VM Keepalived_vrrp[5190]: VRRP_Script(heartbeat) succeeded Nov 3 00:42:54 r-40-VM Keepalived_vrrp[5190]: VRRP_Instance(inside_network) Transition to MASTER STATE Nov 3 00:42:55 r-40-VM Keepalived_vrrp[5190]: VRRP_Instance(inside_network) Entering MASTER STATE root@r-40-VM:~# root@r-40-VM:~# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 0e:00:a9:fe:02:73 brd ff:ff:ff:ff:ff:ff inet 169.254.2.115/16 brd 169.254.255.255 scope global eth0 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 06:31:06:00:00:1a brd ff:ff:ff:ff:ff:ff inet 10.0.1.105/24 brd 10.0.1.255 scope global eth1 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 02:00:0b:9b:00:04 brd ff:ff:ff:ff:ff:ff inet 172.17.0.123/24 brd 172.17.0.255 scope global eth2 inet 172.17.0.1/24 brd 172.17.0.255 scope global secondary eth2 root@r-40-VM:~# root@r-40-VM:~# tcpdump -i eth2 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 65535 bytes 00:43:50.558174 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:43:51.005691 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:43:51.141294 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0x3a): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:43:51.559591 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:43:52.006413 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:43:52.143550 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0x3b): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:43:52.560811 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:43:53.008176 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:43:53.144847 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0x3c): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 root@r-41-VM:~# cat /var/log/messages | grep Keepa (not change) root@r-41-VM:~# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 0e:00:a9:fe:02:fe brd ff:ff:ff:ff:ff:ff inet 169.254.2.254/16 brd 169.254.255.255 scope global eth0 3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 06:31:06:00:00:1a brd ff:ff:ff:ff:ff:ff inet 10.0.1.105/24 brd 10.0.1.255 scope global eth1 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 02:00:2b:a1:00:05 brd ff:ff:ff:ff:ff:ff inet 172.17.0.111/24 brd 172.17.0.255 scope global eth2 root@r-41-VM:~# root@r-41-VM:~# tcpdump -i eth2 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 65535 bytes 00:45:57.438526 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:45:57.617352 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0xb8): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:45:58.007405 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:45:58.439804 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:45:58.619164 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0xb9): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:45:59.008178 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:45:59.441081 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:45:59.620151 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0xba): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:46:00.010211 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:46:00.442404 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:46:00.622415 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0xbb): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:46:01.011514 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 ^C 12 packets captured 12 packets received by filter 0 packets dropped by kernel root@r-41-VM:~# ============================================ 13)Restart keepalived r-40-VM 14) Check Redundant state (bad) r-40-VM Redundant state:MASTER r-41-VM Redundant state:MASTER ============================================ root@r-41-VM:~# service keepalived restart [ ok ] Restarting keepalived keepalived.... root@r-41-VM:~# root@r-40-VM:~# cat /var/log/messages | grep Keepa (not change) root@r-40-VM:~# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 0e:00:a9:fe:02:73 brd ff:ff:ff:ff:ff:ff inet 169.254.2.115/16 brd 169.254.255.255 scope global eth0 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 06:31:06:00:00:1a brd ff:ff:ff:ff:ff:ff inet 10.0.1.105/24 brd 10.0.1.255 scope global eth1 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 02:00:0b:9b:00:04 brd ff:ff:ff:ff:ff:ff inet 172.17.0.123/24 brd 172.17.0.255 scope global eth2 inet 172.17.0.1/24 brd 172.17.0.255 scope global secondary eth2 root@r-40-VM:~# root@r-40-VM:~# tcpdump -i eth2 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 65535 bytes 00:47:36.272403 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:47:36.478168 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0x11b): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:47:36.846987 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:47:37.029560 IP 172.17.0.111 > 224.0.0.18: AH(spi=0xac11006f,seq=0x40): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:47:37.273313 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:47:37.479767 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0x11c): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:47:37.848209 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:47:38.030577 IP 172.17.0.111 > 224.0.0.18: AH(spi=0xac11006f,seq=0x41): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 root@r-41-VM:~# cat /var/log/messages | grep Keepa (snip) Nov 3 00:46:30 r-41-VM Keepalived_vrrp[5124]: Registering Kernel netlink reflector Nov 3 00:46:30 r-41-VM Keepalived_healthcheckers[5123]: Registering Kernel netlink reflector Nov 3 00:46:30 r-41-VM Keepalived_vrrp[5124]: Registering Kernel netlink command channel Nov 3 00:46:30 r-41-VM Keepalived_vrrp[5124]: Registering gratuitous ARP shared channel Nov 3 00:46:30 r-41-VM Keepalived_vrrp[5124]: Opening file '/etc/keepalived/keepalived.conf'. Nov 3 00:46:30 r-41-VM Keepalived_healthcheckers[5123]: Registering Kernel netlink command channel Nov 3 00:46:30 r-41-VM Keepalived_healthcheckers[5123]: Opening file '/etc/keepalived/keepalived.conf'. Nov 3 00:46:30 r-41-VM Keepalived_healthcheckers[5123]: Configuration is using : 6893 Bytes Nov 3 00:46:30 r-41-VM Keepalived_healthcheckers[5123]: Using LinkWatch kernel netlink reflector... Nov 3 00:46:30 r-41-VM Keepalived_vrrp[5124]: Truncating auth_pass to 8 characters Nov 3 00:46:30 r-41-VM Keepalived_vrrp[5124]: Configuration is using : 64675 Bytes Nov 3 00:46:30 r-41-VM Keepalived_vrrp[5124]: Using LinkWatch kernel netlink reflector... Nov 3 00:46:30 r-41-VM Keepalived_vrrp[5124]: VRRP_Instance(inside_network) Entering BACKUP STATE Nov 3 00:46:30 r-41-VM Keepalived_vrrp[5124]: VRRP_Script(heartbeat) succeeded Nov 3 00:46:34 r-41-VM Keepalived_vrrp[5124]: VRRP_Instance(inside_network) Transition to MASTER STATE Nov 3 00:46:35 r-41-VM Keepalived_vrrp[5124]: VRRP_Instance(inside_network) Entering MASTER STATE root@r-41-VM:~# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 0e:00:a9:fe:02:fe brd ff:ff:ff:ff:ff:ff inet 169.254.2.254/16 brd 169.254.255.255 scope global eth0 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 06:31:06:00:00:1a brd ff:ff:ff:ff:ff:ff inet 10.0.1.105/24 brd 10.0.1.255 scope global eth1 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 02:00:2b:a1:00:05 brd ff:ff:ff:ff:ff:ff inet 172.17.0.111/24 brd 172.17.0.255 scope global eth2 inet 172.17.0.1/24 brd 172.17.0.255 scope global secondary eth2 root@r-41-VM:~# root@r-41-VM:~# tcpdump -i eth2 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 65535 bytes 00:49:24.550939 IP 172.17.0.111 > 224.0.0.18: AH(spi=0xac11006f,seq=0xab): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:49:24.699919 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:49:24.943912 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0x187): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:49:25.278653 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:49:25.551671 IP 172.17.0.111 > 224.0.0.18: AH(spi=0xac11006f,seq=0xac): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:49:25.701052 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:49:25.944818 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0x188): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:49:26.279263 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:49:26.553102 IP 172.17.0.111 > 224.0.0.18: AH(spi=0xac11006f,seq=0xad): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 ============================================ In the above, both r-40-VM and r-41-VM is , continues to send the VRRPv2 Advertisement. 00:49:24.550939 IP 172.17.0.111 > 224.0.0.18: AH(spi=0xac11006f,seq=0xab): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:49:24.943912 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0x187): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 Other information. In my environment, Isolated network's redundant router is no problem. was (Author: giraffeforestg): Dear Wilder Rodrigues, In my environment , it is different. 1) Create new VPC (Redundant VPC offering) 2) Create new tier 3) Create new VM Instance on this tier 4) Check Redundant state (good) r-40-VM Redundant state:MASTER r-41-VM Redundant state:BACKUP ============================================ root@r-40-VM:~# cat /var/log/messages | grep Keep Nov 3 00:20:51 r-40-VM Keepalived_vrrp[3683]: Registering Kernel netlink reflector Nov 3 00:20:51 r-40-VM Keepalived_vrrp[3683]: Registering Kernel netlink command channel Nov 3 00:20:51 r-40-VM Keepalived_vrrp[3683]: Registering gratuitous ARP shared channel Nov 3 00:20:51 r-40-VM Keepalived_vrrp[3683]: Opening file '/etc/keepalived/keepalived.conf'. Nov 3 00:20:51 r-40-VM Keepalived_vrrp[3683]: Truncating auth_pass to 8 characters Nov 3 00:20:51 r-40-VM Keepalived_vrrp[3683]: Configuration is using : 64675 Bytes Nov 3 00:20:51 r-40-VM Keepalived_vrrp[3683]: Using LinkWatch kernel netlink reflector... Nov 3 00:20:51 r-40-VM Keepalived_vrrp[3683]: VRRP_Instance(inside_network) Entering BACKUP STATE Nov 3 00:20:51 r-40-VM Keepalived_vrrp[3683]: VRRP_Script(heartbeat) succeeded Nov 3 00:20:51 r-40-VM Keepalived_healthcheckers[3682]: Registering Kernel netlink reflector Nov 3 00:20:51 r-40-VM Keepalived_healthcheckers[3682]: Registering Kernel netlink command channel Nov 3 00:20:51 r-40-VM Keepalived_healthcheckers[3682]: Opening file '/etc/keepalived/keepalived.conf'. Nov 3 00:20:51 r-40-VM Keepalived_healthcheckers[3682]: Configuration is using : 6893 Bytes Nov 3 00:20:51 r-40-VM Keepalived_healthcheckers[3682]: Using LinkWatch kernel netlink reflector... Nov 3 00:20:55 r-40-VM Keepalived_vrrp[3683]: VRRP_Instance(inside_network) Transition to MASTER STATE Nov 3 00:20:56 r-40-VM Keepalived_vrrp[3683]: VRRP_Instance(inside_network) Entering MASTER STATE root@r-40-VM:~# root@r-40-VM:~# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 0e:00:a9:fe:00:df brd ff:ff:ff:ff:ff:ff inet 169.254.0.223/16 brd 169.254.255.255 scope global eth0 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 06:31:06:00:00:1a brd ff:ff:ff:ff:ff:ff inet 10.0.1.105/24 brd 10.0.1.255 scope global eth1 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 02:00:0b:9b:00:04 brd ff:ff:ff:ff:ff:ff inet 172.17.0.123/24 brd 172.17.0.255 scope global eth2 inet 172.17.0.1/24 brd 172.17.0.255 scope global secondary eth2 root@r-40-VM:~# root@r-40-VM:~# tcpdump -i eth2 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 65535 bytes 00:24:18.075586 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:24:18.188066 IP 172.17.0.123 > vrrp.mcast.net: AH(spi=0xac11007b,seq=0xc9): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:24:18.234988 IP 172.17.0.123.36868 > 225.0.0.50.3780: UDP, length 16 00:24:19.077054 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:24:19.189476 IP 172.17.0.123 > vrrp.mcast.net: AH(spi=0xac11007b,seq=0xca): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:24:19.235403 IP 172.17.0.123.36868 > 225.0.0.50.3780: UDP, length 16 00:24:20.078192 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:24:20.191015 IP 172.17.0.123 > vrrp.mcast.net: AH(spi=0xac11007b,seq=0xcb): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:24:20.235856 IP 172.17.0.123.36868 > 225.0.0.50.3780: UDP, length 16 00:24:21.079201 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:24:21.193830 IP 172.17.0.123 > vrrp.mcast.net: AH(spi=0xac11007b,seq=0xcc): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:24:21.235997 IP 172.17.0.123.36868 > 225.0.0.50.3780: UDP, length 16 ^C 12 packets captured 12 packets received by filter 0 packets dropped by kernel root@r-40-VM:~# root@r-41-VM:~# cat /var/log/messages | grep Keep Nov 3 00:21:41 r-41-VM Keepalived_vrrp[3685]: Registering Kernel netlink reflector Nov 3 00:21:41 r-41-VM Keepalived_vrrp[3685]: Registering Kernel netlink command channel Nov 3 00:21:41 r-41-VM Keepalived_vrrp[3685]: Registering gratuitous ARP shared channel Nov 3 00:21:41 r-41-VM Keepalived_vrrp[3685]: Opening file '/etc/keepalived/keepalived.conf'. Nov 3 00:21:41 r-41-VM Keepalived_vrrp[3685]: Truncating auth_pass to 8 characters Nov 3 00:21:41 r-41-VM Keepalived_vrrp[3685]: Configuration is using : 64675 Bytes Nov 3 00:21:41 r-41-VM Keepalived_vrrp[3685]: Using LinkWatch kernel netlink reflector... Nov 3 00:21:41 r-41-VM Keepalived_vrrp[3685]: VRRP_Instance(inside_network) Entering BACKUP STATE Nov 3 00:21:41 r-41-VM Keepalived_vrrp[3685]: VRRP_Script(heartbeat) succeeded Nov 3 00:21:41 r-41-VM Keepalived_healthcheckers[3684]: Registering Kernel netlink reflector Nov 3 00:21:41 r-41-VM Keepalived_healthcheckers[3684]: Registering Kernel netlink command channel Nov 3 00:21:41 r-41-VM Keepalived_healthcheckers[3684]: Opening file '/etc/keepalived/keepalived.conf'. Nov 3 00:21:41 r-41-VM Keepalived_healthcheckers[3684]: Configuration is using : 6893 Bytes Nov 3 00:21:41 r-41-VM Keepalived_healthcheckers[3684]: Using LinkWatch kernel netlink reflector... root@r-41-VM:~# root@r-41-VM:~# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 0e:00:a9:fe:00:b0 brd ff:ff:ff:ff:ff:ff inet 169.254.0.176/16 brd 169.254.255.255 scope global eth0 3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 06:31:06:00:00:1a brd ff:ff:ff:ff:ff:ff inet 10.0.1.105/24 brd 10.0.1.255 scope global eth1 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 02:00:2b:a1:00:05 brd ff:ff:ff:ff:ff:ff inet 172.17.0.111/24 brd 172.17.0.255 scope global eth2 root@r-41-VM:~# root@r-41-VM:~# tcpdump -i eth2 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 65535 bytes 00:24:46.977704 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:24:47.102149 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0xe7): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:24:47.117115 IP 172.17.0.123.36868 > 225.0.0.50.3780: UDP, length 16 00:24:47.978666 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:24:48.103331 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0xe8): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:24:48.117614 IP 172.17.0.123.36868 > 225.0.0.50.3780: UDP, length 16 00:24:48.979791 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:24:49.104537 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0xe9): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:24:49.118065 IP 172.17.0.123.36868 > 225.0.0.50.3780: UDP, length 16 00:24:49.980864 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:24:50.106158 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0xea): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:24:50.118405 IP 172.17.0.123.36868 > 225.0.0.50.3780: UDP, length 16 00:24:50.981589 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:24:51.106955 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0xeb): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:24:51.118379 IP 172.17.0.123.36868 > 225.0.0.50.3780: UDP, length 16 ^C 15 packets captured 15 packets received by filter 0 packets dropped by kernel root@r-41-VM:~# ============================================ 5) Stop Router r-40-VM ( by Web UI ) 6) Start Router r-40-VM ( by Web UI ) ============================================ root@r-40-VM:~# cat /var/log/messages | grep Keepa (snip) Nov 3 00:30:49 r-40-VM Keepalived_vrrp[3683]: VRRP_Instance(inside_network) sending 0 priority Nov 3 00:32:57 r-40-VM Keepalived_vrrp[2184]: Netlink: filter function error Nov 3 00:32:57 r-40-VM Keepalived_healthcheckers[2183]: Netlink: filter function error Nov 3 00:33:16 r-40-VM Keepalived_healthcheckers[2183]: Netlink: filter function error Nov 3 00:33:16 r-40-VM Keepalived_vrrp[2184]: Netlink: filter function error Nov 3 00:33:17 r-40-VM Keepalived_healthcheckers[2183]: Netlink: filter function error Nov 3 00:33:17 r-40-VM Keepalived_vrrp[2184]: Netlink: filter function error root@r-40-VM:~# root@r-40-VM:~# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 0e:00:a9:fe:02:73 brd ff:ff:ff:ff:ff:ff inet 169.254.2.115/16 brd 169.254.255.255 scope global eth0 3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 06:31:06:00:00:1a brd ff:ff:ff:ff:ff:ff inet 10.0.1.105/24 brd 10.0.1.255 scope global eth1 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 02:00:0b:9b:00:04 brd ff:ff:ff:ff:ff:ff inet 172.17.0.123/24 brd 172.17.0.255 scope global eth2 root@r-40-VM:~# root@r-40-VM:~# tcpdump -i eth2 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 65535 bytes 00:35:18.819193 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:35:18.820257 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:35:19.068108 IP 172.17.0.111 > 224.0.0.18: AH(spi=0xac11006f,seq=0x35f): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:35:19.819969 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:35:19.820597 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:35:20.069887 IP 172.17.0.111 > 224.0.0.18: AH(spi=0xac11006f,seq=0x360): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:35:20.820766 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:35:20.821715 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:35:21.070555 IP 172.17.0.111 > 224.0.0.18: AH(spi=0xac11006f,seq=0x361): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:35:21.822544 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:35:21.822939 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:35:22.071562 IP 172.17.0.111 > 224.0.0.18: AH(spi=0xac11006f,seq=0x362): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 ^C 12 packets captured 12 packets received by filter 0 packets dropped by kernel root@r-40-VM:~# root@r-41-VM:~# cat /var/log/messages | grep Keepa (snip) Nov 3 00:30:49 r-41-VM Keepalived_vrrp[3685]: VRRP_Instance(inside_network) Transition to MASTER STATE Nov 3 00:30:50 r-41-VM Keepalived_vrrp[3685]: VRRP_Instance(inside_network) Entering MASTER STATE ============================================ 7) Check Redundant state (good) r-32-VM Redundant state:BACKUP r-33-VM Redundant state:MASTER ============================================ root@r-41-VM:~# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 0e:00:a9:fe:00:b0 brd ff:ff:ff:ff:ff:ff inet 169.254.0.176/16 brd 169.254.255.255 scope global eth0 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 06:31:06:00:00:1a brd ff:ff:ff:ff:ff:ff inet 10.0.1.105/24 brd 10.0.1.255 scope global eth1 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 02:00:2b:a1:00:05 brd ff:ff:ff:ff:ff:ff inet 172.17.0.111/24 brd 172.17.0.255 scope global eth2 inet 172.17.0.1/24 brd 172.17.0.255 scope global secondary eth2 root@r-41-VM:~# root@r-41-VM:~# tcpdump -i eth2 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 65535 bytes 00:35:37.939269 IP 172.17.0.111 > vrrp.mcast.net: AH(spi=0xac11006f,seq=0x370): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:35:38.659729 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:35:38.662123 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:35:38.940684 IP 172.17.0.111 > vrrp.mcast.net: AH(spi=0xac11006f,seq=0x371): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:35:39.661186 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:35:39.663946 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:35:39.942364 IP 172.17.0.111 > vrrp.mcast.net: AH(spi=0xac11006f,seq=0x372): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:35:40.662328 IP 172.17.0.111.52868 > 225.0.0.50.3780: UDP, length 16 00:35:40.664698 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 ^C 9 packets captured 9 packets received by filter 0 packets dropped by kernel root@r-41-VM:~# ============================================ 8) Stop Router r-41-VM 9) Start Router r-41-VM 10)Check Redundant state (bad) r-32-VM Redundant state:BACKUP r-33-VM Redundant state:BACKUP ============================================ root@r-40-VM:~# cat /var/log/messages | grep Keepa (not change) root@r-40-VM:~# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 0e:00:a9:fe:02:73 brd ff:ff:ff:ff:ff:ff inet 169.254.2.115/16 brd 169.254.255.255 scope global eth0 3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 06:31:06:00:00:1a brd ff:ff:ff:ff:ff:ff inet 10.0.1.105/24 brd 10.0.1.255 scope global eth1 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 02:00:0b:9b:00:04 brd ff:ff:ff:ff:ff:ff inet 172.17.0.123/24 brd 172.17.0.255 scope global eth2 root@r-40-VM:~# root@r-40-VM:~# tcpdump -i eth2 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 65535 bytes 00:40:06.257759 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:40:06.711344 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:40:07.258969 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:40:07.712104 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:40:08.260239 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:40:08.713673 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:40:09.261836 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 ^C 7 packets captured 7 packets received by filter 0 packets dropped by kernel root@r-40-VM:~# root@r-41-VM:~# cat /var/log/messages | grep Keepa (snip) Nov 3 00:36:29 r-41-VM Keepalived_vrrp[3685]: VRRP_Instance(inside_network) sending 0 priority Nov 3 00:37:41 r-41-VM Keepalived_vrrp[2181]: Netlink: filter function error Nov 3 00:37:41 r-41-VM Keepalived_healthcheckers[2180]: Netlink: filter function error Nov 3 00:38:00 r-41-VM Keepalived_healthcheckers[2180]: Netlink: filter function error Nov 3 00:38:00 r-41-VM Keepalived_vrrp[2181]: Netlink: filter function error Nov 3 00:38:01 r-41-VM Keepalived_healthcheckers[2180]: Netlink: filter function error Nov 3 00:38:01 r-41-VM Keepalived_vrrp[2181]: Netlink: filter function error root@r-41-VM:~# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 0e:00:a9:fe:02:fe brd ff:ff:ff:ff:ff:ff inet 169.254.2.254/16 brd 169.254.255.255 scope global eth0 3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 06:31:06:00:00:1a brd ff:ff:ff:ff:ff:ff inet 10.0.1.105/24 brd 10.0.1.255 scope global eth1 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 02:00:2b:a1:00:05 brd ff:ff:ff:ff:ff:ff inet 172.17.0.111/24 brd 172.17.0.255 scope global eth2 root@r-41-VM:~# root@r-41-VM:~# tcpdump -i eth2 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 65535 bytes 00:41:37.100888 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:41:37.657719 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:41:38.101985 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:41:38.658551 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:41:39.103167 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:41:39.660256 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 ^C 6 packets captured 6 packets received by filter 0 packets dropped by kernel root@r-41-VM:~# ============================================ and,continue... 11)Restart keepalived r-40-VM 12) Check Redundant state (good) r-32-VM Redundant state:MASTER r-33-VM Redundant state:BACKUP ============================================ root@r-40-VM:~# service keepalived restart [ ok ] Restarting keepalived keepalived.... root@r-40-VM:~# root@r-40-VM:~# cat /var/log/messages | grep Keepa (snip) Nov 3 00:42:50 r-40-VM Keepalived_vrrp[5190]: Registering Kernel netlink reflector Nov 3 00:42:50 r-40-VM Keepalived_healthcheckers[5189]: Registering Kernel netlink reflector Nov 3 00:42:50 r-40-VM Keepalived_vrrp[5190]: Registering Kernel netlink command channel Nov 3 00:42:50 r-40-VM Keepalived_vrrp[5190]: Registering gratuitous ARP shared channel Nov 3 00:42:50 r-40-VM Keepalived_vrrp[5190]: Opening file '/etc/keepalived/keepalived.conf'. Nov 3 00:42:50 r-40-VM Keepalived_healthcheckers[5189]: Registering Kernel netlink command channel Nov 3 00:42:50 r-40-VM Keepalived_healthcheckers[5189]: Opening file '/etc/keepalived/keepalived.conf'. Nov 3 00:42:50 r-40-VM Keepalived_vrrp[5190]: Truncating auth_pass to 8 characters Nov 3 00:42:50 r-40-VM Keepalived_vrrp[5190]: Configuration is using : 64675 Bytes Nov 3 00:42:50 r-40-VM Keepalived_vrrp[5190]: Using LinkWatch kernel netlink reflector... Nov 3 00:42:50 r-40-VM Keepalived_vrrp[5190]: VRRP_Instance(inside_network) Entering BACKUP STATE Nov 3 00:42:50 r-40-VM Keepalived_healthcheckers[5189]: Configuration is using : 6893 Bytes Nov 3 00:42:50 r-40-VM Keepalived_healthcheckers[5189]: Using LinkWatch kernel netlink reflector... Nov 3 00:42:50 r-40-VM Keepalived_vrrp[5190]: VRRP_Script(heartbeat) succeeded Nov 3 00:42:54 r-40-VM Keepalived_vrrp[5190]: VRRP_Instance(inside_network) Transition to MASTER STATE Nov 3 00:42:55 r-40-VM Keepalived_vrrp[5190]: VRRP_Instance(inside_network) Entering MASTER STATE root@r-40-VM:~# root@r-40-VM:~# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 0e:00:a9:fe:02:73 brd ff:ff:ff:ff:ff:ff inet 169.254.2.115/16 brd 169.254.255.255 scope global eth0 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 06:31:06:00:00:1a brd ff:ff:ff:ff:ff:ff inet 10.0.1.105/24 brd 10.0.1.255 scope global eth1 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 02:00:0b:9b:00:04 brd ff:ff:ff:ff:ff:ff inet 172.17.0.123/24 brd 172.17.0.255 scope global eth2 inet 172.17.0.1/24 brd 172.17.0.255 scope global secondary eth2 root@r-40-VM:~# root@r-40-VM:~# tcpdump -i eth2 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 65535 bytes 00:43:50.558174 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:43:51.005691 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:43:51.141294 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0x3a): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:43:51.559591 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:43:52.006413 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:43:52.143550 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0x3b): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:43:52.560811 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:43:53.008176 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:43:53.144847 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0x3c): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 root@r-41-VM:~# cat /var/log/messages | grep Keepa (not change) root@r-41-VM:~# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 0e:00:a9:fe:02:fe brd ff:ff:ff:ff:ff:ff inet 169.254.2.254/16 brd 169.254.255.255 scope global eth0 3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 06:31:06:00:00:1a brd ff:ff:ff:ff:ff:ff inet 10.0.1.105/24 brd 10.0.1.255 scope global eth1 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 02:00:2b:a1:00:05 brd ff:ff:ff:ff:ff:ff inet 172.17.0.111/24 brd 172.17.0.255 scope global eth2 root@r-41-VM:~# root@r-41-VM:~# tcpdump -i eth2 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 65535 bytes 00:45:57.438526 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:45:57.617352 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0xb8): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:45:58.007405 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:45:58.439804 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:45:58.619164 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0xb9): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:45:59.008178 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:45:59.441081 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:45:59.620151 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0xba): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:46:00.010211 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:46:00.442404 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:46:00.622415 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0xbb): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:46:01.011514 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 ^C 12 packets captured 12 packets received by filter 0 packets dropped by kernel root@r-41-VM:~# ============================================ 13)Restart keepalived r-40-VM 14) Check Redundant state (bad) r-32-VM Redundant state:MASTER r-33-VM Redundant state:MASTER ============================================ root@r-41-VM:~# service keepalived restart [ ok ] Restarting keepalived keepalived.... root@r-41-VM:~# root@r-40-VM:~# cat /var/log/messages | grep Keepa (not change) root@r-40-VM:~# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 0e:00:a9:fe:02:73 brd ff:ff:ff:ff:ff:ff inet 169.254.2.115/16 brd 169.254.255.255 scope global eth0 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 06:31:06:00:00:1a brd ff:ff:ff:ff:ff:ff inet 10.0.1.105/24 brd 10.0.1.255 scope global eth1 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 02:00:0b:9b:00:04 brd ff:ff:ff:ff:ff:ff inet 172.17.0.123/24 brd 172.17.0.255 scope global eth2 inet 172.17.0.1/24 brd 172.17.0.255 scope global secondary eth2 root@r-40-VM:~# root@r-40-VM:~# tcpdump -i eth2 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 65535 bytes 00:47:36.272403 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:47:36.478168 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0x11b): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:47:36.846987 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:47:37.029560 IP 172.17.0.111 > 224.0.0.18: AH(spi=0xac11006f,seq=0x40): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:47:37.273313 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:47:37.479767 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0x11c): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:47:37.848209 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:47:38.030577 IP 172.17.0.111 > 224.0.0.18: AH(spi=0xac11006f,seq=0x41): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 root@r-41-VM:~# cat /var/log/messages | grep Keepa (snip) Nov 3 00:46:30 r-41-VM Keepalived_vrrp[5124]: Registering Kernel netlink reflector Nov 3 00:46:30 r-41-VM Keepalived_healthcheckers[5123]: Registering Kernel netlink reflector Nov 3 00:46:30 r-41-VM Keepalived_vrrp[5124]: Registering Kernel netlink command channel Nov 3 00:46:30 r-41-VM Keepalived_vrrp[5124]: Registering gratuitous ARP shared channel Nov 3 00:46:30 r-41-VM Keepalived_vrrp[5124]: Opening file '/etc/keepalived/keepalived.conf'. Nov 3 00:46:30 r-41-VM Keepalived_healthcheckers[5123]: Registering Kernel netlink command channel Nov 3 00:46:30 r-41-VM Keepalived_healthcheckers[5123]: Opening file '/etc/keepalived/keepalived.conf'. Nov 3 00:46:30 r-41-VM Keepalived_healthcheckers[5123]: Configuration is using : 6893 Bytes Nov 3 00:46:30 r-41-VM Keepalived_healthcheckers[5123]: Using LinkWatch kernel netlink reflector... Nov 3 00:46:30 r-41-VM Keepalived_vrrp[5124]: Truncating auth_pass to 8 characters Nov 3 00:46:30 r-41-VM Keepalived_vrrp[5124]: Configuration is using : 64675 Bytes Nov 3 00:46:30 r-41-VM Keepalived_vrrp[5124]: Using LinkWatch kernel netlink reflector... Nov 3 00:46:30 r-41-VM Keepalived_vrrp[5124]: VRRP_Instance(inside_network) Entering BACKUP STATE Nov 3 00:46:30 r-41-VM Keepalived_vrrp[5124]: VRRP_Script(heartbeat) succeeded Nov 3 00:46:34 r-41-VM Keepalived_vrrp[5124]: VRRP_Instance(inside_network) Transition to MASTER STATE Nov 3 00:46:35 r-41-VM Keepalived_vrrp[5124]: VRRP_Instance(inside_network) Entering MASTER STATE root@r-41-VM:~# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 0e:00:a9:fe:02:fe brd ff:ff:ff:ff:ff:ff inet 169.254.2.254/16 brd 169.254.255.255 scope global eth0 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 06:31:06:00:00:1a brd ff:ff:ff:ff:ff:ff inet 10.0.1.105/24 brd 10.0.1.255 scope global eth1 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 02:00:2b:a1:00:05 brd ff:ff:ff:ff:ff:ff inet 172.17.0.111/24 brd 172.17.0.255 scope global eth2 inet 172.17.0.1/24 brd 172.17.0.255 scope global secondary eth2 root@r-41-VM:~# root@r-41-VM:~# tcpdump -i eth2 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 65535 bytes 00:49:24.550939 IP 172.17.0.111 > 224.0.0.18: AH(spi=0xac11006f,seq=0xab): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:49:24.699919 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:49:24.943912 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0x187): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:49:25.278653 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:49:25.551671 IP 172.17.0.111 > 224.0.0.18: AH(spi=0xac11006f,seq=0xac): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:49:25.701052 IP 172.17.0.111.50052 > 225.0.0.50.3780: UDP, length 8 00:49:25.944818 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0x188): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:49:26.279263 IP 172.17.0.123.59535 > 225.0.0.50.3780: UDP, length 8 00:49:26.553102 IP 172.17.0.111 > 224.0.0.18: AH(spi=0xac11006f,seq=0xad): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 ============================================ In the above, both r-40-VM and r-41-VM is , continues to send the VRRPv2 Advertisement. 00:49:24.550939 IP 172.17.0.111 > 224.0.0.18: AH(spi=0xac11006f,seq=0xab): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 00:49:24.943912 IP 172.17.0.123 > 224.0.0.18: AH(spi=0xac11007b,seq=0x187): VRRPv2, Advertisement, vrid 7, prio 1, authtype ah, intvl 1s, length 20 Other information. In my environment, Isolated network's redundant router is no problem. > Redundant VPC Virtual Router's state is BACKUP & BACKUP > ------------------------------------------------------- > > Key: CLOUDSTACK-9015 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9015 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Affects Versions: 4.6.0 > Environment: CloudStack master(2015/10/31) 4.6.0-snapshot > Hypervisor CentOS6/KVM > SystemVM > build #654 (2015/10/22 19:27:55) > http://jenkins.buildacloud.org/job/build-systemvm64-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvm64template-master-4.6.0-kvm.qcow2.bz2 > Reporter: satoru nakaya > Assignee: Wilder Rodrigues > Priority: Critical > > Steps of reproduce. > 1)Create VPC (Redundant VPC offering) > 2)Create tier > 3)Create VM Instance on this tier > 4)Check Redundant state (good) > r-14-VM Redundant state:MASTER > r-15-VM Redundant state:BACKUP > 5) Reboot Router r-14-VM > 6)Check Redundant state (good) > r-14-VM Redundant state:BACKUP > r-15-VM Redundant state:MASTER > 7) Reboot Router r-15-VM > 8)Check Redundant state (bad) > r-14-VM Redundant state:BACKUP > r-15-VM Redundant state:BACKUP > 9)Check Log(r-14-VM's /var/log/messages) > Nov 1 00:46:29 r-14-VM Keepalived_vrrp[3711]: VRRP_Instance(inside_network) > sending 0 priority > Nov 1 00:47:34 r-14-VM Keepalived_vrrp[2179]: Netlink: filter function error > Nov 1 00:47:34 r-14-VM Keepalived_healthcheckers[2178]: Netlink: filter > function error > Nov 1 00:47:53 r-14-VM Keepalived_healthcheckers[2178]: Netlink: filter > function error > Nov 1 00:47:53 r-14-VM Keepalived_vrrp[2179]: Netlink: filter function error > Nov 1 00:47:54 r-14-VM Keepalived_healthcheckers[2178]: Netlink: filter > function error > Nov 1 00:47:54 r-14-VM Keepalived_vrrp[2179]: Netlink: filter function error > 10)Check Log(r-15-VM's /var/log/messages) > Nov 1 00:49:19 r-15-VM Keepalived_vrrp[3682]: VRRP_Instance(inside_network) > sending 0 priority > Nov 1 00:50:25 r-15-VM Keepalived_vrrp[2179]: Netlink: filter function error > Nov 1 00:50:25 r-15-VM Keepalived_healthcheckers[2178]: Netlink: filter > function error > Nov 1 00:50:45 r-15-VM Keepalived_healthcheckers[2178]: Netlink: filter > function error > Nov 1 00:50:45 r-15-VM Keepalived_vrrp[2179]: Netlink: filter function error > Nov 1 00:50:45 r-15-VM Keepalived_healthcheckers[2178]: Netlink: filter > function error > Nov 1 00:50:45 r-15-VM Keepalived_vrrp[2179]: Netlink: filter function error -- This message was sent by Atlassian JIRA (v6.3.4#6332)