Using VirtualBox to install Ubuntu virtual machines under XP before, it is easy to configure network connections. Use NAT to surf the Internet; using bridging, the host can access the virtual machine. That is, the configuration of 2 network cards can be. Underneath the Win7, it's totally not the same thing. NAT can be used to access the Internet, but the bridge network card, configuration is a lot of trouble. Bridge using static address, the host can access the virtual machine, but will cause virtual machine access to the network, Ping Baidu did not respond; bridge using dynamic address, virtual function access to the extranet, but the host cannot access the virtual machine. Churn the process, encountered a lot of trouble. Later on the internet to put the dog, found a solution, Mark here. In simple terms, use host only + bridging the network card.
The host is using WiFi connectivity, which can cause your problems to differ from mine. Open the Control Panel-> Network and internet-> Network and Sharing Center, as I have shown:
Select the above wireless network connection and eject the following dialog box:
Select the Properties button in the lower-left corner: