[Bug 229547] CARP preempt didn't work

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jul 5 18:39:33 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229547

            Bug ID: 229547
           Summary: CARP preempt didn't work
           Product: Base System
           Version: 11.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: nicolas at deffayet.com

Issue:

When using net.inet.carp.preempt: 1, it's expected router1 move back to MASTER
state when it's back online and router2 move to BACKUP state when router1 is
back online with MASTER state.


router1

CARP settings: advbase 1 advskew 0

# sysctl -a | grep carp
device  carp
net.inet.carp.ifdown_demotion_factor: 240
net.inet.carp.senderr_demotion_factor: 240
net.inet.carp.demotion: 240
net.inet.carp.log: 1
net.inet.carp.preempt: 1
net.inet.carp.allow: 1
net.pfsync.carp_demotion_factor: 240
# 

---

router2

CARP settings: advbase 1 advskew 100

# sysctl -a | grep carp
device  carp
net.inet.carp.ifdown_demotion_factor: 240
net.inet.carp.senderr_demotion_factor: 240
net.inet.carp.demotion: 240
net.inet.carp.log: 1
net.inet.carp.preempt: 0
net.inet.carp.allow: 1
net.pfsync.carp_demotion_factor: 240
# 

---


How reproduce issue:

Shutdown router1, router2 move from BACKUP state to MASTER state.

Start router1

When router1 is back, router1 have BACKUP state and router2 keep MASTER state.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list