CARP section contains wrong info

Max Laier max at love2party.net
Sun Aug 23 20:10:14 UTC 2009


On Sunday 23 August 2009 21:27:30 Martin W wrote:
> Just noticed that the hosta/hostb example on
> http://www.freebsd.org/doc/en/books/handbook/carp.html contains wrong info.
> The vhid on a carp cluster should be the same on both hosts when they
> are set to share an IP. In the example it shows hosta as having vhid 1
> for carp0, and hostb having vhid 2 for carp0. Also the IP should be the
> same, in the example it shows .50 on hosta and .51 on hostb.
> It also says "The VHID must also be different for each machine", it
> should be "The VHID must also be different for each CARP interface".

You are misreading the example.  The example talks about individual hosts 
"hosta" and "hostb" with a backup "provider" that can pick up for either host.  
This is not the simplest possible setup (and I'm not sure why it was chosen), 
but it is correct from what I can tell.

-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News



More information about the freebsd-doc mailing list