Hi all, Following a discussion on the NANOG mailing regarding the overlap between MAC addresses assigned to VRRP [1] and virtual host IDs as used in the CARP protocol, it was suggested to use a range dedicated to CARP [2]. Ytti assigned 74-66-30-FF-FE-00 .. 74-66-30-FF-FE-FF.
* Improve coexistence with other redundancy protocols * Patch does not provide backwards compatibilty Kind regards, Job [1]: http://www.iana.org/assignments/ethernet-numbers [2]: http://mailman.nanog.org/pipermail/nanog/2014-May/066959.html =================================================================== RCS file: /cvs/src/sys/netinet/ip_carp.c,v retrieving revision 1.229 diff -u -r1.229 ip_carp.c --- src/sys/netinet/ip_carp.c 30 Apr 2014 10:04:33 -0000 1.229 +++ src/sys/netinet/ip_carp.c 8 May 2014 13:18:50 -0000 @@ -1759,16 +1759,19 @@ carp_set_vhe_enaddr(struct carp_vhost_entry *vhe) { struct carp_softc *sc = vhe->parent_sc; - + + /* CARP MAC range donated by Saku Ytti + http://ytti.fi/.well-known/iru/obsd-carp.txt + */ if (vhe->vhid != 0 && sc->sc_carpdev) { if (vhe->vhe_leader && sc->sc_balancing == CARP_BAL_IP) - vhe->vhe_enaddr[0] = 1; + vhe->vhe_enaddr[0] = 0x75; else - vhe->vhe_enaddr[0] = 0; - vhe->vhe_enaddr[1] = 0; - vhe->vhe_enaddr[2] = 0x5e; - vhe->vhe_enaddr[3] = 0; - vhe->vhe_enaddr[4] = 1; + vhe->vhe_enaddr[0] = 0x74; + vhe->vhe_enaddr[1] = 0x66; + vhe->vhe_enaddr[2] = 0x30; + vhe->vhe_enaddr[3] = 0xff; + vhe->vhe_enaddr[4] = 0xfe; vhe->vhe_enaddr[5] = vhe->vhid; vhe->vhe_sdl.sdl_family = AF_LINK;