Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Jul 2018 18:39:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 229547] CARP preempt didn't work
Message-ID:  <bug-229547-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help

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@FreeBSD.org
          Reporter: nicolas@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.


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