Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: VM(XPmode) will not use host network connection?

02 Apr 2012   #1

windows 7
VM(XPmode) will not use host network connection?

Host Machine has 2 NIC's.
One for Private Network,192.168.x.x. This is NIC 0, or the first NIC on bus for host.
The other is a domain connection,172.23.x.x.(actually is using DHCP at the moment) This is NIC 1, or the second NIC on bus for host.

NIC 0, is a closed network and talks with my internal devices fine.
NIC 1, uses the domain connection to get to the internet, and it does. I can ping Google all day long.

I have set 2 adapters active in VM(XP mode on the host).

I want the VM adapter 1 to use NAT or Bridge, or whatever to use the host internet connection on the host NIC 1(the second host NIC). This is the main issue, it will not use it if I use NAT and DHCP or bridge and static. Even swapping host NIC 1 and NIC 2 as the 1 and 2 adapter in VM settings will not produce a shared internet connection.

My closed private 192.168.x.x works fine in VM XP mode, as I am bridging or assigning the host NIC to one of the VM adapters and configuring that adapter in VM with an IP on the same subnet as the host NIC e.g. host = VM = This connection works fine and VM uses the host to talk with all the devices on the gateway.

But I don't know why I can't get the VM adapter 1 to successfully use the internet connection of the host machine which would be the host machines second NIC(NIC 1). I thought it might be some weird with the first NIC of the host being closed and the second being domain and setting the VM adapter 1 to NAT, this of course makes me think it's looking at only the host NIC 0 for the internet connection, but host NIC 0 is for the closed. Does that makes sense. Does network sharing have to be enabled on the host machine? I didn't think it did as I'm using NAT.

Could anyone savvy that actually may be in a Net Admin position be able to understand this issue exactly and help? If you can, then your man...or women because this is challenge that has stumped me, the engineer, and my IT manager. Thanks in advance

My System SpecsSystem Spec
02 Apr 2012   #2

Windows 7 Ultimate x64

What virtualization software are you using? Are you using Microsoft Virtual PC or something like VMware or Virtualbox.

If you only use 1 NIC on your VM, and connect to the domain network, does it work then?
My System SpecsSystem Spec
03 Apr 2012   #3

windows 7

I'm using windows XPmode in W7.

If you only use 1 NIC on your VM, and connect to the domain network, does it work then?

Yes, if I disable the NIC 0(closed network, 192.168.*.*) on host machine and only have the domain NIC active and only one adapter active in Windows VM set to NAT it does not work. But if I bridge it in Windows VM, as opposed to NAT, the bridged connection is there and I can successfully ping www. from VM. Both adapters, host and VM, are using DHCP.

So it works when I disable the closed network on host machine, or NIC 0. And only one active adapter bridged to that NIC in VM.

I got that working and left those settings in place, but I enabled the closed network NIC, or NIC 0 on host machine and added another adapter, #2, to VM machine and selected to bridge the newly enabled host NIC and bridged with newly active adapter in VM while leaving my known good working setup for internet in place.
Tried to ping www. form the virtual machine and got ping request can not find host. Now that I have enabled the closed network NIC and added adapter to VM it does not let me ping out of VM.

So then I tried both host adapters enabled, closed and domain, and only one VM adapter configured or activated, and told it to bridge with the domain NIC using DHCP and it works that way as well, I can ping Google from inside of VM...but when I activate the other virtual NIC in VM(xpmode) and bridge it to either host NIC without changing anything else, I loose my ability to ping google. Also when I just have both host adapters enabled and only one VM NIC activated using NAT, it will not work, it points to the closed network NIC,NIC 0 of host machine because when you ipconfig all you see is 192.168.x.x ip. As if NAT is only using NIC 0 of the host machine, which is fine but I have not found any documentation that states that NAT only uses the first NIC of host machine?

So I'm almost thinking I should swap the NIC configs on the host machine, but I am able to get out with both host adapters active, and only one VM NIC active using bridged? So I would think as long as I bridged it, it will work, and it does until I active another virtual NIC in VM.

So that seems to be my issue, as soon as I active the second adapter in VM I loose my ability to use the host machines internet connection.
My System SpecsSystem Spec


 VM(XPmode) will not use host network connection?

Thread Tools

Similar help and support threads
Thread Forum
Local Area Network Connection is missing the from Network Connection
Greetings to everyone, based from the title itself, i having the problem which my desktop local area network connection is being missing from the Network Connection in the Network and Internet section. This problem occurred when a lightning strike was present on a specific day , which...
Network & Sharing
ssh: connect to host localhost port 22: Connection refused
i am on windows-64 bit hp machne. i installed first latest cygwin(from local directory) to run hadoop on windows,but forgot to install tcp_wrappers pacakge. so i deleted everything in C drive related to cygwin,also .ssh folder & .bashrc.profile & installed again cygwin freshly. i follow this...
bridged connection between virtualbox vm and windows host
I have a problem at bridged connection between virtualbox vm and windows host. 1. host windows 7 x64. 2. virtualbox guest scientific linux 6.2 x86 bridged adapter
Network & Sharing
XP Mode disconnects host wireless connection
I have Windows 7 Pro with XP Mode. When I start the virtual machine, my wireless connection disconnects. Rather, it remains connected except it reports that there is no internet connection. Shutting down the XP Mode virtual machine does not allow me to regain my internet connection. Repair...
How to host my Computer for remote desktop connection
Dear Guru's, I am new to networking world, and I am trying to setup my computer as a host, so that i can access it using a different machine over the internet. Host Computer OS: Windows 7 Ultimate N My Router is D-Link: DIR 615 Help me guys, i am need of it.
Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 17:55.
Twitter Facebook Google+