Hi all,
I have a FreeBSD 10.2 amd64 running in virtualbox with 2x bridged em() interfaces.
I've created a lagg0 interface via rc.conf:
If both interfaces have a cable connected to them, the lagg() works but if I pull out the cable from em0, I get:
ie em1 doesn't become MASTER and ACTIVE. If I connect the cable back to em0, the lagg interface works again.
Has anyone managed to configure a working failover lagg interface?
I have a FreeBSD 10.2 amd64 running in virtualbox with 2x bridged em() interfaces.
I've created a lagg0 interface via rc.conf:
Code:
ifconfig_em0="up"
ifconfig_em1="up"
cloned_interfaces="lagg0"
ifconfig_lagg0="laggproto failover laggport em0 laggport em1 192.168.x.5/24"
defaultrouter="192.168.x.1"
If both interfaces have a cable connected to them, the lagg() works but if I pull out the cable from em0, I get:
Code:
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
ether 08:00:27:9d:a1:56
inet 192.168.x.5 netmask 0xffffff00 broadcast 192.168.x.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect
status: active
laggproto failover lagghash l2,l3,l4
laggport: em0 flags=5<MASTER>
laggport: em1 flags=0<ACTIVE>
ie em1 doesn't become MASTER and ACTIVE. If I connect the cable back to em0, the lagg interface works again.
Has anyone managed to configure a working failover lagg interface?