vmware player installed on centos 7 virtual machine network can not

Software Version and Links 

Vmware-player :

https://download3.vmware.com/software/player/file/VMware-player-15.1.0-13591040.exe?HashKey=519f21832b8f14637e5f3ae0cda4a702&ext=.exe&params=%7B%22sourcefilesize%22%3A%22134.64+MB%22%2C%22dlgcode%22%3A%22PLAYER-1510%22%2C%22languagecode%22%3A%22en%22%2C%22source%22%3A%22DOWNLOADS%22%2C%22downloadtype%22%3A%22manual%22%2C%22eula%22%3A%22N%22%2C%22downloaduuid%22%3A%220eccd329-a17e-4601-9eaf-65e58af60e73%22%2C%22purchased%22%3A%22N%22%2C%22dlgtype%22%3A%22Product+Binaries%22%2C%22productversion%22%3A%2215.1.0%22%2C%22productfamily%22%3A%22VMware+Workstation+Player%22%7D&AuthKey=1560831763_738c4c48b44a9a6488022f6741d91d96&ext=.exe

 

CentOS

http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7-x86_64-DVD-1804.iso

 

At first, even the ifconfig command is also not used up, then reload

During the installation, you need to choose to install the software, check related software, network configuration using the default NAT mode

 

Enter the directory / etc / sysconfig / network-scripts

Find the beginning of the relevant documents ifcfg-, non lo documents, my installation file name is ifcfg-ens33 

 

vi / etc / sysconfig / network-scripts / ifcfg-ens33 ONBOOT check whether it is a no, changed to yes, you can restart the network

TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=ens33
UUID=92badf75-0c62-4f24-b306-10d4b7a426d1
DEVICE=ens33
ONBOOT=yes
 

Restart Network

service network restart

The method of the Internet to find all kinds, each person encountered are not the same, this article only problem I encountered

Guess you like

Origin blog.csdn.net/gs80140/article/details/92787266