Configuration benefits:
1 do not occupy the intranet IP
2 fixed post-configuration some can not be changed
Note: Log in with the root user
1 Get your own IP address ifconfig
Get my IP address is 192.168.239.128
2 Get the gateway address Netstat-ar
My gateway address is 192.168.239.2.
3 Get DNS Address more/etc/reslov.conf
The corresponding Nameservice is 192.168.239.2
The corresponding search domain is Localdomian
4 Configuration System->network Connection->ipv4 settings
Select Methods:manual
5 Restart Network command
Service Network restart
If you report this mistake,
bringing up interface Eth0:Error:No suitable device found:no device found for connection ' System eth0 '.
[FAILED]
Edit the correct hwaddr address:
Vim/etc/udev/rules.d/70-persistent-net.rules
To go to ifconfig and get the hwaddr.
Virtual machine linux bridging fixed IP