I can't connect Win XP to internet using Hyper-V


I have created a new virtual machine using the Hyper-V manager within Windows 8 Pro on a PC that supports SLAT. This virtual machine runs Windows XP Pro. The Windows 8 Pro connects to the internet using a 802.11n connection, but I haven't been able to establish an network connection (also using 802.11n) to the internet from within Windows XP with sp3 in a Hyper-V virtual machine.

After inserting Integration Services in Windows XP, I see the Microsoft Hyper-V Network Adapter correctly installed in Windows XP Device Manager. When I try to establish an external connection (802.11n) using the Virtual Switch Manager, I loose the previously ok wireless connection to the internet of Windows 8 Pro.

Bottom line: I can't connect to the internet from Windows XP running in Virtual Machine of Hyper-V. Help?

November 1st, 2012 10:58pm

There could be a couple things here.

1. how are your DHCP addresses assigned?  Do you have enough available? 

2. Have you checked the box "Allow management OS to share this network adapter"

3. Have you updated your wireless NIC drivers to the most current version available from the manufacturer?

Personally, I've seen an issue where Hyper-V 3 won't connect with certain WAPs.  My Dell e6330 would connect fine to a Cisco 4410 WAP, but connect and not receive IPs from a D-Link wireless router

Free Windows Admin Tool Kit Click here and download it now
November 1st, 2012 11:51pm

There could be a couple things here.

1. how are your DHCP addresses assigned?  Do you have enough available? 

2. Have you checked the box "Allow management OS to share this network adapter"

3. Have you updated your wireless NIC drivers to the most current version available from the manufacturer?

Personally, I've seen an issue where Hyper-V 3 won't connect with certain WAPs.  My Dell e6330 would connect fine to a Cisco 4410 WAP, but connect and not receive IPs from a D-Link wireless router

November 1st, 2012 11:51pm

Using the Hyper-V Manager, you have to create a virtual switch on one of the physical NICs on your host.  Create the virtual switch as an external switch.  If you want the host to continue using the NIC, ensure that you allow management to access the switch in the virtual switch properties.

In the settings of the XP VM, connect a Network Adapter  (not the Legacy Network Adapter) to the virtual switch.  If you have DHCP on your network, you should get access.  If you don't have DHCP, you will have to manually configure the IP configuration on XP.

If that still doesn't work, please post more information about your configuration.

Free Windows Admin Tool Kit Click here and download it now
November 2nd, 2012 1:13am

Well, it's almost the end of 2012 and just installed Win 8 Pro and XP/SP3 in a virtual machine in my HP dm1 netbook. And yes, I went through the same wormhole you did tyring to connect XP to the Internet. And the MScreants where nowhere to be found; will gladly take your hard-earned dollars but leave you stranded in the middle of nowhere. So, to help keep new Win 8 victims from banging their heads up against the bloody prayer wall here's an offering that works.

How to connect Win XP guest to Internet in Hyper-V Win 8 host

1. After installing Win XP/SP 3 in a Virtual Machine under Win 8 Pro, Start the Virtual Machine and go to the Action menu and Insert Integration Services Setup Disk. No disk is actually necessary; it will automatically install the necessary components in the XP environment; restart XP.

Do not connect Ethernet cable yet. Unplug cable modem. A new Internet IP Address will be detected after first setting up the following parameters.

2. In the Virtual Switch Manager (in your Host Computer) create a New Virtual Switch and give it an identifiable name.

a) Check External Network

b) In the drop-down menu select your machines hardware network controller

c) Check: Allow management operating system to share this network adapter

d) Do NOT check VLAN ID

e) Apply/Ok

 

3. Highlight your VM in the Hyper-V Manager, left click to Settings.

a) Click: Add Hardware

b) Select Legacy Network Adapter

c) Click: Add

d) Again, do NOT check VLAN ID

e) Apply/Ok

 

4. In your host computer go to Control Panel/Network and Internet/Network Connections

a) Highlight and left click your Ethernet controller and go to Properties

b) Check: Reliable Multicast Protocol

c) Check: Hyper-V Extensible Virtual Switch

d) Click Install

e) Under the Sharing tab check: Allow other network users to connect

f) Click the Settings button and check all Internet Services

 

5. There is no need to Bridge Connections between Ethernet and vEthernet connections. (Which can be done by Ctrl selecting both and left clicking to menu item.) 

Note that this process enables the guest OS to access your hosts hardware controller but does not make it available for the host. (The icon disappears from the task bar in the host but Network Connections show it to be Enabled/Shared. Leaves connectivity column blank.)

6. Go to Win XP Control Panel and Network Connections.

a) Left click on Local Area Connection and check all Internet connection services, including TCP/IP

b) If desired, check boxes for: Show Icon, and Notify me when Ok

 

7. Go to Win XP Control Panel and Internet Options

a) Double click for Internet Properties

b) Under the Connections tab click LAN Settings and check: Automatically detect settings

       

