Bug #8527
closedVLANs losing parent interface on LAGG change
100%
Description
Hi, I am using 2.4.3_1 and seem to be experiencing a regression of Issue 3976 https://redmine.pfsense.org/issues/3976
Any change to a LAGG property like MTU causes all my VLANs on that LAGG to loose its parent interface. Removing all VLAN Interfaces and the VLAN definitions and rebuilding them seems to be the only work around.. I have lots of VLANS!
This also seems to affect HA configuration sync, the syncing itself kills the standby server's VLAN interfaces.
lagg0.130: flags=8803<UP,BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> ether 3c:fd:fe:9f:d9:58 inet6 fe80::3efd:feff:fe9f:d958%lagg0.130 prefixlen 64 tentative scopeid 0x19 inet 10.112.130.3 netmask 0xffffff00 broadcast 10.112.130.255 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> vlan: 0 vlanpcp: 0 parent interface: <none> groups: vlan lagg0.300: flags=8803<UP,BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> ether 3c:fd:fe:9f:d9:58 inet6 fe80::3efd:feff:fe9f:d958%lagg0.300 prefixlen 64 tentative scopeid 0x1a nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> vlan: 0 vlanpcp: 0 parent interface: <none> groups: vlan lagg0.301: flags=8803<UP,BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> ether 3c:fd:fe:9f:d9:58 inet6 fe80::3efd:feff:fe9f:d958%lagg0.301 prefixlen 64 tentative scopeid 0x1b nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> vlan: 0 vlanpcp: 0 parent interface: <none> groups: vlan lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=6400bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6> ether 3c:fd:fe:9f:d9:58 inet6 fe80::3efd:feff:fe9f:d958%lagg0 prefixlen 64 scopeid 0xb nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect status: active groups: lagg laggproto lacp lagghash l2,l3,l4 laggport: ixl0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING> laggport: ixl1 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING> laggport: ixl2 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING> laggport: ixl3 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
Files
Updated by Jim Pingle over 6 years ago
- Assignee set to Luiz Souza
- Target version set to 2.4.4
Updated by Adam Sweet over 6 years ago
Can I ask if any investigation has been done on this or whether anyone else has been able to replicate it? This will bite me after upgrading to 2.4.3-p1 which is planned shortly for a production environment. I note the assignee hasn't logged in for 6 weeks and I can't find any reports of this on the forums or elsewhere.
The reporter states "This also seems to affect HA configuration sync, the syncing itself kills the standby server's VLAN interfaces." Would this occur only when making LAGG/interfaces changes, or when making any config change, unrelated to interfaces at all?
Updated by Luiz Souza over 6 years ago
- Status changed from 13 to Feedback
I can't reproduce this, tested on 2.4.3 and 2.4.4.
Steps:
1 - Create LAGG;
2 - Add VLANs to LAGG;
3 - Edit LAGG.
VLANs are still there, parent interface is (correctly) set.
Is there something else that I'm missing or that I should test ?
Updated by Anonymous over 6 years ago
Following the same steps as Luiz, I am also unable to recreate the issue on 2.4.4.a.20180817.2020.
Updated by Vladimir Lind over 6 years ago
I can't replicate also - created 3 vlan's on a top of Lagg, assigned vlan's and Lagg interfaces, enabled, assigned IP on all of them. Then changed MTU to 9000 on Lagg. Vlan's didn't loose its parent interface.
Updated by Constantine Kormashev over 6 years ago
- File lagg_vlan_issue.tgz lagg_vlan_issue.tgz added
I am able to reproduce the issue on VM with latest dev factory
VLANs have not parent after changing MTU to 9000 on LAGG
lagg0.100: flags=8803<UP,BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> ether 00:0c:29:15:bc:45 inet6 fe80::20c:29ff:fe15:bc45%lagg0.100 prefixlen 64 tentative scopeid 0xa inet 10.0.1.2 netmask 0xffffff00 broadcast 10.0.1.255 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> vlan: 0 vlanpcp: 0 parent interface: <none> groups: vlan lagg0.200: flags=8803<UP,BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> ether 00:0c:29:15:bc:45 inet6 fe80::20c:29ff:fe15:bc45%lagg0.200 prefixlen 64 tentative scopeid 0xb inet 10.0.2.2 netmask 0xffffff00 broadcast 10.0.2.255 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> vlan: 0 vlanpcp: 0 parent interface: <none> groups: vlan lagg0.300: flags=8803<UP,BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> ether 00:0c:29:15:bc:45 inet6 fe80::20c:29ff:fe15:bc45%lagg0.300 prefixlen 64 tentative scopeid 0xc inet 10.0.3.2 netmask 0xffffff00 broadcast 10.0.3.255 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> vlan: 0 vlanpcp: 0 parent interface: <none> groups: vlan lagg0.400: flags=8803<UP,BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> ether 00:0c:29:15:bc:45 inet6 fe80::20c:29ff:fe15:bc45%lagg0.400 prefixlen 64 tentative scopeid 0xd inet 10.0.4.2 netmask 0xffffff00 broadcast 10.0.4.255 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> vlan: 0 vlanpcp: 0 parent interface: <none> groups: vlan lagg0.1001: flags=8803<UP,BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> ether 00:0c:29:15:bc:45 inet6 fe80::20c:29ff:fe15:bc45%lagg0.1001 prefixlen 64 tentative scopeid 0xe inet 10.0.5.2 netmask 0xffffff00 broadcast 10.0.5.255 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> vlan: 0 vlanpcp: 0 parent interface: <none> groups: vlan lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000 options=60009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,RXCSUM_IPV6,TXCSUM_IPV6> ether 00:0c:29:15:bc:45 inet6 fe80::20c:29ff:fe15:bc45%lagg0 prefixlen 64 scopeid 0x9 inet 10.0.0.2 netmask 0xffffff00 broadcast 10.0.0.255 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect status: active groups: lagg laggproto failover lagghash l2,l3,l4 laggport: vmx3 flags=5<MASTER,ACTIVE>
Changing MTU on VLAN interface affects nothing, MTU is still the same.
<opt2> <descr><![CDATA[LAGG]]></descr> <if>lagg0</if> <enable></enable> <spoofmac></spoofmac> <media>autoselect</media> <ipaddr>10.0.0.2</ipaddr> <subnet>24</subnet> <mtu>9000</mtu> </opt2> <opt3> <descr><![CDATA[OPT3]]></descr> <if>lagg0.100</if> <enable></enable> <spoofmac></spoofmac> <ipaddr>10.0.1.2</ipaddr> <subnet>24</subnet> <mtu>9000</mtu> </opt3>
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000 options=60009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,RXCSUM_IPV6,TXCSUM_IPV6> ether 00:0c:29:15:bc:45 inet6 fe80::20c:29ff:fe15:bc45%lagg0 prefixlen 64 scopeid 0x9 inet 10.0.0.2 netmask 0xffffff00 broadcast 10.0.0.255 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect status: active groups: lagg laggproto failover lagghash l2,l3,l4 laggport: vmx3 flags=5<MASTER,ACTIVE> lagg0.100: flags=8803<UP,BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> ether 00:0c:29:15:bc:45 inet6 fe80::20c:29ff:fe15:bc45%lagg0.100 prefixlen 64 tentative scopeid 0xa inet 10.0.1.2 netmask 0xffffff00 broadcast 10.0.1.255 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> vlan: 0 vlanpcp: 0 parent interface: <none> groups: vlan
status_output is in attach
Updated by Constantine Kormashev over 6 years ago
- Status changed from Feedback to Assigned
Updated by Luiz Souza over 6 years ago
- Status changed from 13 to Feedback
- % Done changed from 0 to 100
Waiting the next -RC build.
Updated by Azamat Khakimyanov over 6 years ago
I still saw this issue on 2.4.4.r.20180905.2249
Updated by Steve Wheeler over 6 years ago
- Status changed from Feedback to Resolved
I tested this in 2.4.4r and was unable to replicate the issue.
I created and assigned a 3 interface LAGG and added VLANs on that using igb NICs. I edited the lagg to remove an interface and also edited the assigned lagg interface to change the MTU.
The VLANs retained their parent in each case.
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=6500bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6> ether 00:08:a2:0d:16:12 inet6 fe80::208:a2ff:fe0d:1612%lagg0 prefixlen 64 scopeid 0xb nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect status: no carrier groups: lagg laggproto lacp lagghash l2,l3,l4 laggport: igb3 flags=0<> laggport: igb4 flags=0<> laggport: igb5 flags=0<> lagg0.20: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> ether 00:08:a2:0d:16:12 inet6 fe80::208:a2ff:fe0d:1612%lagg0.20 prefixlen 64 scopeid 0xc nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect status: no carrier vlan: 20 vlanpcp: 0 parent interface: lagg0 groups: vlan lagg0.30: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> ether 00:08:a2:0d:16:12 inet6 fe80::208:a2ff:fe0d:1612%lagg0.30 prefixlen 64 scopeid 0xd nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect status: no carrier vlan: 30 vlanpcp: 0 parent interface: lagg0 groups: vlan lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=6500bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6> ether 00:08:a2:0d:16:12 inet6 fe80::208:a2ff:fe0d:1612%lagg0 prefixlen 64 scopeid 0xb nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect status: no carrier groups: lagg laggproto lacp lagghash l2,l3,l4 laggport: igb3 flags=0<> laggport: igb4 flags=0<> lagg0.20: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> ether 00:08:a2:0d:16:12 inet6 fe80::208:a2ff:fe0d:1612%lagg0.20 prefixlen 64 scopeid 0xc nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect status: no carrier vlan: 20 vlanpcp: 0 parent interface: lagg0 groups: vlan lagg0.30: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> ether 00:08:a2:0d:16:12 inet6 fe80::208:a2ff:fe0d:1612%lagg0.30 prefixlen 64 scopeid 0xd nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect status: no carrier vlan: 30 vlanpcp: 0 parent interface: lagg0 groups: vlan lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 5999 options=6500bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6> ether 00:08:a2:0d:16:12 inet6 fe80::208:a2ff:fe0d:1612%lagg0 prefixlen 64 scopeid 0xb nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect status: no carrier groups: lagg laggproto lacp lagghash l2,l3,l4 laggport: igb3 flags=0<> laggport: igb4 flags=0<> lagg0.20: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 5999 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> ether 00:08:a2:0d:16:12 inet6 fe80::208:a2ff:fe0d:1612%lagg0.20 prefixlen 64 scopeid 0xc nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect status: no carrier vlan: 20 vlanpcp: 0 parent interface: lagg0 groups: vlan lagg0.30: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 5999 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> ether 00:08:a2:0d:16:12 inet6 fe80::208:a2ff:fe0d:1612%lagg0.30 prefixlen 64 scopeid 0xd nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect status: no carrier vlan: 30 vlanpcp: 0 parent interface: lagg0 groups: vlan
I also repeated the test in hardware with em NICs with the same results:
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=1209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWFILTER> ether 00:90:7f:87:dc:78 inet6 fe80::290:7fff:fe87:dc78%lagg0 prefixlen 64 scopeid 0x12 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect status: no carrier groups: lagg laggproto lacp lagghash l2,l3,l4 laggport: em3 flags=0<> laggport: em4 flags=0<> laggport: em5 flags=0<> lagg0.20: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=3<RXCSUM,TXCSUM> ether 00:90:7f:87:dc:78 inet6 fe80::290:7fff:fe87:dc78%lagg0.20 prefixlen 64 scopeid 0xc nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect status: no carrier vlan: 20 vlanpcp: 0 parent interface: lagg0 groups: vlan lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000 options=1209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWFILTER> ether 00:90:7f:87:dc:78 inet6 fe80::290:7fff:fe87:dc78%lagg0 prefixlen 64 scopeid 0x12 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect status: no carrier groups: lagg laggproto lacp lagghash l2,l3,l4 laggport: em3 flags=0<> laggport: em4 flags=0<> laggport: em5 flags=0<> lagg0.20: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000 options=3<RXCSUM,TXCSUM> ether 00:90:7f:87:dc:78 inet6 fe80::290:7fff:fe87:dc78%lagg0.20 prefixlen 64 scopeid 0xc nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect status: no carrier vlan: 20 vlanpcp: 0 parent interface: lagg0 groups: vlan lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000 options=1209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWFILTER> ether 00:90:7f:87:dc:78 inet6 fe80::290:7fff:fe87:dc79%lagg0 prefixlen 64 scopeid 0x12 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect status: no carrier groups: lagg laggproto lacp lagghash l2,l3,l4 laggport: em4 flags=0<> laggport: em5 flags=0<> lagg0.20: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000 options=3<RXCSUM,TXCSUM> ether 00:90:7f:87:dc:78 inet6 fe80::290:7fff:fe87:dc79%lagg0.20 prefixlen 64 scopeid 0xc nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect status: no carrier vlan: 20 vlanpcp: 0 parent interface: lagg0 groups: vlan