1. edit vm connection mode-edit virtual network-select bridge, and set VMnet information: Wired Network Adapter 2. set a virtual machine to select a virtual machine and configure the network adapter: select the bridge mode, that is, vmnet0. the IP address ensures that the virtual machine and the host machine are in the same network segment. If the IP address of the host machine is 192.168.0.2, the IP address of the VM should be from 192.168.0.1 to 192.168.
1. set vm connection mode
Edit-VPC edit-select Bridge, VMnet information settings: Wired Nic
2. set virtual machines
Select a virtual machine and configure the network adapter: Select the bridge mode, that is, vmnet0;
The IP address ensures that the VM and the host are in the same network segment. If the IP address of the host machine is 192.168.0.2, the IP address of the VM should be from 192.168.0.1 to 192.168.0.254.
3. bridging
In the bridge mode, the virtual machine and the host can ping each other,
I found that I can access the internet when using a dynamic IP address, but I cannot access the internet after setting a static IP address.So it is convenient to use dynamic IP during environment configuration.