After the VMware virtual machine is installed, three network modes are provided, and the corresponding network connection names are
Bridged (bridging mode) VMnet0
NAT (network address translation mode) VMnet8
Host-only (host mode) VMnet1
Bridging mode provides a real local environment for the operating system and hosting system provided by the virtual machine, which can be understood as two separate operating systems running on the same computer, and the virtual machine host is the other machine on the LAN.
Host system
123 |
ipv4 address . . . . . . . . . . . . : 192.168.2.52
 
subnet mask . . . . . . . . . . . . : 255.255.255.0
 
默认网关. . . . . . . . . . . . . : 192.168.2.1
|
Virtual machine System
123456 |
device=eth0
onboot=
yes
bootproto=static
ipaddr=192.168.2.99
netmask=255.255.255.0
GATEWAY=192.168.2.1
|
Consider them as two different device configuration of LAN, when Ping appears destination host unreachable , check the virtual machine above network connection VMnet0 whether the network adapter is selected
Welcome everyone to visit my personal website Meng Meng's IT People
Bridging mode for network connectivity for VMware virtual machines