carp on multiple interfaces
Gergely CZUCZY
phoemix at harmless.hu
Tue Aug 28 02:45:42 PDT 2007
Thanks for the answers. I must have missed that part of carp(4).
On Tue, Aug 28, 2007 at 11:44:29AM +0200, Daniel Hartmeier wrote:
> On Tue, Aug 28, 2007 at 11:29:31AM +0200, Gergely CZUCZY wrote:
>
> > On a dual-carp scenario on two gateways when both the internal and
> > the external IFs are carp(4)'d in a master-slave way and a link
> > disconnects only on one side, would this trigger a carp failover
> > of the other interface also?
>
> See carp(4)
>
> net.inet.carp.preempt Allow virtual hosts to preempt each other. It
> is also used to failover carp interfaces as a
> group. When the option is enabled and one of
> the carp enabled physical interfaces goes down,
> advskew is changed to 240 on all carp inter-
> faces. See also the first example. Disabled
> by default.
>
> i.e. for your scenario you'd set preempt=1 so all interfaces failover
> together, to avoid the problem you describe (which otherwise would
> occur, yes).
>
> Daniel
Sincerely,
Gergely Czuczy
mailto: gergely.czuczy at harmless.hu
--
Weenies test. Geniuses solve problems that arise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 1272 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20070828/b798910a/attachment.pgp
More information about the freebsd-net
mailing list