Re: VRRP: how to move specific MAC from one router to the other on failover?
Damien Clabaut <[email protected]> Tue, 10 Apr 2018 15:46:41 +0000
| Newsgroups | gmane.linux.keepalived.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello Andras, You can use the use_vmac to have a virtual interface with a VRRP mac. You can find example templates in the beta branch of Keepalived: https://github.com/acassen/keepalived/blob/beta/tools/json_tracking/template_vrrp_ins tance Regards, On Tue, 2018-04-10 at 17:13 +0200, Andras Korn wrote: > Hi, > > apologies if support questions are off-topic on this list; I tried IRC > first, but the channel topic on freenode said to use the mailing list. > > I'm new to keepalived. I'm building a redundant router from two Linux boxes; > in a basic setup, everything works nicely. > > My problem is that the next hop upstream router has a static ARP table; it > ignores the gratuitous ARP replies keepalived sends. The only way of making > it talk to my backup router is to move the MAC address it has in its ARP > table from the master to the backup on failover. > > What's a good way of doing this? ebtables NAT? Or use a script to set up a > macvlan interface on the master, with the requisite MAC address? > > (I thought use_vmac would be a mechanism for this, but apparently it's not.) > > Thanks! > > Andras > -- Damien Clabaut R&D vRouter OVH ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot