Ok this is a little bit strange, I hope you will understand.

I have an internet stick, that only works in windows XP. My laptop is running Windows 7 64 bit. So I have set up vmware, with a windows xp virtual machine. I added and installed the usb internet stick, and I have internet inside my virtual machine.

Now I want to share this internet connection I have inside my virtual machine, with my host machine, the windows 7 laptop.

Does this make any sense to anyone, and if so, does anyone know a way to accomplish this.

1 Answer 1


Maybe if you set static IPs for both host and the VM network adapter, and set the VM IP as the default gateway on your host, it may work.
Can you try it and share the result here ?

  • OK I will try this. But do I use a host-only, bridged, or NAT connection. And I I set the ip's what should I fill in the preffred DNS section Dec 26, 2011 at 14:06
  • Try Host-Only, it should work. And for the dns you can use google's public dns. It's Dec 26, 2011 at 14:50
  • Sorry I tried it but I did not get it to work, I am horrible at this tcp IP stuff. I had it host-only, vm was and gateway was, and for the host ip was and gateway Was this correct. Or can you maybe expand your answer with some concrete numbers I can fill in. I would appreciate it a lot. Dec 26, 2011 at 15:12
  • The result I got was that internet failed on both VM and Host. Internet connection sharing is enabled on the interface of the stick by the way, and the LAN connection does not have ICS option. Is this ok, or should I change this. Dec 26, 2011 at 15:14
  • Hum okay. Yes because your VM now tries to get to to access internet. And this IP doesn't exist. Yeah i'm not a TCP/IP expert either, but we can figure it out. On your VM you should have 2 network adapters : your usb stick, and a virtual network adapter. The host tries to contact the virtual network adapter, and then use the USB one to get to the internet. Let's say. Try to configure your VM this way : ip : mask : gateway : none (because you're the gateway). By the way, you should be able to access internet on the VM anytime ! Dec 26, 2011 at 15:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.