[Bug 202510] [CARP] advertisements sourced from CARP IP cause double MASTER situations
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Aug 20 10:07:31 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202510
Bug ID: 202510
Summary: [CARP] advertisements sourced from CARP IP cause
double MASTER situations
Product: Base System
Version: 10.0-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: dam at my.gd
CC: glebius at FreeBSD.org
We're running Host A 10.2-BETA and Host B 10.2-PRERELEASE.
Host A is MASTER and Host B is supposed to be BACKUP.
When CARPs are configured from rc.conf on Host B, I get into a MASTER-MASTER
situation.
When CARPs are configured manually on Host B, I get the normal behaviour.
The bug is 100% reproductible.
We've managed to narrow it down to the syntax used in /etc/rc.conf to configure
the physical IP for the interface :
When using the following syntax, the physical IP address is configured AFTER
the CARPs on the interface, which results in the CARP advertisements being
sourced from the CARP IP, triggering the double MASTER situation :
ipv4_addrs_int="1.2.3.4/24"
ifconfig_int_alias0="1.2.3.6/32 vhid 1 pass test advskew 20"
When using either of the following syntaxes, the physical IP address is
configured BEFORE the CARPs, which results in the CARP advertisements being
sourced from the physical IP and restoring normal functionality :
ifconfig_int="inet 1.2.3.4/24"
ifconfig_int_alias0="1.2.3.6/32 vhid 1 pass test advskew 20"
OR
ifconfig_int_alias0="1.2.3.4/24"
ifconfig_int_alias1="1.2.3.6/32 vhid 1 pass test advskew 20"
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list