Packet Analysis 3

Source: Internet
Author: User
Packet Analysis 3

I. Tutorial Purpose

SW1's G0/1 G0/2 interfaces are all hybrid ports. G0/1 belongs to VLAN 2, while G0/2 belongs to VLAN 3. What configurations do you need to add to connect two PCs?

 

Ii. Experiment 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/wKioL1RMgoqCHl7zAAC0TaysHnE901.jpg "width =" 454 "Height =" 305 "alt =" wkiol1rmgoqchl7zaac0w.shne901.jpg "/>

Analysis

PC1 sends a packet. the destination address is PC2, And the G0/1 interface of SW1 is the hybrid port. It tags the pC1 packet with VLAN 2 and receives the packet. G0/2 belongs to VLAN 3, all pC1 and PC2 cannot communicate with each other. Now, add a configuration in the G0/1 interface of SW1, allowing VLAN 3 to pass through without tags, add a packet that allows VLAN 2 to pass the test without a tag.

 

PC1 sends a data packet with the target address PC2 and SW1's G0/1 interface as the hybrid port, and receives the data packet with the label of VLAN 2, the G0/2 interface allows packets of VLAN 2 to pass through without tags. Therefore, packets of pC1 are sent without tags on the G0/2 interface of sw2, and PC2 receives

 

Back package:

PC2 replies to a data packet. the destination address is pC1, and SW1's G0/2 interface is the hybrid port, which is tagged with VLAN 3 for receiving data packets, the G0/1 interface allows packets of VLAN 3 to pass through without tags. Therefore, packets of Pc2 are sent without tags on the G0/1 interface of sw2, and pC1 receives

 

Therefore, pC1 can communicate with pc2.


Packet Analysis 3

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.