Network Connection Bridging Mode of vmwarevm.
Three Network modes will be provided after the vmwarevm is installed. The corresponding network connection names are
Bridged (Bridge Mode) VMnet0
NAT (network address translation mode) VMnet8
Host-only (Host mode) VMnet1
The bridge mode provides a real local environment for virtual machines and host systems. It can be understood as two independent operating systems running on the same computer, the VM host is another machine in the LAN.
Host System
123 |
IPv4 address ......: 192.168.2.52 Subnet Mask ......: 255.255.255.0 Default Gateway ......: 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 |
Use them as the two different device configurations of the LAN. When the destination host unreachable is displayed in ping, check whether the VM's network connection to VMnet0 has selected a network adapter.
Welcome to my personal website