Date: Thu, 07 Nov 2019 17:40:50 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 241785] [vlan][lagg] creating vlan over lagg causes flapping Message-ID: <bug-241785-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241785 Bug ID: 241785 Summary: [vlan][lagg] creating vlan over lagg causes flapping Product: Base System Version: 12.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: konrad.kreciwilk@korbank.pl Hello, Starting of 12-STABLE (I do not know revision numer) up to 12.1-RELEASE I notice a problem with vlans over laggport. I have INTEL 82599 (ix0, ix1) and create a lagg(LACP): root@:~ # ifconfig lagg0 create root@:~ # ifconfig lagg0 laggproto lacp laggport ix0 laggport ix1 and vlans: root@:~ # ifconfig vlan3960 create root@:~ # ifconfig vlan3960 vlan 3960 vlandev lagg0 ifconfig output: ix0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3De53fbb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSU= M,TSO4,TSO6,LRO,WOL_UCAST,WOL_MCAST,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCS= UM_IPV6,TXCSUM_IPV6> ether a0:36:9f:1d:db:4c media: Ethernet autoselect (10Gbase-Twinax <full-duplex,rxpause,txpause>) status: active nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> ix1: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3De53fbb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSU= M,TSO4,TSO6,LRO,WOL_UCAST,WOL_MCAST,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCS= UM_IPV6,TXCSUM_IPV6> ether a0:36:9f:1d:db:4c hwaddr a0:36:9f:1d:db:4e media: Ethernet autoselect (10Gbase-Twinax <full-duplex,rxpause,txpause>) status: active nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=3D680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL> lagg0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 15= 00 options=3De53fbb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSU= M,TSO4,TSO6,LRO,WOL_UCAST,WOL_MCAST,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCS= UM_IPV6,TXCSUM_IPV6> ether a0:36:9f:1d:db:4c laggproto lacp lagghash l2,l3,l4 laggport: ix0 flags=3D1c<ACTIVE,COLLECTING,DISTRIBUTING> laggport: ix1 flags=3D1c<ACTIVE,COLLECTING,DISTRIBUTING> groups: lagg media: Ethernet autoselect status: active nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> vlan3960: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu= 1500 options=3D600703<RXCSUM,TXCSUM,TSO4,TSO6,LRO,RXCSUM_IPV6,TXCSUM_IPV= 6> ether a0:36:9f:1d:db:4c inet 212.127.xx.xx netmask 0xfffffffc broadcast 212.127.92.255 groups: vlan vlan: 3960 vlanpcp: 0 parent interface: lagg0 media: Ethernet autoselect status: active nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> next, creating new vlan causes a port flapping (ix0,ix1 and whole lagg0): root@:~ # ifconfig vlan100 create root@:~ # ifconfig vlan100 vlan 100 vlandev lagg0 root@:~ # ifconfig vlan200 create root@:~ # ifconfig vlan200 vlan 200 vlandev lagg0 dmesg output: vlan3960: link state changed to UP ix0: link state changed to DOWN ix1: link state changed to DOWN lagg0: link state changed to DOWN vlan3960: link state changed to DOWN vlan100: link state changed to DOWN ix0: link state changed to UP ix1: link state changed to UP lagg0: link state changed to UP vlan3960: link state changed to UP vlan100: link state changed to UP ix0: link state changed to DOWN ix1: link state changed to DOWN lagg0: link state changed to DOWN vlan3960: link state changed to DOWN vlan100: link state changed to DOWN vlan200: link state changed to DOWN ix0: link state changed to UP ix1: link state changed to UP lagg0: link state changed to UP vlan3960: link state changed to UP vlan100: link state changed to UP vlan200: link state changed to UP Its happend for example on 12.0-STABLE #0 r344658M, 12.1-RELEASE. I use a diffrent hardware, only networkcard (based on INTEL 82599 chipset) is the s= ame. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241785-227>