How to realize the host to access the virtual machine under VBox through the network
Source: Internet
Author: User
There are many ways on the internet, or too annoying, or not, always to I was not successfully used. The method introduced here is I am familiar with, is also very simple. 1: Share the local network. The Network Place-> property-> A networking connection where you can see a local connection (wireless network connection if it is wireless), and a virtual network adapter created by VBox (VirtualBox host-only Network). Right-click the local connection-> properties-> advanced, share the network to VirtualBox host-only network. At this point the system will force the VirtualBox host-only network IP address to 192.168.0.1, note this address (note: This address can be modified, the assumption is not changed here). 2: Open VBox, select virtual machine-> set-> network, turn off network connection 1 (the system defaults to enable network connection 1, and connection mode is NAT), then open Network Connection 2, connect the way to choose Host-only Adapter, network card selection VirtualBox Host-only Ethernet Adapter. 3. Start the virtual machine, enter the network settings, find eth1, manually set ip:192.168.0.8, mask:255.255.255.0, gatway:192.168.0.1. 4. Restart the network or reboot the computer, ping the virtual machine IP 192.168.0.8, if ping means successful. Otherwise please check the above steps.
Summary: 1. The core of this method is that the local network share Group VBox Virtual network card, the virtual machine and then connect to the VBox virtual network card, so as to realize the Internet, but also realize the host can access the VBox virtual machine. 2. This method realizes the host access virtual machine, and satisfies the requirement of the virtual machine's extranet.
If your host is via proxy, you need to find the proxy server address and set it to the virtual net proxy.
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.