Host access to Ubuntu in virtualbox

Source: Internet
Author: User

Bin (to write to me) original blog (http://blog.csdn.net/binbinxyz), reprint please indicate the source!


The Nat mode enables the virtual system to use the NAT (Network Address Translation) function. You do not need to perform any other configuration, but only need the host machine to access the Internet, the virtual machine system accesses the public network through the network of the host machine.
The relationship between a virtual system in the bridge mode and the host machine is like connecting two computers on the same hub. If you want them to communicate with each other, You need to configure the IP address and subnet mask for the virtual system. Otherwise, the communication will fail.


The current host uses a wireless network card to automatically obtain the IP address to access the Internet. The network information is as follows:


Two NICs are configured for Ubuntu in the virtual machine. The network adapter uses Nat to access the Internet, and the network adapter uses bridging to access the host.


In this case, the network adapter automatically obtains the IP address, and the network adapter needs to manually configure the IP address (within the same network segment as the host ).


In this case, the VM system can access the Internet like the host, and the host can also access the VM system.


Host access to Ubuntu in virtualbox

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.