In order to connect your Hyper-V machine with the internet will require virtual network adaptor and sharing internet via wifi network in your laptop.
- Create Virtual adaptor
- Go to Hyper V manager
- Do not select any Hyper-V machine instance
- Select machine name on left pane
- From Action menu select Virtual Switch manager
- Select Internal Only
- From right pane Select Internal
- Press the Create Virtual Switch button
- Enter name of your Virtual Switch
- Check the VLAN ID checkbox
- Click OK to save
- Select the Instance of Hyper-V machine
- Click on settings using right click or from right pane
- Select your Network adaptor from the left pane
- From Right pane
- Select your virtual adaptor from the drop down option created in step -1.8
- Check the VLAN ID check box
- Click OK
- Go to “Control Panel –> Network and Internet –> Network and Sharing Centre”
- Click “Change adaptor settings”
- Go to properties of WIFI adaptor
- Click on Sharing Tab
- Check the allow network users to connect through this computer’s internet connection.
- Click OK.
- Select the virtual LAN created in step-1 from the drop down option
- Select your Virtual Adaptor as created in step-1.8
- Go to Properties
- Double click Internet Protocol Version 4 (TCP/IPv4)
- IP address will default to 192.168.137.1
- under DNS add 8.8.8.8 and 8.8.4.4
For network connection problem click here
Advertisements