Date: Thu, 15 Aug 2013 15:01:24 +0100 From: Karl Pielorz <kpielorz_lst@tdx.co.uk> To: Daniel Hartmeier <daniel@benzedrine.cx> Cc: freebsd-net@FreeBSD.org Subject: Re: Create CARP interface in state INIT? Message-ID: <923A5641B77139EF4FBCB762@Mail-PC.tdx.co.uk> In-Reply-To: <20130813133458.GA31184@insomnia.benzedrine.cx> References: <E39649AA101CBB2533571741@Mail-PC.tdx.co.uk> <20130813133458.GA31184@insomnia.benzedrine.cx>
next in thread | previous in thread | raw e-mail | index | archive | help
--On 13 August 2013 15:34 +0200 Daniel Hartmeier <daniel@benzedrine.cx>
wrote:
> So, don't configure the carp interface in rc.conf, but do it in
> /etc/rc.local, and be careful to add the address while the vhid is not
> yet configured, as in:
>
> ifconfig carp0 create
> ifconfig carp0 inet 192.168.107.21
> ifconfig carp0 down
> ifconfig carp0 vhid 21 pass secret advskew 100
Hmmm, I tried that - and it leaves the interface in a 'weird' state (at
least not the state I was expecting):
carp0: flags=9<UP,LOOPBACK> metric 0 mtu 1500
inet 192.168.107.21 netmask 0xffffff00
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
Subsequently doing a 'ifconfig carp0' doesn't bring it up either :(
-Karl
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?923A5641B77139EF4FBCB762>
