Hi guys,
I was trying to capture a 802.1q packet from a trunk port,but it wasn't successed.
My topology is PC---SW(aruba 1500)--controller(3600).
From PC to SW is access port which belongs to VLAN 10; from SW to controller is trunk port which allows all the vlans.
Also I set 2 SVIs in the SW,interface vlan 10 = 192.168.10.1/24, interface vlan 20 = 192.168.20.1/24.
The PC's IP address is 192.168.10.2/24,its gateway is 192.168.10.1.
In the controller,I set a SVI which is interface vlan 20,IP address is 192.168.20.2/24,
For now, I can easily ping 192.168.20.2(the IP address of controller) from PC side, but when I captured the ICMP packets from the trunk port, it only showed ethernet II protocol and IP protocol, and nothing between them.
The three ways I used to capture the packet:
1,Mirroring the trunk interface in controller.
2,Mirroring the trunk interface in SW.
3,Add a hub between the SW and controller.
Also I tried to change the setting of my NIC card,enable vlan tagging or disable it.
Please someone tell me, where am I wrong?
PS:I can capture the 802.1q packet from the GNS3 with the CIsco IOS.