🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.openbsd-pf
Article #228

Re: Simultaneous CARP failover for multiple interfaces

#228
From: Kyle Lanclos
Date: Fri, 27 Apr 2012 20:03
27 lines
2292 bytes
I quoted from the OpenBSD FAQ:
> net.inet.carp.preempt		Allow hosts within a redundancy group
> 				that have a better advbase and advskew
> 				to preempt the master. In addition, this
> 				option also enables failing over a group
> 				of interfaces together in the event that
> 				one interface goes down. If one physical
> 				CARP-enabled interface goes down, CARP
> 				will increase the demotion counter,
> 				carpdemote, by 1 on interface groups that
> 				the carp(4) interface is a member of, in
> 				effect causing all group members to fail-
> 				over together. 
> 
> I did establish an interface group for my two CARP interfaces, but I did
> not do my failover tests while it was in that state. As I said, I clearly
> need to re-do my tests.

I re-did my tests this morning, and yes indeed, both CARP interfaces in
the CARP group switch automatically between the BACKUP and MASTER states
when I do abusive things to one of the connections. I say "automatically"
instead of "simultaneously" because there was a bit of a delay while the
reconnected link negotiated speed. I blame Cisco for that.

Thanks for all the assistance, I found this exchange to be quite helpful.

--Kyle
Technical Details
Message-ID: <20120427180545.GB4029@monkey.ucolick.org>
Path: arc1-ca.pugleaf.net!r9ni105550pbh.0!nntp.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!newsgate.newsguy.com!newsp.newsguy.com!mdrn
References: <20120423184913.GA14608@monkey.ucolick.org> <20120423205632.GA28327@insomnia.benzedrine.cx> <20120423212320.GH14608@monkey.ucolick.org>

Show Full Headers
Complete Article Headers
X-Google-Thread: ff4ef,caf87ae3eae58875
X-Google-NewGroupId: yes
X-Google-Attributes: gidbffa70e3,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.68.125.233 with SMTP id mt9mr10080127pbb.5.1335557031257;
        Fri, 27 Apr 2012 13:03:51 -0700 (PDT)
Path: arc1-ca.pugleaf.net!r9ni105550pbh.0!nntp.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!newsgate.newsguy.com!newsp.newsguy.com!mdrn
From: lanclos@ucolick.org (Kyle Lanclos)
Newsgroups: bit.listserv.openbsd-pf
Subject: Re: Simultaneous CARP failover for multiple interfaces
Date: 27 Apr 2012 13:03:50 -0700
Organization: None
Lines: 27
Message-ID: <20120427180545.GB4029@monkey.ucolick.org>
References: <20120423184913.GA14608@monkey.ucolick.org>
 <20120423205632.GA28327@insomnia.benzedrine.cx>
 <20120423212320.GH14608@monkey.ucolick.org>
NNTP-Posting-Host: localhost.newsguy.com
Mime-Version: 1.0
NNTP-Posting-Date: 27 Apr 2012 20:03:50 GMT
X-Received-Bytes: 1902
Content-Type: text/plain; charset=us-ascii