Able to create a VLAN and ping a device in that subnet
Actual:
Ping doesn’t work to VLAN subnet. Only outbound packets seem to increase.
I have a device connected directly to the Orin with IP 192.168.2.3
Replicate:
sudo ip link set dev eth1 up
sudo ip addr add dev eth1 192.168.2.10/24
ping 192.168.2.3
< ping successful >
Okay, lets create a VLAN and try the same ping
remove IP from physical interface:
sudo ip link del dev eth1 192.168.2.10
Add VLAN and same address, try ping
sudo ip link add dev eth1.2 link eth1 type vlan id 2
sudo ip link set dev eth1.2 up
sudo ip addr add dev eth1.2 192.168.2.10/24
ping 192.168.2.3
< Ping unsuccessful >
Is this a known issue with L4T 36.4? VLANs don’t seem to be working at all.
I am using the sample root filesystem without building the kernel from source, flashed using initrd
I haven’t tried 35, but just flashed 36.3 and same issue is present. It appears to be a duplicate of this. Wondering why it hasn’t been pushed upstream
Maybe you could take a look first. If they are there and you still reproduce this issue, please share the whole setup and steps to reproduce your issue.
Interesting, maybe the issue lies with the Seeed 3rd party carrier board that I am using. All other ethernet functionality seems to work though, so I would find it odd that the carrier is the root cause.
Orin NX is not using nvethernet driver at all but PCIe based solution with Realtek PCIe NIC driver. Therefore, I think this could be an issue that is not from our driver.
That makes sense, it’s showing that driver r8168 is managing eth0, so not an NVIDIA Driver. I tried to see if using r8169 would fix the VLAN issue by enabling it in the kernel defconfig, but didn’t change the behavior. Do you have any ideas of potential avenues to get this working? It seems that the Realtek PCIe Ethernet controller should support VLANs.