Tools/Materials
- Computer with virtual machine Linux installed
1. Linux Network settings:
- 1
Click "System"-"Preferences" and "Network Connections", as shown in:
- 2
Click Wired--"System eth0"--"Edit" as shown in:
- 3
Tick "Connect automaticlly", then click "IPv4 Settings", select "Automatic (DHCP)" In the method below, and finally click "Apply" as shown in:
END
2, restore the virtual network default settings (in the off-screen state):
- 1
Click Edit---Virtual network editor, as shown in:
- 2
Click "Restore default Settings" as shown in:
END
3, set the virtual machine to go to the Internet mode for NAT:
- 1
In the virtual machine state, double-click Network adapter as shown in:
- 2
Tick "Connect at startup", check "NAT mode", and then click "OK" as shown:
END
4, witness the results:
- 1
After the above settings, first on the host on the Internet, and then start the virtual machine Linux, nothing to do, directly open Firefox can surf the web.
END
Precautions
- The author uses Rhel 6.0, the interface may be different from yours, but the operation method is the same;
- If you feel that this experience is helpful to you, please cast your precious vote below, thank you!
- Direct copy "Long month such as Hook _365" to Baidu Search, can see the author more experience;
Virtual Machine Linux is not easy to access the Internet simple and effective solution