Using CARP with multiple IP aliases (FBSD 10.0)
Freddie Cash
fjwcash at gmail.com
Thu Sep 11 18:04:46 UTC 2014
On Thu, Sep 11, 2014 at 10:39 AM, Peter Wemm <peter at wemm.org> wrote:
> This is the method we use extensively in the freebsd.org cluster. eg: the
> routers have public IP addresses, private RFC1918, IPv6 etc addresses, all
> on
> the same vhid for each interface.
>
> * One vhid presence, with multiple aliases on the same vhid.
> * Configure vhid params once, aliases attached without params.
>
> carp state checking uses link local addresses to communicate.
>
> Having multiple IP's per vhid means they change master->backup state as a
> group, not individually and that's what we wanted for things like router
> default gateways.
>
Excellent. Thanks for the confirmation.
I'll be testing the updated configuration tomorrow morning (set all vhid
params in rc.conf.local, and only set vhid number in firewall scripts when
adding IPs).
--
Freddie Cash
fjwcash at gmail.com
More information about the freebsd-stable
mailing list