Under Win_10 VMWare virtual machine (Centos7) How to configure network

If you then perform the following operations in the future or not, please call himself a slap , then click here .

1, network connection - WLAN (wireless network I) - Right-click the attribute - set according to the following FIG.

 2, network connection -WMware Network Adapter- right click Properties - set according to the following FIG.

3, VMware setting editing - Virtual Network Editor (the VMnet8 configuration, i.e. net pattern, below)

4, set the current virtual machine, I was centos7, as shown below

 

 

 5, test ping www.baidu.com, following the network configuration was successful.

If the name or service not known after the ping www.baidu.com, follow the steps below.

First execute cd / etc / sysconfig / network-scripts

In the execution chmod 777 ifcfg-ens33 (different systems may be different, but all ifcfg - ** Digital format)

Vi ifcfg-ens33 then execute an edit, save after editing, and then performing service network restart

Guess you like

Origin www.cnblogs.com/zhumiao/p/12650245.html