The notebook is equipped with an Ethernet card and a wireless network card, and Windows Server 2008 R2 is installed. Recently, a Hyper-V virtual machine was created to learn about Linux and Ubuntu Desktop 12.04 LTS was installed on the virtual machine. Due to frequent Wi-Fi access, Hyper-V virtual machines cannot access the Internet using the wireless network card of the host system by default, which is said to be out of security considerations. Later, the problem was solved by referring to "Using Wireless with Hyper-V". The specific setting steps are as follows:
Www.2cto.com STEP 1: create an internal virtual network STEP 2: bridge the internal virtual network and Wireless Network
Www.2cto.com STEP 3: Set the network adapter of the Virtual Machine
Note: After completing the above settings, start the Hyper-V Virtual Machine and find that the virtual machine still cannot use Wi-Fi to access the Internet, because the virtual machine's network configuration is the same as the wireless network configuration obtained through DHCP in the notebook, so I decided to restart the wireless connection of the notebook. The IP address conflict prompt box is displayed when the wireless connection of the notebook is disconnected. The pop-up time of this prompt box is a bit strange!
Www.2cto.com
After the wireless connection is restarted, The Notebook gets a new wireless network configuration through DHCP, while the virtual machine still maintains the previous network configuration. At this time, both the notebook and the virtual machine can use Wi-Fi to access the Internet. The procedure is as follows: (1) start Wi-Fi; (2) start virtual machine; (3) Disable Wi-Fi; (4) Restart Wi-Fi.