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 to connect a virtual machine using nat mode

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

Share

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

Step 1: Open VMware Editor and click Virtual Network Editor

Select VMnet8 mode

Click below to change settings

Set the subnet ip, subnet ip arbitrarily set yourself, because it is nat mode, VMware will automatically convert the mapping address, my local address this time is 192.168.0.122, and then I do not want to have duplication with the host, so I set it to 10.168.5.0.

After setting up, set up DHCP, click DHCP to enter the settings

Set your DHCP address range.

Step 2: Set up your VMnet8 virtual network card

Note that this address must be the address of a segment in VMware that you set, and I set it as its gateway here.

The third step is to configure the ip file of the virtual machine. I believe everyone will configure this, so I won't talk about it in detail.

Note: After this configuration, I can ping each other, but one day suddenly I don't know why ping doesn't work. The final modification method is as follows:

At this point open your host computer Internet card, enter the interface as shown below

Follow the diagram, then ping, ping each other.

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