No Internet access when VMware workstations manually configure centos 7 ip address

Virtual machine system using DHCP to obtain ip address on the external network can be normal, but instead manually configure IT address not being able to access, but not ping physical machine addresses, but the physical machine can ping the virtual machine. Toss for a long time, later found to be manually setting ip address, gateway configuration error. NIC virtual machine using NAT mode, and set the following address coincides gateway virtual machine Linux system:
Here Insert Picture Description

Here Insert Picture Description
Note that when DNS is configured DNS1 = 8.8.8.8, not the DNS
Here Insert Picture Description
modify the / etc / sysconfig / network-scripts / ifcfg-ens33 file save and exit, the implementation of
the service network restart the system can be normal online.

Published 15 original articles · won praise 10 · views 1252

Guess you like

Origin blog.csdn.net/ygh3110001606/article/details/103144116