#128 LAGG creation not properly creating configured LACP

9.1.0.1
open
nobody
1
2014-09-18
2013-08-26
Corey DeLasaux
No

I can confirm this issue! Ticket#32

I created a lagg with LACP, lagg0 is created but only for failover and not LACP.
I the GUI I created the lagg as LACP
I have to go into the cli and run:
ifconfig lagg0 down
ifconfig lagg0 up laggproto lacp laggport em0 laggport em1

Then everything functions as expected till the next reboot/power cycle.
I checked config.xml and everything appears proper there and shows laggproto as lacp

config.xml snips

    <interfaces>
            <lan>
                    <enable/>
                    <if>lagg0</if>
                    <ipaddr>192.168.120.15</ipaddr>
                    <subnet>24</subnet>
                    <ipv6addr>auto</ipv6addr>
                    <ipv6subnet>64</ipv6subnet>
                    <media>1000baseTX</media>
                    <mediaopt>full-duplex</mediaopt>
                    <gateway>192.168.120.5</gateway>
                    <mtu/>
                    <extraoptions/>
                    <wakeon>WOL_MAGIC</wakeon>
            </lan>

   <vinterfaces>
            <bridge>
                    <enable/>
                    <uuid>e83ec6c0-43d8-4a23-8e49-1dd16b5e2f6c</uuid>
                    <if>bridge0</if>
                    <bridgeif>lagg0</bridgeif>
                    <mtu/>
                    <extraoptions/>
                    <desc/>
            </bridge>
            <lagg>
                    <enable/>
                    <uuid>46fe974b-df28-463c-81b0-3e23389b163b</uuid>
                    <if>lagg0</if>
                    <laggproto>lacp</laggproto>
                    <laggport>em0</laggport>
                    <laggport>em1</laggport>
                    <desc>Expansion NIC LACP Card</desc>
            </lagg>
            <vlan>
                    <enable/>
                    <uuid>4fb9582d-5526-47dc-852f-326cce6e7030</uuid>
                    <if>vlan0</if>
                    <tag>1</tag>
                    <vlandev>lagg0</vlandev>
                    <desc/>
            </vlan>
    </vinterfaces>

At bootup

bridge0: Ethernet address: 2e:fa:19:00:7b:07
lagg0: promiscuous mode enabled
bridge0: link state changed to UP
lo0: flags=8049<UP,LOOPBACK,RUNNnfING,MULTICAST> me0:etric 0 mtu 1638 li4
options=6000nk state changed to UP
03<RXCSUM,TXCSUMnfe,RXCSUM_IPV6,TXC1:SUM_IPV6>
inet link state changed to DOWN
6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0xa
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC>
ether 00:02:a5:4d:78:aa
inet6 fe80::202:a5ff:fe4d:78aa%em0 prefixlen 64 tentative scopeid 0x5
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect
status: no carrier
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC>
ether 00:02:a5:4d:78:ab
inet6 fe80::202:a5ff:fe4d:78ab%em1 prefixlen 64 tentative scopeid 0x6
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect
status: no carrier
lagg0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:00:00:00:00:00
inet6 fe80::2e0:8100:27:2acb%lagg0 prefixlen 64 tentative scopeid 0xb
inet 192.168.120.15 netmask 0xffffff00 broadcast 192.168.120.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect
status: no carrier
laggproto failover lagghash l2,l3,l4
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 2e:fa:19:00:7b:07
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: lagg0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 11 priority 128 path cost 2000000
Starting devd.

ifconfig After boot

ifconfig

