Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2013 20:37:54 +0200
From:      Damien Fleuriot <ml@my.gd>
To:        Karl Pielorz <kpielorz_lst@tdx.co.uk>
Cc:        "freebsd-net@FreeBSD.org" <freebsd-net@FreeBSD.org>, Daniel Hartmeier <daniel@benzedrine.cx>
Subject:   Re: Create CARP interface in state INIT?
Message-ID:  <72C131E1-124B-4E60-852E-2C9C7A1C8180@my.gd>
In-Reply-To: <ED13F5BE6870E550A7B0FA9B@study64.tdx.co.uk>
References:  <E39649AA101CBB2533571741@Mail-PC.tdx.co.uk> <20130813133458.GA31184@insomnia.benzedrine.cx> <923A5641B77139EF4FBCB762@Mail-PC.tdx.co.uk> <3AC68FE5-2C01-4C73-B8F9-93C278DF89A7@my.gd> <ED13F5BE6870E550A7B0FA9B@study64.tdx.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

On 15 Aug 2013, at 20:33, Karl Pielorz <kpielorz_lst@tdx.co.uk> wrote:

>=20
>=20
> --On 15 August 2013 17:13:15 +0200 Damien Fleuriot <ml@my.gd> wrote:
>=20
>>> Hmmm, I tried that - and it leaves the interface in a 'weird' state (at
>>> least not the state I was expecting):
>>>=20
>>> carp0: flags=3D9<UP,LOOPBACK> metric 0 mtu 1500
>>>      inet 192.168.107.21 netmask 0xffffff00
>>>      nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
>>>=20
>>> Subsequently doing a 'ifconfig carp0' doesn't bring it up either :(
>=20
>> Running CARP in production from rc.conf fine here.
>=20
> 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 's=
tealing' MASTER even if the other machine is down... (something which you ap=
parently can't achieve with rc.conf).
>=20
>> What version of the OS are you using ?
>=20
> 9.2-RC2 on amd64.
>=20
> -Karl
>=20

Oh I'm sorry I got that the other way around, thought you had it in INIT fro=
m rc.conf and wanted to fix that.

As has been pointed out, you prolly want to use rc.local

My apologies for the noise.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?72C131E1-124B-4E60-852E-2C9C7A1C8180>