SUMMARY
This step-by-step article describes how to configure and
troubleshoot Internet connections in Virtual PC for Macintosh.
Troubleshooting network communication problems can be complicated. This article only describes the basic steps to
troubleshoot the problems that you may most likely experience in a Virtual PC
virtual machine.
For more detailed information about troubleshooting
TCP/IP and networking problems, see the Microsoft KB articles that are listed in the
"
REFERENCES" section of this article.
back to the topNetwork Options
You can use any of the following methods to connect a Microsoft
Windows virtual machine to the Internet:
- Virtual Switch
Use this option if you want to do basic tasks, but also must connect to a Windows NT domain, share files with other windows systems, use specific ports to make
connections, or network between the host operating system and the guest
operating system. - Shared Networking
Use this option if you want to view Web pages, check your e-mail
for messages, search FTP sites, and do other basic tasks online. You can use
this option if the host Macintosh computer is constantly connected to the Internet with
a modem. - Modem
Use this option if your host Macintosh computer is not connected directly
to a network or is connected to the Internet intermittently. You must use a
modem from within the guest operating system.
Before you configure networking, update your operating
system and your copy of Virtual PC.
To update your version of Mac OS
9, follow these steps:
- Point to the Apple menu, and then click Control
Panels.
- Click Software Update.
- Click Update Now, and then follow the instructions that appear on the screen
to install the latest version.
To update your version of Mac OS X, follow these steps:
- On the Dock, click System Preferences.
- Click Software Update.
- On the Update Software tab, click
Check Now, and then follow the instructions that appear on the screen
to install the latest version.
Contact Microsoft Product Support for information about
how to obtain the most recent update to Connectix Virtual PC for Mac version 5. To download the
most recent update to Virtual PC for Mac version 6, visit the following Microsoft Web site:
Use the following table to determine what version of Virtual PC you can use
with your Macintosh operating system:
Mac Operating System Version | Virtual PC Version |
Mac OS 9.1.1, 9.2.2, or Mac OS 10.1.5 | 5.0.4 |
Mac OS 9.2.2 or Mac OS 10.2.6 | 6.0.1 |
Mac OS 9.2.2 or Mac OS 10.2.6 | 6.1 |
back to the
topVirtual Switch
Virtual Switch sets up a separate IP address for the virtual
machine. You can fix this IP address or configure it dynamically with
DHCP.
Note Microsoft does not recommend using Virtual Switch when the host
Macintosh computer is connected to a network with AirPort or other wireless
networking.
To configure
Virtual Switch, follow these steps:
- Start Virtual PC.
- Click the virtual machine in the Virtual PC list, and then
click Settings.
Note If you cannot see the Virtual PC list, click Virtual PC, and then click Virtual PC List. - Click Networking, and then click to select
Enable Networking.
- Click Virtual Switch, and then click
OK.
- Click Start Up.
Note Because there are several versions of Microsoft Windows, the
following steps may be different on your computer. If they are, see your
product documentation to complete these steps.
- In the Windows virtual machine, start Microsoft Internet Explorer. If
the New Connection Wizard does not start, follow these steps:
- On the Tools menu, click
Internet Options.
- On the Connections
tab, click Setup.
- Click Next.
- Click Connect to the Internet, and then
click Next.
- Click Set up my connection manually, and
then click Next.
- Click Connect using a broadband connection that is
always on, and then click Next.
- Click Finish.
If you cannot connect to the Internet, see the "
Troubleshooting"
section of this article.
back to the
topShared Networking
You can use Shared Networking when the host Macintosh computer is
always connected to a network with an Ethernet cable, AirPort or other wireless
networking, or with a modem to an Internet Service Provider or network. The
host Macintosh computer must establish a connection before you start the virtual machine.
To configure Shared Networking, follow these steps:
- Start Virtual PC.
- Click the virtual machine in the Virtual PC list, and then
click Settings.
Note If you cannot see the Virtual PC list, click Virtual PC, and then click Virtual PC List. - Click Networking, and then click to select
Enable Networking.
- Click Shared Networking, and then click
OK.
- Click Start Up.
Note Because there are several versions of Microsoft Windows, the
following steps may be different on your computer. If they are, see your
product documentation to complete these steps.
- In the Windows virtual machine, start Internet Explorer. If
the New Connection Wizard does not start, follow these steps:
- On the Tools menu, click
Internet Options.
- On the Connections
tab, click Setup.
- Click Next.
- Click Connect to the Internet, and then
click Next.
- Click Set up my connection manually, and
then click Next.
- Click Connect using a broadband connection that is
always on, and then click Next.
- Click Finish.
If the connection fails, see the "
Troubleshooting" section of this article.
back to the topModem
You can connect to the Internet or a network with a modem. You can use the
modem only to connect when the host Macintosh computer or other virtual
machines are not using the modem.
To configure networking with a
modem, follow these steps:
- Start Virtual PC.
- Click the virtual machine in the Virtual PC list, and then
click Settings.
Note If you cannot see the Virtual PC list, click Virtual PC, and then click Virtual PC List. - Click Networking, and then click to clear
the Enable Networking check box.
- Click COM1 Port, and then click
Mac serial port.
- Point to modem, and then click your modem.
- Click to clear the Advanced Settings check box, and then
click OK.
- Click Start Up.
Note Because there are several versions of Microsoft Windows, the
following steps may be different on your computer. If they are, see your
product documentation to complete these steps.
- In the Windows virtual machine, point to
Start, and then click Control Panel.
- Double-click Phone and Modem Options.
- If you are prompted for the location information, type the
information, and then click OK.
- On the Modems tab, click
Add.
- Click to select the Don't
detect my modem; I will select it from a list. check box, and then
click Next.
- Under Manufacturer, click Standard
Modem Types.
- Under Models, click (Standard
56000 bps Modem).
Note This may appear as Generic v.90 56000 bps Modem
or Standard 56000 bps V90 Modem. - Click Next.
- Click COM1, and then click
Next.
- Click Finish, and then click
OK.
- Start Internet Explorer. If the New Connection Wizard does
not start, follow these steps:
Note Because there are several versions of Microsoft Windows, the
following steps may be different on your computer. If they are, see your
product documentation to complete these steps.
- On the Tools menu, click
Internet Options.
- On the Connections
tab, click Setup.
- Click Next.
- Click Connect to the Internet, and then
click Next.
- Click Set up my connection manually, and
then click Next.
- Click Connect using a dial-up modem, and
then click Next.
- Follow the instructions that appear on the screen to configure the connection to your
Internet Service Provider (ISP).
- On the Tools menu, click Internet
Options.
- On the Connections
tab, click Always dial my default connection, and then click
OK.
- Close Internet Explorer, and then start Internet Explorer.
back to the
topTroubleshooting
Any of the following issues can cause problems when you try to
connect to the Internet:
- The host Macintosh computer has physical connection problems such as
problems with the cables or the network adapter.
- Windows cannot contact a DHCP server.
- Windows cannot contact a DNS server.
- Virtual Switch and AirPort are not compatible.
Use the following sections to troubleshoot Internet connection
problems.
back to the
topCheck Macintosh Connectivity
If you are using Shared Networking or Virtual Switch, any
problems that affect the host Macintosh computer also affect the virtual machines that use
Shared Networking.
Verify that the host Macintosh can connect to the Internet.
If you cannot connect to Web sites, or if the Internet browser only displays
offline versions of Web sites, the host Macintosh computer may have connectivity problems. For
help to solve this problem, visit the following Apple support Web
sites:
Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
back to the topTest the Name Resolution
A DNS server provides host name resolution. If you cannot
connect to the Internet, there may be an issue with the DNS configuration. To
determine whether there is an issue with the DNS configuration of your dial-up
connection to your ISP, follow these steps:
- At a command prompt, type:
- Press ENTER.
Either of the following behaviors occur:
- If the computer can contact the DNS server to translate Microsoft.com to an IP address, a reply appears that is similar to the
following reply:
Pinging microsoft.com [207.46.245.222] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 207.46.245.222:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
- If the computer cannot contact the DNS server to translate Microsoft.com to an IP address, a reply appears that is similar to the
following reply:
Ping request could not find host microsoft.com. Please check the name and try again.
back to the
topVerify That DHCP is Working
To verify if DHCP is working correctly in Virtual PC, follow the
instructions for your specific operating system. Windows 95, Windows 98, Windows 98 Second Edition, and Windows Millennium Edition To view your IP settings, follow these steps:
- Click Start, click Run,
type winipcfg, and then click OK.
- In the Ethernet Adapter Information box,
select the network adapter.
- Click More Info to view the complete
details.
To reset your IP settings, follow these steps:
- Click Start, click Run,
type winipcfg, and then click OK.
- In the Ethernet Adapter Information box,
select the network adapter.
- Click Release, click
Renew, and then click OK.
If the virtual machine does not obtain an IP address from the
host, you may have to enable the DHCP service on the host or manually assign a
static IP address to the client.
When it uses Shared Networking, the
virtual machine should obtain IP information that is similar to the following information:
DNS Servers: 192.168.131.252
IP Address: 192.168.131.### (where ### is a number between 2 and 251)
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.131.254
DHCP Server: 192.168.131.254
If these numbers do not match, and you are using Shared
Networking, try to manually configure the IP address for the virtual machine. To
do this, follow these steps:
- Click Start, click
Settings, and then click Control
Panel.
- Double-click Network, scroll down to the
bottom of the list, and then click TCP/IP ->Ethernet
Network Adapter.
Note If more then one TCP/IP
-> Ethernet
Network Adapter device appears, click either the Intel Ethernet controller or the DEC
Ethernet controller. - Click Properties, and then click
Specify an IP address.
- In the IP Address box, type
192.168.131.### where
### is any number between 175 and 200.
Note These numbers are only suggested numbers that are least likely to
interfere with existing addresses on your network. Any number between 2 and 251
may also work. - In the Subnet Mask box, type:
- Click the Gateway tab, and then in the
New
Gateway box, type:
-
Click Add.
- Click the DNS Configuration tab, click
Enable DNS.
- In the
Host box, type:
- In the
Domain box, type:
- In the DNS Server Search Order box, type:
- Click Add, and then click
OK.
- Restart the virtual machine.
If you cannot connect to the Internet by following these steps,
Virtual PC may not be able to find your Macintosh's DNS server, and you must type
the server's IP address manually into Virtual PC.
See the
"
Find your Macintosh's DNS Server" section
of this article to find your Macintosh's DNS server, and then type it into the
DNS Server Search Order box that is described earlier in this section.
back to the topWindows NT, Windows 2000, or Windows XPTo view your IP settings, follow these steps:
- Click Start, and then click Run.
- In the Open box,
type:
- Click OK.
- Type:
- Press
ENTER.
When you use Virtual Switch, your IP information should appear the same as
other computers on your network. If it does not, change the settings in the
virtual machine to correct this.
When it uses Shared Networking, the
virtual machine should obtain IP information that is similar to the following IP information:
Windows 2000 IP Configuration
Host Name . . . . . . . . . . . . : Host Name
Primary DNS Suffix . . . . . . . : DNS Suffix
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : DNS Suffix
Description . . . . . . . . . . . : Intel 21041 Based PCI Ethernet Adapter
Physical Address. . . . . . . . . : 00-03-FF-63-D8-FC
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.131.### (where ### is a number between 2 and 251)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.131.254
DHCP Server . . . . . . . . . . . : 192.168.131.254
DNS Servers . . . . . . . . . . . : 192.168.131.252
Lease Obtained. . . . . . . . . . : Friday, January 17, 2003 9:12:01 AM
Lease Expires . . . . . . . . . . : Wednesday, January 22, 2020 4:00:32 AM
If these numbers do not match, and you are using Shared
Networking, try to manually configure the IP address for the virtual machine. To
do this, follow these steps:
- In Control Panel, double-click
Network and Dial-up Connections.
Note If you are using Windows XP, click Switch to Classic
View to see the standard icons
and double-click Network
Connections. - Right-click or Control-click the Local Area
Connection icon, and then click Properties.
- Scroll down to the bottom of the list, and then click
Internet Protocol (TCP/IP).
- Click Properties, and then click
Use the following IP address.
- In the Use the following IP Address box,
type: where
### is any number between 175 and 200.
Note These numbers are only suggested numbers that are least likely to
interfere with existing addresses on your network. Any number between 2 and 251
may also work. - In the Subnet mask
box, type:
- In
the Default Gateway box, type:
- Click Use the following DNS server
addresses, and then in
the Preferred DNS server box and in the Alternate DNS
server box, type:
- Click OK, and then restart the virtual
machine.
If you cannot connect to the Internet by following these steps,
Virtual PC may not be able to find your Mac's DNS server, and you must enter
the server's IP address manually into Virtual PC.
See the
"
Find Your Macintosh's DNS Server" section
of this article to find your Macintosh's DNS server, and then type it into the
DNS Server Search Order box described earlier in this article.
back to the topFind your Macintosh's DNS Server
To find your Macintosh's DNS server address, verify that
your Internet connection works on the Macintosh, and then follow the steps for your
version of the Macintosh operating system.Mac OS 9
- Open Control Panels,
and then click the TCP/IP icon.
- Your Macintosh's DNS server appears under Name server
addr at the bottom of the window.
Note If the Macintosh's DNS server appears, contact your ISP, or use another
tool to determine your Macintosh's DNS Server.
Mac OS 10
- Open System Preferences, and then click the
Network icon.
- Click the Show drop-down menu, and then
click the device that you use to connect to the Internet (for example, click
Built-in Ethernet).
- Your Macintosh's DNS server appears in the DNS
Servers (Optional) box on the right.
You can also use the Terminal program in
the Utilities folder to determine the DNS server.
- When you are prompted in the Terminal utility,
type:
- Press the RETURN key.
- Information that is similar to the following information appears:
Default Server: dnssrvr.domain.com Address: 10.0.0.11
The number listed (in this case, 10.0.0.11) is the IP address of
your DNS server. Use this number if you must manually configure the DNS
server in the previous two sections of this article.
back to the
top