Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jun 2010 09:37:00 -0700
From:      Freddie Cash <fjwcash@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   Re: carp + carpdev option?
Message-ID:  <AANLkTinQoy8rLHSvIeM9IPB9SoFbl8NmwtVdfDsjq3ax@mail.gmail.com>
In-Reply-To: <4C052101.8080404@jku.at>
References:  <4C052101.8080404@jku.at>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 1, 2010 at 8:02 AM, Ferdinand Goldmann <
ferdinand.goldmann@jku.at> wrote:

> It seems that this question has been asked several times before ...
> It looks like there is no carpdev option in 7.x :-(
>
> Having this options should bring several advantages:
> - One would only have to use a single public IP address (the carp
> interface),
>  and would be able to configure the physical parent interface with a
> private
>  IP address for management purposes only.
>
> - One would not have to fiddle around with application configuration, like
>  telling Squid to use the IP address of the carp interface as sender IP
>  (and not the IP of the parent interface ...)
>
> Is there any hope this option gets ported to FreeBSD? Maybe in 8.x?
>

Max L. (can't remember how to spell his last name) had some patches
available for 7.x to enable carpdev support.  I did some testing of them
back then and they worked .... so long as the IPs/devices were all added in
the exact same order on all interfaces.  The CARP hashes wouldn't match if
anything was different between interfaces.  If you didn't use multiple IPs
on the CARP devices, they worked perfectly.

The patches were never imported to the source tree, though.

I agree.  It would be nice to have carpdev support in FreeBSD, as it makes
things cleaner.  And it lines up with vlan(4), lagg(4), and if_bridge(4)
where you can specify devices and not have to rely on IPs/subnets.

Here's hoping that it gets added in some future update of pf/carp from
OpenBSD.  :)  It's the final missing link in our dreams of redundant
firewalls/routers and storage servers.

-- 
Freddie Cash
fjwcash@gmail.com



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