fwip0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
lladdr 0.e0.81.0.0.27.2a.cb.a.2.ff.fe.0.0.0.0
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
fwe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 02:e0:81:27:2a:cb
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
ch 1 dma -1
em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC>
ether 00:02:a5:4d:78:aa
inet6 fe80::202:a5ff:fe4d:78aa%em0 prefixlen 64 scopeid 0x5
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
em1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC>
ether 00:02:a5:4d:78:aa
inet6 fe80::202:a5ff:fe4d:78ab%em1 prefixlen 64 scopeid 0x6
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
nfe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=c219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO,LINKSTATE>
ether 00:e0:81:74:0b:fe
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
nfe1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=c219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO,LINKSTATE>
ether 00:e0:81:74:0b:ff
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (none)
status: no carrier
ipfw0: flags=8801<UP,SIMPLEX,MULTICAST> metric 0 mtu 65536
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0xa
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
lagg0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC>
ether 00:02:a5:4d:78:aa
inet6 fe80::2e0:8100:27:2acb%lagg0 prefixlen 64 scopeid 0xb
inet 192.168.120.15 netmask 0xffffff00 broadcast 192.168.120.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect
status: active
laggproto lacp lagghash l2,l3,l4
laggport: em1 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
laggport: em0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
vlan0: flags=8002<BROADCAST,MULTICAST> metric 0 mtu 1500
ether 00:00:00:00:00:00
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
vlan: 0 parent interface:
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether ae:11:e5:89:a3:27
inet 192.168.120.10 netmask 0xffffff00 broadcast 192.168.120.255
inet 192.168.120.25 netmask 0xffffff00 broadcast 192.168.120.255
inet 192.168.120.11 netmask 0xffffff00 broadcast 192.168.120.255
inet 192.168.120.21 netmask 0xffffff00 broadcast 192.168.120.255
inet 192.168.120.12 netmask 0xffffff00 broadcast 192.168.120.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: lagg0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 11 priority 128 path cost 2000000

After manual cli intervention

$ ifconfig lagg0 down
$ ifconfig lagg0 up laggproto lacp laggport em0 laggport em1
$ ifconfig
fwip0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
lladdr 0.e0.81.0.0.27.2a.cb.a.2.ff.fe.0.0.0.0
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
fwe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 02:e0:81:27:2a:cb
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
ch 1 dma -1
em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC>
ether 00:02:a5:4d:78:aa
inet6 fe80::202:a5ff:fe4d:78aa%em0 prefixlen 64 scopeid 0x5
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
em1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC>
ether 00:02:a5:4d:78:aa
inet6 fe80::202:a5ff:fe4d:78ab%em1 prefixlen 64 scopeid 0x6
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
nfe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=c219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO,LINKSTATE>
ether 00:e0:81:74:0b:fe
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
nfe1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=c219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO,LINKSTATE>
ether 00:e0:81:74:0b:ff
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (none)
status: no carrier
ipfw0: flags=8801<UP,SIMPLEX,MULTICAST> metric 0 mtu 65536
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0xa
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
lagg0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC>
ether 00:02:a5:4d:78:aa
inet6 fe80::2e0:8100:27:2acb%lagg0 prefixlen 64 scopeid 0xb
inet 192.168.120.15 netmask 0xffffff00 broadcast 192.168.120.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect
status: active
laggproto lacp lagghash l2,l3,l4
laggport: em1 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
laggport: em0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
vlan0: flags=8002<BROADCAST,MULTICAST> metric 0 mtu 1500
ether 00:00:00:00:00:00
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
vlan: 0 parent interface:
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether ae:11:e5:89:a3:27
inet 192.168.120.10 netmask 0xffffff00 broadcast 192.168.120.255
inet 192.168.120.25 netmask 0xffffff00 broadcast 192.168.120.255
inet 192.168.120.11 netmask 0xffffff00 broadcast 192.168.120.255
inet 192.168.120.21 netmask 0xffffff00 broadcast 192.168.120.255
inet 192.168.120.12 netmask 0xffffff00 broadcast 192.168.120.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: lagg0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 11 priority 128 path cost 2000000

What else does anyone need to help track this very critical issue down?
I have scoured logs to no avail.
I can repeatedly duplicate this with every reboot.
I am also obviously running jails, and Virtualbox.

Discussion

  • Corey DeLasaux
    Corey DeLasaux
    2013-10-06

    Post awaiting moderation.