View Single Post
  #4   (View Single Post)  
Old 23rd July 2008
ivanjr ivanjr is offline
New User
 
Join Date: Jul 2008
Posts: 1
Default Lagg failover for FreeBSD 7.0 also on Dell 2970

I too have the same problem. Whenever I test lagg failover, it will not "failover" unless you issue "ifconfig" in the console at least once and ping to any host from the machine, then the lagg will work instantaneously.. however you will notice that if you use another workstation to ping the lagg machine it be up for a little while but eventually the ping will die out.

Hardware:
Dell 2970
Broadcom NetXtreme II BCM5708


/etc/rc.conf
ifconfig_bce0="UP"
ifconfig_bce1="UP"
cloned_interfaces="lagg0"
ifconfig_lagg0="laggproto lacp laggport bce0 laggport bce1"
ipv4_addrs_lagg0="172.17.255.114/16"
defaultrouter="172.17.0.10"


ifconfig -a (before failover, from fresh boot)
bce0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=1bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING, JUMBO_MTU,VLAN_HWCSUM,TSO4>
ether 00:1d:09:71:68:0a
media: Ethernet autoselect (1000baseTX <full-duplex>)
status: active
lagg: laggdev lagg0
bce1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=1bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING, JUMBO_MTU,VLAN_HWCSUM,TSO4>
ether 00:1d:09:71:68:0a
media: Ethernet autoselect (1000baseTX <full-duplex>)
status: active
lagg: laggdev lagg0
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=1bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING, JUMBO_MTU,VLAN_HWCSUM,TSO4>
ether 00:1d:09:71:68:0a
inet 172.17.255.114 netmask 0xffff0000 broadcast 172.17.255.255
media: Ethernet autoselect
status: active
laggproto lacp
laggport: bce1 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
laggport: bce0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>

sequence:
1. ifconfig after removing bce0, it will still be OK
2. after placing back bce0, it will still be OK
3. after detaching bce1, it will get stuck.. placing it back requires "ifconfig" and "ping"
(and ping will respond for a while)
4. and the process repeats for whichever NIC you will detach..

conclusion:
- failover will only happen ones
- succeeding failover will require ifconfig and ping.. and is not reliable.


i think someone has to do a PR on this...
Reply With Quote