Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 2017 21:13:10 +0100
From:      Damien Fleuriot <ml@my.gd>
To:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Cc:        dfl@hipay.com
Subject:   [CARP] BUG #202510 - advertisements sourced from CARP IP cause double master situation
Message-ID:  <CAE63ME7ENVO9p%2Bn8dCaYTemZJDau4djSupuZfBAUZ%2By_bfz6Zg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE63ME7ENVO9p%2Bn8dCaYTemZJDau4djSupuZfBAUZ%2By_bfz6Zg>