ifconfig_em0="-vlanhwtag up"
ifconfig_em1="-vlanhwtag up"
ifconfig_em2="-vlanhwtag up"
ifconfig_em3="-vlanhwtag up"
cloned_interfaces="lagg0 vlan10"
ifconfig_lagg0="laggproto lacp laggport em0 laggport em1 laggport em2 laggport em3 up"
ifconfig_vlan10="vlan 10 vlandev lagg0 192.168.10.2/24"
ifconfig_em0="rxcsum txcsum -tso -lro promisc polling -vlanhwtag up" # Keep TSO disabled!!!
vermaden said:@vbelousov
I remember that people reported, that em driver has a bug that prevents this (vlan over lagg) because if they moved to Realtek cards (with re driver), vlan over lagg worked like a charm, check mailing lists/ask developers/submit a bug.
m1m1n0 said:Code:ifconfig_em0="rxcsum txcsum -tso -lro promisc polling -vlanhwtag up" # Keep TSO disabled!!!
dam23 said:Works just fine here, thanks a lot for sharing the workaround.
This is saving me the troublesome and very dirty solution of not tagging VLANs anymore and splitting my interfaces, 1 per access vlan on the switch, without redundancy.
em0: <Intel(R) PRO/1000 Network Connection 6.9.21> port 0xdce0-0xdcff mem 0xfd9e0000-0xfd9fffff,0xfd9c0000-0xfd9dffff irq 16 at device 0.0 on pci10
em0: Using MSI interrupt
em0: [FILTER]
em0: Ethernet address: 00:15:17:ff:d8:1e
---------------
em0@pci0:10:0:0: class=0x020000 card=0x135e8086 chip=0x105e8086 rev=0x06 hdr=0x00
vendor = 'Intel Corporation'
device = 'HP NC360T PCIe DP Gigabit Server Adapter (n1e5132)'
class = network
subclass = ethernet
---------------
Intel PRO/1000 PT Dual Port Server Adapter (82571)
FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 21:11:58 UTC 2010
em0: <Intel(R) PRO/1000 Network Connection 6.9.14> port 0xdce0-0xdcff mem 0xfc3e0000-0xfc3fffff,0xfc3c0000-0xfc3dffff irq 16 at device 0.0 on pci12
em1: <Intel(R) PRO/1000 Network Connection 6.9.14> port 0xdcc0-0xdcdf mem 0xfc3a0000-0xfc3bffff,0xfc380000-0xfc39ffff irq 17 at device 0.1 on pci12
em0@pci0:12:0:0: class=0x020000 card=0x135e8086 chip=0x105e8086 rev=0x06 hdr=0x00
em1@pci0:12:0:1: class=0x020000 card=0x135e8086 chip=0x105e8086 rev=0x06 hdr=0x00
ifconfig_em0="-vlanhwtag -lro -tso up"
ifconfig_em1="-vlanhwtag -lro -tso up"
ifconfig_lagg0="laggproto failover laggport em0 laggport em1"
ifconfig_vlan16="inet [snip] vlan 16 vlandev lagg0"
cloned_interfaces="lagg0 lagg1 vlan666 vlan16 vlan26 vlan36 carp0 carp1 carp2"
jbhappy said:A patch for this issue has been developed by Ermal Luçi so that disabling hardware VLAN tagging should no longer be necessary. It's in HEAD now and will be in 8-STABLE in a couple weeks and then in 8.1-RELEASE. See http://lists.freebsd.org/pipermail/freebsd-net/2010-February/024477.html.