Packet Analysis 2

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.