How to access Guest (Windows XP) Internet from Host (Windows 7) in VMware Workstation?

1

I am using a 3G USB modem in Windows 7 64-bit. For some odd reason, it gives me a BSOD whenever I try to connect it. What I did is installed Windows XP SP2, in VMware and now I can use it inside the GUEST OS.

How can I use this Internet connection in Windows XP (GUEST) from Windows 7 (HOST)? (I haven't changed any default setting, yet.)

Osman Ali

Posted 2011-06-23T13:46:09.537

Reputation: 11

Answers

0

I'd try to update my drivers with the 3G modem, but to answer your question, follow this guide from Microsoft. Here's a summary:

How to use Internet Connection Sharing
To use Internet Connection Sharing to share your Internet connection, the host
computer must have one network adapter that is configured to connect to the internal
network, and one network adapter or modem that is configured to connect to the 
Internet.

On the host computer
On the host computer, follow these steps to share the Internet connection:

Log on to the host computer as Administrator or as Owner.
Click Start, and then click Control Panel.
Click Network and Internet Connections.
Click Network Connections.
Right-click the connection that you use to connect to the Internet. For example,
if you connect to the Internet by using a modem, right-click the connection that you
want under Dial-up.
Click Properties.
Click the Advanced tab.
Under Internet Connection Sharing, select the Allow other network users to connect
through this computer's Internet connection check box.
If you are sharing a dial-up Internet connection, select the Establish a dial-up
connection whenever a computer on my network attempts to access the Internet check box 
if you want to permit your computer to automatically connect to the Internet.
Click OK. You receive the following message:
When Internet Connection Sharing is enabled, your LAN adapter will be set to use IP
address 192.168.0.1. Your computer may lose connectivity with other computers on
your network. If these other computers have static IP addresses, it is a good idea to
set them
to obtain their IP addresses automatically. Are you sure you want to enable Internet
Connection Sharing?
Click Yes.

The connection to the Internet is shared to other computers on the local area
network (LAN). The network adapter that is connected to the LAN is configured with a
static IP address of 192.168.0.1 and a subnet mask of 255.255.255.0

You'll need to have two network adapters on the XP system, but with VMware it should be as easy as adding it and rebooting the virtual machine. Then, just add the IP of the XP machine as the gateway for the Windows 7 machine. The link I provided details how to do this.

Tyler Faile

Posted 2011-06-23T13:46:09.537

Reputation: 2 706