Has been used on the virtual machine is CentOS pure command line interface, a bit before restarting the default network card (command: ifdown ens33, ifup ens33)
The results Xshell is to face off, and Rom.
Baidu a bit and found a virtual machine is the first time a network connection with the VMnet8, CentOS there are no arrangements gateway.
Solution:
vim /etc/resolv.conf
Add nameserver 114.114.114.114 to later.