Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jul 2006 10:01:02 +0100
From:      Brian Candler <B.Candler@pobox.com>
To:        Dan Massey <dan@gconnect.net>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: Carp
Message-ID:  <20060724090102.GA3412@uk.tiscali.com>
In-Reply-To: <C0E5373C.1C3D1%dan@gconnect.net>
References:  <C0E5373C.1C3D1%dan@gconnect.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 20, 2006 at 01:35:56PM +0100, Dan Massey wrote:
> My config in /etc/rc.conf is as follows:
> ifconfig_fxp0="inet 192.168.1.100  netmask 255.255.255.0"
> cloned_interfaces="carp0"
> ifconfig_carp0="vhid 1 pass XXXX 192.168.1.10 255.255.255.0"
> cloned_interfaces="carp1"
> ifconfig_carp1="vhid 2 advskew 100 pass XXXX 192.168.1.11 255.255.255.0"

rc.conf is just a shell script. If you set a variable twice, the second
value overwrites the first. So without having tested this, at very least you
will need to change this to

cloned_interfaces="carp0 carp1"



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