vrrp not working with use_vmac, and a partial solution
Quentin Armitage <[email protected]>
| Newsgroups | gmane.linux.keepalived.devel |
|---|---|
| Organization | The Armitage family |
| Message-ID | <[email protected]> |
I've been trying to get vrrp working using use_vmac, and with vmac_xmit_base not set. The problem I've been seeing is that the instance of keepalived in backup mode is not receiving any packets from the network. As a consequence it times out, enters master mode and sends an advert. The real master sees the advert, and forces a new election since it has received a lower prio advert. The keepalived that should be the backup (but is now in master mode) now receives the higher priority advert, and drops back to backup mode. This cycle continues indefinitely. In trying to find out why keepalived is able to receive while it is in master mode, but not in backup mode, one difference that occurred to me was that in master mode, and also if not using use_vmac, the interface will have an IP address, whereas in backup mode with use_vmac, the interface does not have an IP address. I manually added a (random) IP address to the macvlan interface, and it started being able to receive the advertisment packets from the master, and hence remained in backup mode. Both tcpdump (in non-promiscuous mode) and dhclient are able to receive on the macvlan interface when it doesn't have an IP address, so is there some additional setting that needs to be configured to allow it to receive when it doesn't have an IP address? Quentin Armitage ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Keepalived-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/keepalived-devel