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

How GNS3 cooperates with VMware virtual machine to realize switch function

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

Share

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

In this issue, the editor will bring you about how GNS3 cooperates with VMware virtual machine to achieve switch functions. The article is rich in content and analyzes and describes for you from a professional point of view. I hope you can get something after reading this article.

Needless to say, the switch setting on GNS3 is the same as the previous VPCS virtual PC experiment, mainly replacing VPCS with the virtual machine of Windows system on VMware.

Follow the steps to add interface devices.

Use the commands config terminal (enter global mode) and no ip routing (turn off routing), and the switch setup is complete.

Next, go to the settings of the VM virtual machine, and click on the first Windows virtual machine to bind the first network card.

If the network card is not enough, click the virtual network editor below the editor of the virtual machine to add. Enter the virtual network editor interface, click change Settings, and then click add Network to add a second network card.

Then bind our second Windows virtual machine to the second network card and configure the two Windows virtual machines with the IP address of the same network segment.

]

I configured the first one with an IP192.168.8.8 subnet mask of 255.255.255.0.

Then I configured the second Windows virtual machine with a 192.168.8.10 subnet mask of 255.255.255.0, and then connected them to the switch on the GNS3 software.

Instead of adding VPCS, pay attention to the interface when adding two Host host connections.

The first uses virtual network card 1 (VMnet1), and the second uses (VMnet2) to connect to the switch.

Then I use the second host on the VM virtual machine to try to connect to the first host to see if it can be connected.

Successful, then use a Wireshark package grab software to see if you can successfully get the data sent by the two virtual machines to each other, right-click the network cable and click to run Wireshark.

OK, we have successfully cooperated with the VM virtual machine to simulate the function of a switch on GNS3.

This is how the GNS3 cooperated with the VMware virtual machine to achieve the switch function. If you happen to have similar doubts, please refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

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