Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Communication conditions between virtual machine and physical machine

Shulou Source: shulou.com Published: 2022-06-01 09:57:26 10月02日 Update

The server not only has high stability and high-speed access, but also is easy to manage, secure and easy to use, in order to reduce the energy and time cost of users in server maintenance, and focus on the development and promotion of their own business. Hundreds of millions of cloud servers are committed to providing users with the most cost-effective server!

The physical machine ip is as follows:

You can see that the vmnet1 network card is ready for use, and the ip is 192.168.248.1

So configure the virtual machine to access the Internet:

Change the virtual machine Internet access mode to the host mode, and then find the virtual machine network card to edit, as shown in the following figure

Nothing needs to be changed, just to see if the host mode is satisfied, and then configure the virtual machine ip

Point the gateway of the virtual machine to the ip of the vmnet1 of the physical machine, and change the DHCP to static

So restart the network, because I have been failing here, found that after restarting the network, I have been unable to ping the ip192.168.248.1 of the vmnet1 on the physical machine, so I looked around and found that there was no wrong ip, so I was reminded by netizens to restart the virtual machine. I found that after restarting the virtual machine, I could ping and communicate.

The server cooperates directly with the top computer rooms of many countries around the world, providing servers from Hong Kong, the United States, Japan and other countries and regions. If you need it, please contact the official customer service. High-quality server rental!

Tags: Server service physical host country method mode user network card network configuration communication maximum security next below no business global just Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei MySQL Redmi vpn Xiaomi