keepalived, lxc, vrrp and use_vmac
Rafael Vanoni <[email protected]>
| Newsgroups | gmane.linux.keepalived.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi folks,
I'm trying to setup multiple vrrp instances between nodes running as lxc containers (on two directly connected systems) with use_vmac set, and having a few problems. I've followed the recommendations in this doc
https://github.com/acassen/keepalived/blob/master/doc/NOTE_vrrp_vmac.txt
plus suggestions from one or two old email threads here. Here's an example configuration:
vrrp_instance foo1 {
interface eth0.2
virtual_router_id 5
priority 1
advert_int 1
use_vmac eth0.2.vmac
vmac_xmit_base
virtual_ipaddress { 2.2.2.1 }
}
vrrp_instance foo2 {
interface eth0.3
virtual_router_id 6
priority 1
advert_int 1
use_vmac eth0.3.vmac
vmac_xmit_base
virtual_ipaddress { 3.3.3.1 }
}
With these two instances I only see the vrrp advertisements on eth0.3, but not eth0.2. If I remove the second instance, both nodes can communicate and fail over w/o problems - as if vmac_xmit_base only worked on the last instance in the config.
But even with the vrrp communication working, I still can't ping the virtual ip from another system. I've tried all the sysctl.conf settings suggested in the doc above, but nothing so far.
Any ideas of what I'm missing?
Thanks,Rafael
------------------------------------------------------------------------------
_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel