CARP demotion counter

Emmanuel Vadot manu at bidouilliste.com
Thu Dec 10 19:07:32 UTC 2015


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


More information about the freebsd-questions mailing list