One, first open the virtual machine, find my computer, select the computer you want to open, set the network configuration model
Second, the input ip addr in linux
Third, the NIC configuration for static IP
1. Open the configuration file eno16777736
2. Enter: vi / etc / sysconfig / network-scripts / ifcfg-eno16777736
3. The need to ONBBOOT set to yes
First press the i button to locate edit the default value no ONBOOT changed to yes, and then press the ESC key, after the: wq complete the save
4. Restart card services
service network restart
The network configuration of the virtual machine ip
6. test
ping baidu.com