VLAN Packet Analysis 2
Lab Topology
650) This. width = 650; "src =" http://home.51cto.com/thumb.php? W = 600 & H = 600 & t = F & url = http://s3.51cto.com/wyfs02/M02/4D/22/wKioL1RMd_qwpJafAADf8h3gv04302.jpg "width =" 476 "Height =" 357 "alt =" wkiol1rmd_qwpjafaadf8h3gv04302.jpg "/>
PC1 sends a packet destined for PC2. SW1's G0/1 interface receives the packet because G0/1 is an access port and belongs to vlan3. All packets labeled with VLAN 3 are received, the G0/2 interface of SW1 is trunk, PVID is 3, and the label of the packet sent by pC1 is 3. All are sent without the label. The G0/2 interface of sw2 is the access port, vlan3 receives a non-tagged data frame and receives all the packets labeled with vlan3. the G0/1 interface of sw2 is access and also belongs to vlan3, all data frames will be forwarded in this interface, because the G0/1 of sw2 is access and belongs to vlan3, and all the labels are removed and sent to PC2. After receiving the packets, PC2 sends the packets back to pc1, send a data frame. sw2 receives data from the G0/1 interface. The G0/1 interface is an access port and belongs to vlan3. It is tagged with vlan3. the G0/2 interface of sw2 is also an access port, for vlan3, all packets that forward PC2 are removed from the tag and sent to the G0/2 interface of SW1. the G0/2 interface of SW1 is the trunk port, when trunk receives a non-tagged data frame, it uses its own PVID as the tag. All data frames received by SW1 in PC2 are tagged with vlan3 and forwarded in vlan3, the G0/1 interface of SW1 is access, which belongs to vlan3. All the interfaces will be sent to pC1 with their labels removed.
Packet Analysis 2