Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 3 down vote accepted

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 ?

share|improve this answer
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 – Saif Bechan Dec 26 '11 at 14:06
Try Host-Only, it should work. And for the dns you can use google's public dns. It's – PatrickCUDO Dec 26 '11 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. – Saif Bechan Dec 26 '11 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. – Saif Bechan Dec 26 '11 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 ! – PatrickCUDO Dec 26 '11 at 15:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .