Microsoft KB Archive/825372

= Virtual PC Internet connection setup and troubleshooting =

Article ID: 825372

Article Last Modified on 5/7/2007

-

APPLIES TO


 * Microsoft Virtual PC for Mac Version 7
 * Microsoft Virtual PC for Mac Version 6.1.1 Update
 * Microsoft Virtual PC for Mac Version 6.1
 * Microsoft Virtual PC for Mac Version 7 with Microsoft Windows 2000 Professional
 * Microsoft Virtual PC for Mac Version 7 with Microsoft Windows XP Professional
 * Microsoft Virtual PC for Mac Version 7 with Microsoft Windows XP Home Edition
 * Connectix Virtual PC for Mac 6.0
 * Connectix Virtual PC for Mac 5.0

-



IN THIS TASK

 * SUMMARY
 * Network Options
 * Virtual Switch
 * Shared Networking
 * Modem
 * Troubleshooting
 * Check Macintosh Connectivity
 * Test the Name Resolution
 * Verify That DHCP is Working
 * Find Your Macintosh's DNS Server
 * REFERENCES



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 &quot;REFERENCES&quot; section of this article.

back to the top

Network 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:
 * 1) Point to the Apple menu, and then click Control Panels.
 * 2) Click Software Update.
 * 3) 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:
 * 1) On the Dock, click System Preferences.
 * 2) Click Software Update.
 * 3) 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:

http://www.microsoft.com/mac/downloads.aspx

Use the following table to determine what version of Virtual PC you can use with your Macintosh operating system:

back to the top

Virtual 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   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.</li> On the Connections tab, click Setup.</li></ol> </li> Click Next.</li> Click Connect to the Internet, and then click Next.</li> Click Set up my connection manually, and then click Next.</li> Click Connect using a broadband connection that is always on, and then click Next.</li> Click Finish.</li></ol>

If you cannot connect to the Internet, see the &quot;Troubleshooting&quot; section of this article.

back to the top

Shared 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: <ol> Start Virtual PC.</li> Click the  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.</li> Click Networking, and then click to select Enable Networking.</li> Click Shared Networking, and then click OK.</li> 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.</li> In the Windows virtual machine, start Internet Explorer. If the New Connection Wizard does not start, follow these steps: <ol style="list-style-type: lower-alpha;"> On the Tools menu, click Internet Options.</li> On the Connections tab, click Setup.</li></ol> </li> Click Next.</li> Click Connect to the Internet, and then click Next.</li> <li>Click Set up my connection manually, and then click Next.</li> <li>Click Connect using a broadband connection that is always on, and then click Next.</li> <li>Click Finish.</li></ol>

If the connection fails, see the &quot;Troubleshooting&quot; section of this article.

back to the top

Modem
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: <ol> <li>Start Virtual PC.</li> <li>Click the   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.</li> <li>Click Networking, and then click to clear the Enable Networking check box.</li> <li>Click COM1 Port, and then click Mac serial port.</li> <li>Point to modem, and then click your modem.</li> <li>Click to clear the Advanced Settings check box, and then click OK.</li> <li>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.</li> <li>In the Windows virtual machine, point to Start, and then click Control Panel.</li> <li>Double-click Phone and Modem Options.</li> <li>If you are prompted for the location information, type the information, and then click OK.</li> <li>On the Modems tab, click Add.</li> <li>Click to select the Don't detect my modem; I will select it from a list. check box, and then click Next.</li> <li>Under Manufacturer, click Standard Modem Types.</li> <li>Under Models, click (Standard 56000 bps Modem).

