Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The configuration of Trunk-- experiment

2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Configuration experiment of Trunk

First of all, open GNS3, configure 2 routes and 4 PCs, connect them with network cable as shown in the picture, and display the port and open them. As shown in the figure:

Double-click to open sw1 and sw2, as shown below:

Edit the vlan and IP addresses at this time for easy identification. If the experiment is successful, then PC1 and PC3 can communicate, and PC2 and PC4 can communicate with each other.

After entering, first turn off the routing function, configure VLAN10,20, and check it after configuration.

The next step is to enter the port and put the port in the VLAN. Enter the SW1 and put the f1amp 0 f1Acer 1 into vlan10 and 20, respectively, and check it. As shown in the figure:

Similarly, configure SW2, as shown in the figure:

Next we need to use f1amp 2 as a relay. After entering according to the command, at this time we enter

Do show int F1 switchport 2, we can see that the trunk has been set up.

By the same token, set sw2 as shown in the figure

After the setup is complete, we open four PCs and set the IP address separately. In PING, check to see if it is interconnected.

Interworking between PC1 and PC3

PC2 and PC4 are interconnected!

The experiment was successful!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report