8. Double click on the Internet Icon in the XP task bar to pull up the Local Area Connection Status box. Go to Support tab. Connect Ethernet cable and Cable modem now. Click Repair to  detect IP Address. You may have to do this a couple/three times until modem feeds address and Guest OS detects it.

  • Proposed as answer by Carlo Tanne Friday, December 28, 2012 3:08 AM
December 28th, 2012 6:07am

Well, it's almost the end of 2012 and just installed Win 8 Pro and XP/SP3 in a virtual machine in my HP dm1 netbook. And yes, I went through the same wormhole you did tyring to connect XP to the Internet. And the MScreants where nowhere to be found; will gladly take your hard-earned dollars but leave you stranded in the middle of nowhere. So, to help keep new Win 8 victims from banging their heads up against the bloody prayer wall here's an offering that works.

How to connect Win XP guest to Internet in Hyper-V Win 8 host

1. After installing Win XP/SP 3 in a Virtual Machine under Win 8 Pro, Start the Virtual Machine and go to the Action menu and Insert Integration Services Setup Disk. No disk is actually necessary; it will automatically install the necessary components in the XP environment; restart XP.

Do not connect Ethernet cable yet. Unplug cable modem. A new Internet IP Address will be detected after first setting up the following parameters.

2. In the Virtual Switch Manager (in your Host Computer) create a New Virtual Switch and give it an identifiable name.

a) Check External Network

b) In the drop-down menu select your machines hardware network controller

c) Check: Allow management operating system to share this network adapter

d) Do NOT check VLAN ID

e) Apply/Ok

 

3. Highlight your VM in the Hyper-V Manager, left click to Settings.

a) Click: Add Hardware

b) Select Legacy Network Adapter

c) Click: Add

d) Again, do NOT check VLAN ID

e) Apply/Ok

 

4. In your host computer go to Control Panel/Network and Internet/Network Connections

a) Highlight and left click your Ethernet controller and go to Properties

b) Check: Reliable Multicast Protocol

c) Check: Hyper-V Extensible Virtual Switch

d) Click Install

e) Under the Sharing tab check: Allow other network users to connect

f) Click the Settings button and check all Internet Services

 

5. There is no need to Bridge Connections between Ethernet and vEthernet connections. (Which can be done by Ctrl selecting both and left clicking to menu item.) 

Note that this process enables the guest OS to access your hosts hardware controller but does not make it available for the host. (The icon disappears from the task bar in the host but Network Connections show it to be Enabled/Shared. Leaves connectivity column blank.)

6. Go to Win XP Control Panel and Network Connections.

a) Left click on Local Area Connection and check all Internet connection services, including TCP/IP

b) If desired, check boxes for: Show Icon, and Notify me when Ok

 

7. Go to Win XP Control Panel and Internet Options

a) Double click for Internet Properties

b) Under the Connections tab click LAN Settings and check: Automatically detect settings

       

8. Double click on the Internet Icon in the XP task bar to pull up the Local Area Connection Status box. Go to Support tab. Connect Ethernet cable and Cable modem now. Click Repair to  detect IP Address. You may have to do this a couple/three times until modem feeds address and Guest OS detects it.

  • Proposed as answer by Carlo Tanne Friday, December 28, 2012 3:08 AM
Free Windows Admin Tool Kit Click here and download it now
December 28th, 2012 6:07am

I had the same problem. I just added as new Hardware a Legacy network adapter.

"Because Windows XP is an old operating system, it isn't compatible with Hyper-V's network adapter. As such, the first thing that you will need to do is add a legacy network adapter. Select the Legacy Network Adapter item, as shown, and click the Add button."

From this guide

March 16th, 2013 2:36pm

I had the same problem. I just added as new Hardware a Legacy network adapter.

"Because Windows XP is an old operating system, it isn't compatible with Hyper-V's network adapter. As such, the first thing that you will need to do is add a legacy network adapter. Select the Legacy Network Adapter item, as shown, and click the Add button."

From this guide

  • Proposed as answer by NW-PITS 19 hours 0 minutes ago
Free Windows Admin Tool Kit Click here and download it now
March 16th, 2013 2:36pm

I had the same problem. I just added as new Hardware a Legacy network adapter.

"Because Windows XP is an old operating system, it isn't compatible with Hyper-V's network adapter. As such, the first thing that you will need to do is add a legacy network adapter. Select the Legacy Network Adapter item, as shown, and click the Add button."

From this guide

  • Proposed as answer by NW-PITS Friday, March 14, 2014 3:50 PM
March 16th, 2013 2:36pm

Thank you for the link.
Free Windows Admin Tool Kit Click here and download it now
February 11th, 2014 11:57pm

1st one did the trick... thanks for the update
March 4th, 2014 1:57am

I had the same problem. I just added as new Hardware a Legacy network adapter.

"Because Windows XP is an old operating system, it isn't compatible with Hyper-V's network adapter. As such, the first thing that you will need to do is add a legacy network adapter. Select the Legacy Network Adapter item, as shown, and click the Add button."

From this guide

Finally. After two days of trying to get this to work the key was adding a Legacy Network Adapter.

Thank you

Free Windows Admin Tool Kit Click here and download it now
March 14th, 2014 11:54am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics