I have a switch in which all ports are in default vlan i.e. 1 Now I attach a client to port#2 and a tcpdump on port#3 Client can generate packets of vlan (say with tag 1). I expect those packets to be received by sniffer. Both the ports are access ports and ingress rule is configured to accept tagged and untagged.
Still when I run my packet generator(vlan packets with id 1) on client it is not received by sniffer. When I send IPV4 packets they are received by sniffer.
Now I convert both ports to trunk and run packet generator(vlan packets with id 1). Sniffer receives the packet now.
I dont know whether this is the problem of packet generator or switch. Could anyone suggest something on this?
Here is my packet description :00:57:15.233007 12:12:12:12:12:12 (oui Unknown) > Broadcast, ethertype 802.1Q (0x8100), length 60: vlan 1, p 0, CFI, LLC, dsap Null (0x00), ssap 802.1B I (0x02), cmd 0x03: Unnumbered, ui, Flags [Command], length 42 0x0000: ffff ffff ffff 1212 1212 1212 8100 1001 ................ 0x0010: 020f 0102 0304 0506 0708 090a 0b0c 0b0c ................ 0x0020: 0d00 0000 0000 0000 0000 0000 0000 ..............