1. Reference: https://jingyan.baidu.com/article/8275fc8675c22646a03cf6b8.html
2, because the campus network every connection is automatically get IP address, so virtual confidential do special configuration.
3, the network connection uses the NAT way, chooses the VMnet8. The IP address used by the operating system in the virtual machine requires one of the starting IP and ending IP in DHCP, and the gateway uses the gateway in the NAT settings.
4, run the command vim/etc/sysconfig/network-scripts/ifcfg-eth0 into the network configuration, press I for editing.
5.
6. After editing press ESC, use: Wq command to save and exit.
7. Use the service iptables Stop command to turn off the firewall and use the Service iptables status command to see if the firewall is turned off.
8. Restart the network with the Service Network Restart command and use the Ifconfig command to see if the network configuration is active.
9. Open the browser or use the ping command to see if the network is through.
The configuration of VMware network under the campus network