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 basic Operation of switch and the Application of GNS3 Software

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

Share

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

1. Use the built-in vpc connection switch to achieve interconnection.

Open the GNS3 software and drag out a router:

Right-click to change the name to the icon of the switch:

Right-click to open configure and add the business veneer of the switch:

Add two more PCs to come in

Connect the three with the console line. Note that the vmnet1,PC2 port is selected for the PC1 port. The switch port that starts with vmnet2; switch 1 is selected. Do not connect incorrectly:

Start running:

Enter global mode in CRT and enter no ip routing to clear the routing function:

Configure pci with ip 192.168.8.8 255.255.255.0:

Configure ip 192.168.8.10 255.255.255.0 for pc2, issue the command to connect to pc2 in pc1, and find that the two pc realize the interconnection of data:

two。 Use vmware to connect the switches in GNS3 to achieve interconnection.

First set the virtual machine 1 network adapter to vmnet1 (only connected to the host), set the virtual machine 2 network adapter to vmnet2 (only connected to the host), and then connect the switch and two host machines one by one in GNS3 (vmnet1 port is selected for host1 and vmnet2 port is selected for host2):

Set ip to 192.168.8.8 for virtual machine 1, set ip to 192.168.8.10 for virtual machine 2, and turn off the firewalls of both systems to avoid interruptions in data transmission and reception:

Then click run capture to capture the data package:

Connect the host of 192.168.8.10 in the command box of virtual machine 1, which shows that the packet capture is successful and the two systems can be interconnected:

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