[CARP] BUG #202510 - advertisements sourced from CARP IP cause double master situation

Damien Fleuriot ml at my.gd
Wed Jan 11 20:13:12 UTC 2017


Hello list,



When using (legacy ?) syntax ipv4_addrs_$interf="1.2.3.4/32" in
/etc/rc.conf, CARP advertisements are sent from subsequent addresses
defined using ifconfig_$interf_aliasN="2.3.4.5/32"

This causes master-master situations and, obviously, network problems.


I have attached a patch to the PR [1] which moves ipv4_addrs_$interf
processing higher up the chain in /etc/network.subr

Despite dating back from 2015 the patch applies just fine here on
10-STABLE and corrects the behaviour without any noticeable side
effects.


Seeking people running 9.x and 11.x to help close this PR [2].

Would anyone kindly check and report ?


[1] https://bugs.freebsd.org/bugzilla/attachment.cgi?id=160307&action=diff
[2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202510


More information about the freebsd-net mailing list