On Mon, Oct 12, 2009 at 01:24:49PM +0200, P-O Yliniemi wrote:
> Hi,
> 
> The CARP section (6.11) in the FAQ is incorrect (old), so I'm asking for 
> a solution here on the list.

Hi,

yes, the faq is outdated.
 see  http://www.openbsd.org/faq/upgrade43.html#carp

The manpage, however has all the info you need.
 http://www.openbsd.org/cgi-bin/man.cgi?query=carp&sektion=4#LOAD+BALANCING

> I want to set up a similar configuration as the FAQ describes, with the 
> IP-address being the only difference:
> 
> server a ip: 10.5.0.2
> server b ip: 10.5.0.3
> 
> load balanced ip: 10.5.0.200
> 
> server a:
> ifconfig carp0 create
> ifconfig carp0 10.5.0.200 netmask 255.0.0.0 vhid 1 pass carptest advbase 
> 1 advskew 0
> sysctl net.inet.carp.preempt=1

that should be sth like:
server a:
ifconfig carp0 10.5.0.200 netmask 255.0.0.0 carpnodes 1:0,2:100 balancing arp
server b:
ifconfig carp0 10.5.0.200 netmask 255.0.0.0 carpnodes 1:100,2:0 balancing arp

> Looking forward for a corrected FAQ section or an answer in this thread.

Any volunteers to update the FAQ? :-)

    Marco

Reply via email to