Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Aug 2015 10:07:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 202510] [CARP] advertisements sourced from CARP IP cause double MASTER situations
Message-ID:  <bug-202510-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: dam@my.gd
                CC: glebius@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202510-8>