Mailing List Archive

[lvs-users] keepalived vrrp v3 can not work
Hi,

I configure keepalived using vrrp v2, it can work fine. But when I change to vrrp v3. VIP cannot be accessible from the other node.
The file /var/log/messages indicated that VIP is already added on the device:

Aug 25 06:11:05 host-192-168-120-21 Keepalived_vrrp[15930]: Using VRRPv3
...
Aug 25 06:11:07 host-192-168-120-21 avahi-daemon[498]: Registering new address record for 192.168.120.16 on eth0.IPv4.
Aug 25 06:11:07 host-192-168-120-21 Keepalived_healthcheckers[15928]: Netlink reflector reports IP 192.168.120.16 added
Aug 25 06:11:07 host-192-168-120-21 Keepalived_vrrp[15930]: VRRP_Instance(VI_1) Sending gratuitous ARPs on eth0 for 192.168.120.16
And 'ip addr' likes as below:
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1400 qdisc pfifo_fast state UP qlen 1000
link/ether 00:05:86:95:31:9c brd ff:ff:ff:ff:ff:ff
inet 192.168.120.21/24 brd 192.168.120.255 scope global dynamic eth0
valid_lft 72571sec preferred_lft 72571sec
inet 192.168.120.16/24 scope global secondary eth0
valid_lft forever preferred_lft forever
inet6 fe80::205:86ff:fe95:319c/64 scope link
valid_lft forever preferred_lft forever

'tcpdump -v host 224.0.0.18' outputs:
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
06:15:42.759501 IP (tos 0xc0, ttl 255, id 277, offset 0, flags [none], proto VRRP (112), length 32)
host-192-168-120-21.localdomain > vrrp.mcast.net: vrrp host-192-168-120-21.localdomain > vrrp.mcast.net: VRRPv3, Advertisement

But from the other node, ping VIP cannot work, ICMP echo-reply is not sent from the master node.

Can you help me to solve the above issue?

Thanks,

Ming Li

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users