Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Aug 2011 17:13:38 +0200
From:      Patrick Lamaiziere <patfbsd@davenulle.org>
To:        Johan Hendriks <Johan@double-l.nl>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: (no subject)
Message-ID:  <20110826171338.12dab256@mr12941>
In-Reply-To: <6C3F8332272B7D4DA26909F15F1C90E1E5ABE6@SRV01.double-l.local>
References:  <6C3F8332272B7D4DA26909F15F1C90E1E5ABE6@SRV01.double-l.local>

next in thread | previous in thread | raw e-mail | index | archive | help
Le Fri, 26 Aug 2011 14:26:24 +0000,
Johan Hendriks <Johan@double-l.nl> a écrit :

> Ifconfig on the master
> carp0: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
>         inet 192.168.50.45 netmask 0xffffff00
>         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>         carp: MASTER vhid 1 advbase 1 advskew 30
> 
> Ifconfig on the slave
> carp0: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
>         inet 192.168.50.45 netmask 0xffffff00
>         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>         carp: BACKUP vhid 1 advbase 1 advskew 20
> 
> So even with the higher advskew value the master stays master.
> 
> Am i doing something wrong.

May be the difference is not big enough. Did you try with a
greater advskew value ?

advskew is added to the advbase with a advskew/256 (see man carp(4)).

Regards.



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