LAGG and CARP troubles

Andrea Venturoli ml at netfence.it
Fri Mar 16 09:51:44 UTC 2012


Hello.

I'm using 7.4p6/i386 and this is (a part of) my configuration

> cloned_interfaces="lagg0 vlan1 vlan2 vlan3 carp0 carp1 carp6 carp7 carp9 carp10"
> ifconfig_em0="up"
> ifconfig_em1="up"
> ifconfig_lagg0="laggproto lacp laggport em0 laggport em1 192.168.101.1 netmask 255.255.255.0"
> ifconfig_carp0="vhid 1 pass xxxxxxx 192.168.101.10"
> ifconfig_carp1="vhid 2 advskew 200 pass yyyyyyyy 192.168.101.10"

lagg0 would work fine (using two cables, recovering from one 
disconnection, etc...).

However carp0 will stay MASTER only with one cable; as soon as I connect 
both em interfaces, I'll get:

> kernel: carp0: MASTER -> BACKUP (more frequent advertisement received)

What am I doing wrong?

  bye & Thanks
	av.


More information about the freebsd-net mailing list