Multiple VRRP instances with 1.2.17
"Ryan O'Hara" <[email protected]>
| Newsgroups | gmane.linux.keepalived.devel |
|---|---|
| Message-ID | <[email protected]> |
I was informed today about a problem with keepalived 1.2.17 when using
multiple VRRP instances [1]. Consider the following keepalived.conf:
vrrp_instance VRRP_51 {
virtual_router_id 51
advert_int 1
priority 101
state MASTER
interface eth0
virtual_ipaddress {
192.168.1.1
}
}
vrrp_instance VRRP_52 {
virtual_router_id 52
advert_int 1
priority 101
state MASTER
interface eth0
virtual_ipaddress {
192.168.1.2
}
}
Note that both instances use the same interface but have unique VRIDs
and VIPs. This works in 1.2.16 and earlier, but in 1.2.17 only the
first VIP is added to the interface. There are no other nodes running
keepalived.
Any ideas on what changed? I've been digging through the code for a
while now and have no found the change that caused this
regression. Both instances get parsed correct as evidence of the
configuration dump (-d option).
Ryan
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1232408
------------------------------------------------------------------------------