Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Oct 2015 19:40:26 -0400
From:      Dean Forester <dean_forester@hotmail.com>
To:        <freebsd-questions@freebsd.org>
Subject:   Re: FreeBSD 10.2 - LAGG interfaces "possible flapping" during shutdown
Message-ID:  <SNT407-EAS401184A6E05F4CA81B7618190370@phx.gbl>
In-Reply-To: <SNT148-W14DDA5BDCC26EA66A7FE3390370@phx.gbl>
References:  <SNT148-W27016E6253E337E415407090370@phx.gbl> <SNT148-W14DDA5BDCC26EA66A7FE3390370@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry the formatting got all screwed up in the Hotmail Web Interface; hopefu=
lly this is more readable.

Sent from my iPad

> Hi,
> Just in case it has an effect on things I have also included the switch si=
de of the configuration below:

> # version 5.20, Release 1513P89
> sysname HP_V1910-24G-PoE
> #
> vlan 1
> arp detection enable
> #
> vlan 101
> description MGMT VLAN - 192.168.1.0/24
> arp detection enable
> #
> vlan 102
> description VLAN 102 - 192.168.2.0/24
> arp detection enable
> #vlan 103
> description VLAN 103 - 192.168.3.0/24
> arp detection enable
> #
> interface Vlan-interface1
> ip address 192.168.0.3 255.255.255.0
> #
> interface Vlan-interface101
> ip address 192.168.1.3 255.255.255.0
> #
> interface Vlan-interface102
> ip address 192.168.2.3 255.255.255.0
> #
> interface Vlan-interface103
> ip address 192.168.3.3 255.255.255.0
> #
> interface Bridge-Aggregation2
> port link-type hybrid
> port hybrid vlan 101 to 103 tagged
> port hybrid vlan 1 untagged
> link-aggregation mode dynamic
> arp detection trust
> #
> interface GigabitEthernet1/0/5
> port link-type hybrid
> port hybrid vlan 101 to 103 tagged
> port hybrid vlan 1 untagged
> stp edged-port enable
> port link-aggregation group 2
> #
> interface GigabitEthernet1/0/6
> port link-type hybrid
> port hybrid vlan 101 to 103 tagged
> port hybrid vlan 1 untagged
> stp edged-port enable
> port link-aggregation group 2
> #
> interface GigabitEthernet1/0/7
> port link-type hybrid
> port hybrid vlan 101 to 103 tagged
> port hybrid vlan 1 untagged
> stp edged-port enable
> port link-aggregation group 2
> #
> interface GigabitEthernet1/0/8
> port link-type hybrid
> port hybrid vlan 101 to 103 tagged
> port hybrid vlan 1 untagged
> stp edged-port enable
> port link-aggregation group 2
> #

> The view of the LAGG from the system side:root@Pine:~ #  ifconfig lagg1
> lagg1: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1=
500
>  options=3D403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCS=
UM,TSO4,TSO6,VLAN_HWTSO>
>    ether a0:36:9f:64:6d:d5
>    nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>    media: Ethernet autoselect
>    status: active
>    laggproto lacp lagghash l2,l3,l4
>    laggport: igb1 flags=3D1c<ACTIVE,COLLECTING,DISTRIBUTING>
>    laggport: igb4 flags=3D1c<ACTIVE,COLLECTING,DISTRIBUTING>
>    laggport: igb7 flags=3D1c<ACTIVE,COLLECTING,DISTRIBUTING>
>    laggport: igb8 flags=3D1c<ACTIVE,COLLECTING,DISTRIBUTING>

> The one thing that I just noticed is that I have VLAN 1 untagged on the Br=
idge Aggregate 2 but I can't see how that would cause this affect. My assump=
tion is that the LAGG interface is being shutdown but the four ethernet port=
s are not; therefore the kernel notices traffic on all four ports and compla=
ins. With this same server I also have another LAGG setup that is going to a=
 Cisco SG200-26 switch (which carries VLAN 104 and VLAN 105) with the same i=
ssue. All 8 interfaces show up during the shutdown after the Uptime message w=
ith the Interface stopped DISTRIBUTING, possible flapping issue.

> My main concern at this point is how can I do a complete system reboot fro=
m remote without it hanging with no access to the power button or console.

> Regards,
> Dean
>=20
> From: dean_forester@hotmail.com
> To: freebsd-questions@freebsd.org
> Subject: FreeBSD 10.2 - LAGG interfaces "possible flapping" during shutdow=
n
> Date: Tue, 6 Oct 2015 12:28:01 -0400
>=20
>=20
>=20
>=20
> Hi
>=20
> I am having an issue with a new FreeBSD 10.2-RELEASE system when using LAG=
Gs. Everything works fine until I try to do a reboot of the system. With thi=
s issue the system does a shutdown but reports an error with the interfaces t=
hat belong to the LAGG (which also have VLANs define) and then halts, it wil=
l not reboot; a power cycle is required.
>=20
> root@Pine:~ # uname -a
> FreeBSD Pine.local 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 1=
2 15:26:37 UTC 2015     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GE=
NERIC  amd64
>=20
> /etc/rc.conf:
> if_vlan_load=3D"YES"
> # HP V1910-24G Switch Trunk
> ifconfig_igb1=3D"up mtu 1500"
> ifconfig_igb4=3D"up mtu 1500"
> ifconfig_igb7=3D"up mtu 1500"
> ifconfig_igb8=3D"up mtu 1500"
> # Setup new Virtual Interfaces
> cloned_interfaces=3D"lagg1 vlan101 vlan102 vlan103"
> # LAGG Configuration
> ifconfig_lagg1=3D"laggproto lacp laggport igb1 laggport igb4 laggport igb7=
 laggport igb8"
> # Setup VLANs
> ifconfig_vlan101=3D"inet 192.168.1.208/24 vlan 101 vlandev lagg1"
> ifconfig_vlan102=3D"inet 192.168.2.208/24 vlan 102 vlandev lagg1"
> ifconfig_vlan103=3D"inet 192.168.3.208/24 vlan 103 vlandev lagg1"
> # Setup extra IPs for Layer 3 Load Balancing
> ifconfig_vlan101_aliases=3D"inet 192.168.1.209/32"
> ifconfig_vlan102_aliases=3D"inet 192.168.2.209/32"
> ifconfig_vlan103_aliases=3D"inet 192.168.3.209/32"
>=20
> Errors on shutdown -r now
>=20
>=20
> Uptime: 3d20h44m15sigb8: Interface stopped DISTRIBUTING,
> possible flappingigb1: Interface stopped DISTRIBUTING,
> possible flapping
>=20
> igb7: Interface stopped DISTRIBUTING,
> possible flapping
>=20
> igb4: Interface stopped DISTRIBUTING,
> possible flapping
>=20
>=20
>=20
>=20
>=20
>=20
> Has anyone else run into this behavior with LAGGs and VLANs? Any help woul=
d greatly be appreciated.
>=20
> Regards,
>=20
> Dean Forester
> dean_forester@hotmail.com
>=20
>                                                  =20
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or=
g"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SNT407-EAS401184A6E05F4CA81B7618190370>