Re: carp on multiple interfaces



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@xxxxxxxxxxx

--
Weenies test. Geniuses solve problems that arise.

Attachment: pgpX0xrzy1C8w.pgp
Description: PGP signature



Relevant Pages

  • Re: carp on multiple interfaces
    ... would this trigger a carp failover ... the carp enabled physical interfaces goes down, ...
    (freebsd-net)
  • Re: Multiple default routes on multiple interfaces
    ... >and two interfaces for my linux box. ... I just want failover between the two lines, ... >with next-hop detection if possible. ... >single interface and single IP on the linux box. ...
    (comp.os.linux.networking)
  • Re: CARP-related error on 5.4RC3
    ... Sorry to follow up on my own post, but more CARP weirdness on 5.4RC3. ... When I reboot the master, the backup quickly takes over -- just as you ... > above the carp interfaces. ...
    (freebsd-stable)
  • RE: [fw-wiz] RE: PIX FW Failover & Hello Packet
    ... But the problem is when I enabled the failover. ... int are not in waiting mode, ... The hello packets are sent over all interfaces every 15 seconds, ...
    (Firewall-Wizards)
  • [fw-wiz] Re: PIX FW Failover & Hello Packet
    ... For some reason after failover cmd is turned on for few ... the two PIX' will need to be able to send hello packets over ... any active network interfaces + the failover cable. ...
    (Firewall-Wizards)