VLAN capturing with EthUSB adapter

asked 2018-12-19 09:18:56 +0000

ihrEvg gravatar image

Hello guys,

i use Wireshark to capture some ethernet messages from my link partner, which ist connected to my pc over a D-Link DUB 1312/1332 Ethernet to USB Adapter. I enabling VLANs and set ints value to 10 in the advanced network adapter settings. And i see the responses of my link parnter in Wireshark, but not my own Messages. With another tool i can see that the Link Partner gets my ICMP requests and send responses with VLAN Tags. In Wireshark i see only the Responses but without any VLAN Tag.

I read the dicussion about the problemms with intel NIC, but in my case it is an "extern Network Card" from D-Link. My OS is win7.

edit retag flag offensive close merge delete

Comments

Usually to get the USB adapters to pass up vlans I need to disable vlan support in the adapter for this. I just assumed that when enabled in the driver, we are asking it to filter, so it is filtering and stripping for you.

Bob Jones gravatar imageBob Jones ( 2018-12-19 11:59:36 +0000 )edit

With another tool i can see that the Link Partner gets my ICMP requests and send responses with VLAN Tags.

What is the other tool, and is it running on the same machine that's running Wireshark, or is it running on another machine and capturing traffic?

Guy Harris gravatar imageGuy Harris ( 2018-12-20 03:32:21 +0000 )edit

@Bob: "I need to disable vlan support in the adapter for this." when you mean the mentioned network adapter settings, then i just tried it but it didn't help:(

@Guy: The other tools ist CANoe and it runs on the same computer.

ihrEvg gravatar imageihrEvg ( 2018-12-20 08:15:20 +0000 )edit

You see it in the CAN tool, but not in Wireshark, and also in Wireshark you only see some traffic, not what you are sending.

Sounds as if your CAN tool is causing you issues. Similar issues are reported often with antivirus/host firewall/vpn software. Some options to isolate:

  • You can uninstall the CAN software and see if it gets better
  • Try the adapter on a different PC and see if all the traffic is as-expected. Be sure it is a similar Win7 PC
  • Use a different capture mechanism, like a 3rd party tap or whatever to avoid the problem all together. This is best practice anyway, to avoid the very irregularities you describe (and others).

I don't have that Asix chipset (maybe this is it - https://wikidevi.com/wiki/D-Link_DUB-..., ASIX AX88179) but I do have an AX88772A on Win10 and I can pick up vlan tags without issue.

Bob Jones gravatar imageBob Jones ( 2018-12-20 13:32:06 +0000 )edit