Create CARP interface in state INIT?

Karl Pielorz kpielorz_lst at tdx.co.uk
Thu Aug 15 18:33:43 UTC 2013



--On 15 August 2013 17:13:15 +0200 Damien Fleuriot <ml at my.gd> wrote:

>> 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 :(

> Running CARP in production from rc.conf fine here.

Yeah, we have a number of boxes also using it from rc.conf - I'm trying to 
avoid rc.conf here though - as I need the interfaces to come up as INIT 
(i.e. not enabled / up) - to avoid any possibility of the box coming up, 
and 'stealing' MASTER even if the other machine is down... (something which 
you apparently can't achieve with rc.conf).

> What version of the OS are you using ?

9.2-RC2 on amd64.

-Karl



More information about the freebsd-net mailing list