Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Dec 2015 20:00:48 +0100
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: CARP demotion counter
Message-ID:  <ee17d45f9f7b1a24f76b59b09608d466@megadrive.org>
In-Reply-To: <20151210182821.GM13477@mordor.lan>
References:  <20151210182821.GM13477@mordor.lan>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 2015-12-10 19:28, Julien Cigar wrote:
> Hello,
> 
> I'm busy to setup a redundant router/firewall with two Soekris 6501, 
> PF,
> CARP and PFSync.
> 
> I wondered if it was normal that the CARP demotion counter
> (net.inet.carp.demotion) is greater than 0 at boot?
> 
> I'm asking this because it seems that the MASTER never returns from a
> BACKUP state, and it seems that's because the demotion counter is
> greater than 0 on both boxes (480) ..
> 
> Any idea .. ?
> 
> Thanks,
> Julien

  You need net.inet.carp.preempt=1 for MASTER returning to MASTER after a 
BACKUP state.
  Otherwise as long as another machine have the carp ip, it will stay to 
BACKUP.

-- 
Emmanuel Vadot



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?ee17d45f9f7b1a24f76b59b09608d466>