Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Oct 2011 22:48:43 +0400
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Andre Oppermann <andre@FreeBSD.org>
Cc:        net@FreeBSD.org
Subject:   Re: new CARP implementation
Message-ID:  <20111014184843.GI94905@glebius.int.ru>
In-Reply-To: <4E987C0A.2040600@freebsd.org>
References:  <20110810160526.GO43567@FreeBSD.org> <20111013160216.GU94905@glebius.int.ru> <4E9874C5.8070309@freebsd.org> <20111014180205.GG94905@glebius.int.ru> <4E987C0A.2040600@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 14, 2011 at 08:14:34PM +0200, Andre Oppermann wrote:
A> On 14.10.2011 20:02, Gleb Smirnoff wrote:
A> > On Fri, Oct 14, 2011 at 07:43:33PM +0200, Andre Oppermann wrote:
A> > A>  On 13.10.2011 18:02, Gleb Smirnoff wrote:
A> > A>  >     Hello networkers,
A> > A>  >
A> > A>  >     I've updated patch&   README here:
A> > A>  >
A> > A>  >     http://people.freebsd.org/~glebius/newcarp/
A> > A>  >
A> > A>  >     Going to commit it to head/ soon. Then I'd like to make
A> > A>  >  a run through carp-related PRs, update documentation, settle
A> > A>  >  things a bit... and then make more hacking to restore the
A> > A>  >  arpbalance feature, as well as bring in ipbalance feature.
A> > A>
A> > A>  Excellent! Great work. Looks good.
A> > A>
A> > A>  One minor nit: Carp is directly enabled by specifying the vhid.
A> > A>  Would it be possible to introduce the keyword "carp" and "-carp"
A> > A>  to actually enable/disable an interface for carp?
A> >
A> > We could add additional interface flag, but I don't see point in
A> > enabling/disabling CARP per-interface.
A> 
A> Suspending the interface from the group, but retaining the configuration
A> could be one reason.

Won't ifconfig it down work?

A> > btw, you can configure a VHID and don't attach any addresses
A> > to it.
A> 
A> How does that work? What purpose does it serve?

This is actually how it is configured: SIOCSVH, then SIOCAIFADDR.
There is no practical use in addressless vhid now.

-- 
Totus tuus, Glebius.



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