Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jan 2011 11:39:21 -0600
From:      "David DeSimone" <fox@verio.net>
To:        <freebsd-net@freebsd.org>
Subject:   Re: CARP Failover
Message-ID:  <20110128173921.GY316@verio.net>
In-Reply-To: <AANLkTinCZ3iihu-9rSFniihW-94m2Pf%2BhFyJ%2BL5q72vM@mail.gmail.com>
References:  <AANLkTinCZ3iihu-9rSFniihW-94m2Pf%2BhFyJ%2BL5q72vM@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Barnard <mike.barnardq@gmail.com> wrote:
>
> FW1 is connected to SW1 and FW2 is connected to SW2. Both SW1 and SW2
> connected to the aggregating switch.
> 
> I have configured CARP in failover mode and the interesting thing is both
> firewall carp interfaces come up as master:
> 
> FW1:
> carp0: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
>         inet 41.xxx.yyy.243 netmask 0xfffffff8
>         carp: MASTER vhid 1 advbase 1 advskew 1
> carp1: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
>         inet 41.xxx.yyy.251 netmask 0xfffffff8
>         carp: MASTER vhid 2 advbase 1 advskew 1
> 
> FW2:
> carp0: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
>         inet 41.xxx.yyy.243 netmask 0xfffffff8
>         carp: MASTER vhid 1 advbase 1 advskew 100
> carp1: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
>         inet 41.xxx.yyy.251 netmask 0xfffffff8
>         carp: MASTER vhid 2 advbase 1 advskew 100

The two firewalls cannot hear each other's CARP announcements.  Test
with tcpdump; do you see the CARP packets coming from the other
firewall?  If not, you have a switching problem, like the two firewalls
are not in the same VLAN together.

If you do see the packets arriving, it probably means that your PF
policy is blocking CARP from your neighbor.

-- 
David DeSimone == Network Admin == fox@verio.net
  "I don't like spinach, and I'm glad I don't, because if I
   liked it I'd eat it, and I just hate it." -- Clarence Darrow


This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free.  Thank you.



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