
2, open the "edit" - "virtual network editor" - "change Settings"
Click VMnet8, select the following mode of NAT, check the "will host virtual adapter to connect to the network, a subnet IP is set to the required network segment, experimental 192.168.1.10, for example,
So the network segment and subnet mask Settings are as follows:

Click on "NAT mode", click ok after setting the gateway, take 192.168.1.254


Set after the completion of the "application"

3, open a terminal and into the root model

4, into the/etc/sysconfig/network - scripts/directory, check card ens33

5, edit the network adapter configuration information

6, configure the IP, subnet mask and gateway, ONBOOT from NO to YES
(gateway must be set before and gateway)

In addition, by pressing the Esc key, shift + colon, input wq save exit, type the command IP addr view HWADDR, and copy, as the chart

Again into the nic ens33, vim ifcfg - ens33 join HWADDR=00:0 c: then: 60: DE, save out
7, restart the network systemctl restart network. The service/service network restart

8, view your IP address, ifconfig

9, ping gateway and domain name, found that the domain name can't

Open/etc/resolv. Conf, configure the following

save after, can to the ping ping, the network configuration is complete