asimov-solensan
Contributor
- Joined
- Oct 14, 2016
- Messages
- 113
Hello,
I really need help with this. I finally upgraded to truenas and it broke a feature critical on my setup.
I have got a VM bridged to a physical interface with no configuration in freenas. This VM manages the vlan tagging and the interface is connected to a trunk port in a switch.
Worked like this for years without issue but after upgrading to truenas this stopped working. For instance:
From the VM I try to ping a machine in VLAN13 (192.168.13.1 - 192.168.13.254) but the ARP request gets lost at some point. Check that the packet is correctly tagged in the physical interface.
To be sure I also connected to a VLAN13 port in the switch to confirm the problem is not in the switch.
After many tests I finally decided to go back to freenas and try again. Same netwoek configuration, same VM, same switch, all exactly the same and it works again.
The only difference I found between 11.3 and 12 is in the interface configuration:
11.3
12
Does anyone know anything about this problem. How can I enable that option in 11.3 to confirm if it was causing the problem?
Thanks in advance
I really need help with this. I finally upgraded to truenas and it broke a feature critical on my setup.
I have got a VM bridged to a physical interface with no configuration in freenas. This VM manages the vlan tagging and the interface is connected to a trunk port in a switch.
Worked like this for years without issue but after upgrading to truenas this stopped working. For instance:
From the VM I try to ping a machine in VLAN13 (192.168.13.1 - 192.168.13.254) but the ARP request gets lost at some point. Check that the packet is correctly tagged in the physical interface.
I also checked that connecting a computer to the interface it is correctly tagging packets.root@lavochkin:~ # tcpdump -i em2 -nn -e vlan
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on em2, link-type EN10MB (Ethernet), capture size 262144 bytes
09:35:01.344641 00:a0:98:06:00:2e > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 64: vlan 13, p 0, ethertype ARP, Request who-has 192.168.13.254 tell 192.168.13.1, length 46
09:35:01.498001 00:a0:98:43:a8:14 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 64: vlan 17, p 0, ethertype ARP, Request who-has 192.168.17.20 tell 192.168.17.22, length 46
root@charcoal2:/home/asimov# tcpdump -i enx00e04c30eed2 -nn -e vlan
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on enx00e04c30eed2, link-type EN10MB (Ethernet), capture size 262144 bytes
09:51:39.155214 0c:c4:7a:cf:86:d2 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 64: vlan 17, p 0, ethertype ARP, Request who-has 192.168.17.20 tell 192.168.17.10, length 46
09:51:39.323703 00:a0:98:06:00:2e > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 64: vlan 13, p 0, ethertype ARP, Request who-has 192.168.13.254 tell 192.168.13.1, length 46
09:51:40.412825 00:a0:98:06:00:2e > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 64: vlan 13, p 0, ethertype ARP, Request who-has 192.168.13.254 tell 192.168.13.1, length 46
To be sure I also connected to a VLAN13 port in the switch to confirm the problem is not in the switch.
And finally tested pinging a machine with tcpdump running (192.168.13.222). To confirm it is answering to the ARP request.tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on enx00e04c30eed2, link-type EN10MB (Ethernet), capture size 262144 bytes
09:59:02.672190 ARP, Request who-has 192.168.13.254 tell 192.168.13.1, length 46
09:59:03.760964 ARP, Request who-has 192.168.13.254 tell 192.168.13.1, length 46
But the reply seems to be dropped because I cannot capture it on the freenas physical interface.root@charcoal2:/home/asimov# tcpdump -i wlp2s0 -nn
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on wlp2s0, link-type EN10MB (Ethernet), capture size 262144 bytes
10:27:56.472361 ARP, Request who-has 192.168.13.222 tell 192.168.13.1, length 46
10:27:56.472384 ARP, Reply 192.168.13.222 is-at b0:35:9f:be:d1:ec, length 28
10:27:57.086887 ARP, Request who-has 192.168.13.254 tell 192.168.13.1, length 46
10:27:57.496316 ARP, Request who-has 192.168.13.222 tell 192.168.13.1, length 46
After many tests I finally decided to go back to freenas and try again. Same netwoek configuration, same VM, same switch, all exactly the same and it works again.
I fear that truenas is behaving differently but I don't know were is the problem. And getting this working is mandatory for mys setup.root@lavochkin:~ # tcpdump -i em2 -nn -e vlan | grep 192.168.13.1. | grep 192.168.13.254
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on em2, link-type EN10MB (Ethernet), capture size 262144 bytes
13:15:34.065473 00:a0:98:06:00:2e > 88:5d:fb:c9:3e:c4, ethertype 802.1Q (0x8100), length 102: vlan 13, p 0, ethertype IPv4, 192.168.13.1 > 192.168.13.254: ICMP echo request, id 18769, seq 0, length 64
13:15:34.066012 88:5d:fb:c9:3e:c4 > 00:a0:98:06:00:2e, ethertype 802.1Q (0x8100), length 102: vlan 13, p 1, ethertype IPv4, 192.168.13.254 > 192.168.13.1: ICMP echo reply, id 18769, seq 0, length 64
13:15:35.089865 00:a0:98:06:00:2e > 88:5d:fb:c9:3e:c4, ethertype 802.1Q (0x8100), length 102: vlan 13, p 0, ethertype IPv4, 192.168.13.1 > 192.168.13.254: ICMP echo request, id 18769, seq 1, length 64
13:15:35.090266 88:5d:fb:c9:3e:c4 > 00:a0:98:06:00:2e, ethertype 802.1Q (0x8100), length 102: vlan 13, p 1, ethertype IPv4, 192.168.13.254 > 192.168.13.1: ICMP echo reply, id 18769, seq 1, length 64
The only difference I found between 11.3 and 12 is in the interface configuration:
11.3
em2: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
description: em2 TRUNK externo
options=98<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
ether 00:15:17:2e:65:a3
hwaddr 00:15:17:2e:65:a3
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
12
Maybe the most remarkable difference is the option VLAN_HWFILTER. Not present in 11.3.em2: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
description: em2 TRUNK externo
options=810099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,VLAN_HWFILTER>
ether 00:15:17:2e:65:a3
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
nd6 options=9<PERFORMNUD,IFDISABLED>
Does anyone know anything about this problem. How can I enable that option in 11.3 to confirm if it was causing the problem?
Thanks in advance