当前位置:网站首页>Virtual machine - network configuration

Virtual machine - network configuration

2022-06-25 00:20:00 Dream_ xang

virtual machine - The network configuration

This paper mainly introduces , Network configuration of virtual machine , I have found many methods on the Internet without a very detailed method , For a white man like me , I really scratched my ears and cheeks for a long time , Finally , While the memory is still fresh , Make a note of .

I was in win10 Installation on system Vmware15, operational .

Vmware15 Download link : link :https://pan.baidu.com/s/1rnYjK1Og2oUNsTXkWaZqfw  Extraction code :e8bk . The specific installation steps are self-contained .

1. This machine Vmware Related service settings

The local machine does not start the related services, resulting in the setting of the virtual machine NAT、 You can't bridge a network connection . Press the menu key on this computer +R, Open the command line , Input services.msc, Turn on Service Management . Here's the picture :

Open the service , And then find Vmware Related services , And open :

Mainly the above two services , If it cannot be opened , open “ attribute ”, take “ Start type ” Set to “ Automatically ”, Then try , Turn on the service again , If you are not at ease , hold Vmware All relevant services are enabled .

2. Establish virtual machine network connection

Virtual machine menu bar - edit - Virtual machine network editor , Click the bottom right corner of the pop-up window “ change setting ”, Then you can add the network ., Add a network , I added all three modes , What I choose to use is NAT Connect , mainly NAT Set up , Everything else is similar to .

After adding the network , Open a network connection to this computer , You will see the virtual network card you added .VMnet8 Namely NAT Network connection in mode .

 

Next, let's look at virtual machine network editing , After adding the network , Choose VMnet8 Make other relevant settings , Click on NAT Set button , To gateway IP Set it up , Next is the point .

gateway IP:192.168.182.2( This gateway needs attention , All the gateways below should be consistent

subnet IP Set up :192.168.182.0 (IP Can't repeat

Subnet mask :255.255.255.0

3. Local network configuration

Set the virtual machine IP after , On this computer VMware Network Adapter VMnet8 Set it up .

First, connect the local Ethernet ( That is, which one you can set up online ) Set to share . Right click - attribute - Shared tab bar , Set up “ Allow other networks through this computer's Internet Connect to connect ”, And select VMware Network Adapter VMnet8.

then , Yes VMware Network Adapter VMnet8 Network configuration , Note that the default gateway must be consistent :

4. Virtual machine network selection

Virtual machines choose to use NAT Connect :

 

After basically completing the above steps, the network setting is completed . The order is a little messy , You can set it first .

There are two reasons for the problems I encounter here :

1. The network configurator in the lower right corner of the virtual machine is green , But it keeps prompting that the network cable is unplugged . In this case, the network is not set to , Virtual network card for local sharing settings , It is inconsistent with the network connection method you have chosen .

2. The network configurator in the lower right corner of the virtual machine is green , Prompt that the network is not recognized , The situation is The default gateway And IP There's something wrong with the settings .

 

 

 

原网站

版权声明
本文为[Dream_ xang]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202210550591019.html