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

Layer 3 switch experiment

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

Share

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

1. Experimental environment; GNS3-1.3.10

Second, the purpose of the experiment is to realize the interconnection and interworking of different VLAN through layer 3 switching.

Third, the experimental steps:

1. Open GNS3 and drag two routers to the work area.

2. Drag two more VPC to the work area.

3. Right-click the router icon to open the tab and change the name to SW1 and SW2, respectively.

4. Set SW1 to the memory of 128MiB.

5. Add a two-tier business veneer to SW1.

6. Set the memory to 128MiB for SW2.

7. Replace the SW1 icon with the switch icon.

Change the SW2 icon to the layer 3 switch icon.

9. Use a network cable to connect the good with the good.

10. Plan PC IP address, vlan range and vlan gateway.

Click to turn on all devices.

Enter conf (space) t in the SW1 tab to enter global mode, and then enter no (space) ip (space) routing to turn off the routing function.

13. Enter vlan (space) 10pm 20 to create two vlan.

14. Enter int (space) f1 to enter port mode, enter sw (space) mo (space) acc to enter the access link, and then enter sw (space) acc (space) vlan (space) 10 to delimit the port 1 into vlan10.

15. Open 1Compact 2 and enter it into vlan20 as above, and then check the vlan information.

16. Enter sw 0 port mode, enter sw (space) mo (space) t to set the link of port 1max 0 as trunk link, and then enter sw (space) t (space) en (space) dot to bind the 8.2.1qVLAN logo.

17. Check to see if the link of 1max 0 is set as a trunk link.

18. In the SW2 tab, set the link opened by 1apper0 as the trunk link and bind the 802.1qVLAN logo.

19. Bind the gateway to the virtual interface of vlan10, and enable the interface.

20. Also bind the gateway of vlan20 and enable the interface.

21. Open the tab of PC1 and configure the IP address and gateway.

22. Open the tab of PC2 and configure the IP address and gateway.

23. Enter the IP address of ping PC2 with PC, and you can see the feedback from PC2.

This experiment is successful here, thank you for reading!

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