Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2013 17:13:15 +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:  <3AC68FE5-2C01-4C73-B8F9-93C278DF89A7@my.gd>
In-Reply-To: <923A5641B77139EF4FBCB762@Mail-PC.tdx.co.uk>
References:  <E39649AA101CBB2533571741@Mail-PC.tdx.co.uk> <20130813133458.GA31184@insomnia.benzedrine.cx> <923A5641B77139EF4FBCB762@Mail-PC.tdx.co.uk>

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

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

>=20
>=20
> --On 13 August 2013 15:34 +0200 Daniel Hartmeier <daniel@benzedrine.cx> wr=
ote:
>=20
>> 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:
>>=20
>>  ifconfig carp0 create
>>  ifconfig carp0 inet 192.168.107.21
>>  ifconfig carp0 down
>>  ifconfig carp0 vhid 21 pass secret advskew 100
>=20
> Hmmm, I tried that - and it leaves the interface in a 'weird' state (at le=
ast 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
> -Karl
>=20

Running CARP in production from rc.conf fine here.

What version of the OS are you using ?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AC68FE5-2C01-4C73-B8F9-93C278DF89A7>