Note This may appear as Generic v.90 56000 bps Modem or Standard 56000 bps V90 Modem.</li> <li>Click Next.</li> <li>Click COM1, and then click Next.</li> <li>Click Finish, and then click OK.</li> <li>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. <ol style="list-style-type: lower-alpha;"> <li>On the Tools menu, click Internet Options.</li> <li>On the Connections tab, click Setup.</li></ol> </li> <li>Click Next.</li> <li>Click Connect to the Internet, and then click Next.</li> <li>Click Set up my connection manually, and then click Next.</li> <li>Click Connect using a dial-up modem, and then click Next.</li> <li>Follow the instructions that appear on the screen to configure the connection to your Internet Service Provider (ISP).</li> <li>On the Tools menu, click Internet Options.</li> <li>On the Connections tab, click Always dial my default connection, and then click OK.</li> <li>Close Internet Explorer, and then start Internet Explorer.</li></ol>

back to the top

Troubleshooting
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 top

Check 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:

http://docs.info.apple.com/article.html?artnum=50520

http://discussions.apple.com/forum.jspa?forumID=750

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 top

Test 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: <ol> <li>At a command prompt, type:

Ping Microsoft.com

</li> <li>Press ENTER.

Either of the following behaviors occur: <ul> <li> 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: <pre class="fixed_text"> 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), </li> <li> 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: <pre class="fixed_text"> Ping request could not find host microsoft.com. Please check the name and try again. </li></ul> </li></ol>

back to the top

Verify 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:
 * 1) Click Start, click Run, type winipcfg, and then click OK.
 * 2) In the Ethernet Adapter Information box, select the network adapter.
 * 3) Click More Info to view the complete details.

To reset your IP settings, follow these steps:
 * 1) Click Start, click Run, type winipcfg, and then click OK.
 * 2) In the Ethernet Adapter Information box, select the network adapter.
 * 3) 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: <pre class="fixed_text">

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: <ol> <li>Click Start, click Settings, and then click Control Panel.</li> <li>Double-click Network, scroll down to the bottom of the list, and then click TCP/IP -> .

Note If more then one TCP/IP -> Ethernet Network Adapter device appears, click either the   or the  .</li> <li>Click Properties, and then click Specify an IP address.</li> <li>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.</li> <li>In the Subnet Mask box, type:

255.255.255.0

</li> <li>Click the Gateway tab, and then in the New Gateway box, type:

192.168.131.254

</li> <li>Click Add.</li> <li>Click the DNS Configuration tab, click Enable DNS.</li> <li>In the Host box, type:

host

</li> <li>In the Domain box, type:

domain

</li> <li>In the DNS Server Search Order box, type:

192.168.131.252

</li> <li>Click Add, and then click OK.</li> <li>Restart the virtual machine.</li></ol>

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 &quot;Find your Macintosh's DNS Server&quot; 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 top

Windows NT, Windows 2000, or Windows XP
To view your IP settings, follow these steps: <ol> <li>Click Start, and then click Run.</li> <li>In the Open box, type:

cmd

</li> <li>Click OK.</li> <li>Type:

ipconfig/all

</li> <li>Press ENTER.</li></ol>

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: <pre class="fixed_text"> 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: <ol> <li>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.</li> <li>Right-click or Control-click the Local Area Connection icon, and then click Properties.</li> <li>Scroll down to the bottom of the list, and then click Internet Protocol (TCP/IP).</li> <li>Click Properties, and then click Use the following IP address.</li> <li>In the Use the following 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.</li> <li>In the Subnet mask box, type:

255.255.255.0

</li> <li>In the Default Gateway box, type:

192.168.131.254

</li> <li>Click Use the following DNS server addresses, and then in the Preferred DNS server box and in the Alternate DNS server box, type:

192.168.131.252

</li> <li>Click OK, and then restart the virtual machine.</li></ol>

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 &quot;Find Your Macintosh's DNS Server&quot; 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 top

Find 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

 * 1) Open Control Panels, and then click the TCP/IP icon.
 * 2) 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

 * 1) Open System Preferences, and then click the Network icon.
 * 2) 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).
 * 3) 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. <ol> <li>When you are prompted in the Terminal utility, type:

Nslookup

</li> <li>Press the RETURN key.</li> <li> Information that is similar to the following information appears: <pre class="fixed_text"> 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. </li></ol>

back to the top

<div class="references_section">