My Life in WordsAll about information and technology
|
System OSThe host OS: Ubuntu 16.04 The Guest OS: CentOS 7.2 Virtualbox version: 5.1.18 Connect Guest to the InternetSet VM network by VM->Settings->Network. Attached to "NAT Network". Make sure the Name is the default setting as "NatNetwork" and keep the Advanced setting unchanged, so it will choose the right Adapter Type and keep the Cable Connected. Connect the Guest and the HostSet VM network by VM->Settings->Network. Attached to "Host-only Adapter". Keep the others as default. Maybe the Name is blank. If you may meet an error like as"VERR_INTNET_FLT_IF_NOT_FOUND" when start the VM, you can fix it by manually create host-only adapter. $vboxmanage hostonlyif create The back to VM->Settings->Network. Make sure the Name of Host-only Adapter is vboxnet0. Configure Inside of the VMInside of the Guest, you just need to up the network adapter. Open Application->System Tools->Settings->Network, turn on the two Ethernet. Run ifconfig to check the network adapter information. The network adapter that ip address is 10.0.x.x would be used to connect to the Internet. The network adapter that ip address is 192.168.x.x would be used to connect with the host. Issues You May MeetIf you meet "Device not Managed", and it can't be solved even if you follow the instruction at https://askubuntu.com/questions/71159/network-manager-says-device-not-managed. You can fix it follow these steps:
0 Comments
Leave a Reply. |
AuthorThis is a blog that is about my works on Benchmarking Performance, Compiling Optimization, Optimize Compile, Parallel Programming, Virtualization, Container, Docker, Moby, Linuxkit, Open Source and any others. Archives
August 2018
Categories |