My computer is connected to another computer via Ethernet (via a very simple unmanaged switch). I want to make the traffic between the two computers VLAN tagged with 802.1q protocol. My computer use Intel l1219-LM Ethernet network adapter.
- I used this reference to make sure I will be able to see the vlan tags while using Wireshark.
- As recommended here I updated my Intel network adapter driver so it will support VLANs over Windows 10.
- I have created a VLAN in both computers, with the VLAN tag 5.
Now- when sniffing the traffic with Wireshark I can see 3 types of packets:
Packets without any VLAN tagging, (that are sent from my computer, I assume it is OK)
Packets with VLAN tags using 802.1q protocol-
Packets with VLAN tags using ISL protocol- In those, the the Ethernet part is considered malformed because the Ethernet CRC is zeros.
(I wanted to upload images to make it more clear, but unfortunately I can't because of low reputation)
When I run a client-server application between the two computer, the other side's packets are received in the computer (can be seen in Wireshark), but not in the application. Those packets are sent only over the ISL protocol.
So my problems are-
- Why are the packets not received? Is it because of the malformed Ethernet CRC?
- How do I cause my computer to send the packets only in 802.1q protocol, rather than ISL?
And most of all-
- What is going on here?? Why does the Intel network adapter use a Cisco proprietary protocol for connection between switches? It doesn't make any sense to me...
Thank you very much, any help would be appreciated!
Edit:
I realized that I hadn't really explained what I'm trying to do, maybe it will help. I'm a security researcher, and I am trying to investigate the option to inject packets of a certain application (the client-server app I have mentioned) into an existing VLAN traffic on an existing system. In order to do that- I need the packets that are getting out of my NIC to be already VLAN tagged with the right tag. In addition, I need the other side to not ignore them because of the zeros FCS.
I don't really care about the switch between the computers (it is only there to connect the two computers...), and I'm very aware to the fact that this is not a good practice of doing things. My purpose is not to build a network, but only to test one.
Update
I removed the switch and connected the two computers directly, and the problem is still happening (I think I see only ISL this time, and not 802.1q at all). So that means the ISL is generated by my NIC, and not by the switch.
Also- I do believe I see ISL, and not some garbage, because the VLAN ID in the header is the VLAN tag that I have defined.
Any ideas?
Thanks