(no subject)

Patrick Lamaiziere patfbsd at davenulle.org
Fri Aug 26 15:13:41 UTC 2011


Le Fri, 26 Aug 2011 14:26:24 +0000,
Johan Hendriks <Johan at 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.


More information about the freebsd-questions mailing list