|02 Apr 2012||#1|
| || |
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 = 192.168.1.30 VM = 192.168.1.31. 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 Specs|
|03 Apr 2012||#3|
| || |
I'm using windows XPmode in Windows 7.
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. Google.com 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. Google.com 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 Specs|
|Similar help and support threads for2: VM(XPmode) will not use host network connection?|
|VPN host sluggish internet connection, but network is fine||Network & Sharing|
|XPMode loosing connection to host||Virtualization|
|bridged connection between virtualbox vm and windows host||Network & Sharing|
|Internet connection works but network icon shows no network connection||Network & Sharing|
|XP Mode disconnects host wireless connection||Virtualization|
|How to host my Computer for remote desktop connection||Network & Sharing|
|Client PC no longer get internet connection from Host.||Network & Sharing|
|Our Sites ||Site Links ||About Us ||Find Us |
© Designer Media Ltd
All times are GMT -5. The time now is 08:58 PM.