Virtual Machine Network Configuration
1. Enable VMWare virtual network card If you do not see the vmnet8 network connection, open VMWare, |
2. Set the virtual machine: select the installed virtual machine and right-click to set. |
3. Set up the virtual machine system. 指令:vi /etc/sysconfig/network-scripts/ifcfg-eth0 Make the following changes: …… ONBOOT=yes …… BOOTPROTO=static IPADDR=192.168.71.8 NETMASK=255.255.255.0 GATEWAY=192.168.71.2 DNS1=192.168.71.2 …… instruction: service network restart After that, Windows and the virtual machine can ping each other, and Windows can also log in to the virtual machine remotely. |