Original: http://blog.romebuilder.com /? P = 123
1. After vbox is installed, a corresponding connection will appear during the network connection,
2. Select "Local Connection" and "virtualbox host-only network" at the same time, right-click and select "bridge ]. A Network Bridge is generated.
3. Select the virtual machine installed in the vbox and set the network connection mode. Change [connection mode] To "Host-only adapter ", interface Name: Select The Name Of The virtualbox network connection in the network connection (that is, the name of the vbox connection that is bridging with the local connection), as shown in
4. view the address information of the Network Bridge in the local connection (enter ipconfg in the command line and press Enter)
5. Start the VM and modify its network connection IP address. Set the gateway IP address of the network connection to the same address as the Network Bridge. For more information, set it to 192.168.1.1 and set the IP address of the local machine to the same network segment, it can be 192.168.1.x (X is any value in 2-255, but it cannot be the same as the allocated address ).
6. Restart the network connection in the Virtual Machine. can I access the Internet and access the virtual machine through the host ?!