Wireshark is widely used for Ethernet communication development.I have some projects need testing the Ethernet packets with & without VLAN tag. In this case, we need consider the following conditions for validation.
- The publisher send the packets with/without VLAN tag
- The Ethernet Switch can be setup to keep/remove the VLAN tag
- The subscriber may see / not see the VLAN tag depend on the OS and driver configuration.
Typically wireshark is used as a validation tool. Here is the link from wireshark
https://wiki.wireshark.org/CaptureSetup/VLAN
My environment is windows + USB3 Ethernet Adapter (ASIX AX88179), there is an solution from the vendor to capture/keep VLAN tag in the driver:
Please set the "Packet Priority & VLAN" parameter of ASIX USB to LAN Windows drivers to "Packet Priority & VLAN Disable" to capture the VLAN tagged packets on WireShark.
Top comments (0)