w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
All recieved VLAN packets are becoming Error Vlan Packets

Your vlan 802.1Q header is: 0x8100 80b4, so your vlan id should be 0xb4 = 180 decimal

See 802.1Q header here: http://en.wikipedia.org/wiki/IEEE_802.1Q

The ethertype/length is right after 0x8100 80b4, so it would be 8212. Since 8212 is larger than 0x05DC, so it's considered as an ethertype but i can't find 0x8212 as a valid etype.

So likely your packet is missing the length field. You should add the length field (2 bytes) right before 0x8212. Try it out and see if that works for you.





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.