IF00095
Test TCP/IP Connections By
Using The Ping And Net View Commands In XP Pro!
1. To test TCP/IP connectivity by using the ping command, use the display of the
ipconfig command to ensure that your network adapter is not in a Media
disconnected state.
2. Open Command Prompt,
and then ping the desired host using its IP address.
If the ping command fails with a Request timed out message, verify that the host
IP address is correct, that the host is operational, and that all of the
gateways (routers) between this computer and the host are operational.
3. To test host name resolution by using the ping command, ping the desired host
using its host name.
If the ping command fails with an Unable to resolve target system name message,
verify that the host name is correct and that the host name can be resolved by
your DNS server.
4. To test TCP/IP connectivity by using the net view command, open Command
Prompt, and then type net view \\ComputerName. The net view command lists the
file and print shares of a computer using Windows XP by establishing a temporary
connection. If there are no file or print shares on the specified computer, the
net view command displays a There are no entries in the list message.
If the net view command fails with a System error 53 has occurred message,
verify that ComputerName is correct, that the computer using Windows XP is
operational, and that all of the gateways (routers) between this computer and
the computer using Windows XP are operational.
If the net view command fails with a System error 5 has occurred. Access is
denied. message, verify that you are logged on using an account that has
permission to view the shares on the remote computer.
To further troubleshoot this connectivity problem, do the following:
- Use the ping command to ping ComputerName.
If the ping command fails with an Unable to resolve target system name message,
then ComputerName cannot be resolved to its IP address.
- Use the net view command and the IP address of the computer using Windows XP,
as follows:
net view \\IPAddress
If the net view command succeeds, then ComputerName is being resolved to the
wrong IP address.
If the net view command fails with a System error 53 has occurred message, the
remote computer might not be running the File and Printer Sharing for Microsoft
Networks service.
Side Notes:
- To open a command prompt, click Start, point to Programs, point to
Accessories, and then click Command Prompt.
- If the ping command is
not found or the command fails, you can use Event Viewer to check the System Log
and look for problems reported by Setup or the Internet Protocol (TCP/IP)
service.
- The ping command uses
Internet Control Message Protocol (ICMP) Echo Request and Echo Reply messages.
Packet filtering policies on routers, firewalls, or other types of security
gateways might prevent the forwarding of this traffic.
- This procedure assumes
that you are using only the TCP/IP protocol. If you are using other protocols,
such as the NWLink IPX/SPX/NetBIOS Compatible Transport Protocol, net view
commands might work correctly even when there are problems resolving names and
making connections with TCP/IP. A net view connection is attempted with all
installed protocols. If the net view connection with TCP/IP fails, a net view
connection using NWLink IPX/SPX/NetBIOS Compatible Transport Protocol is
attempted.
- The ipconfig command is
the command-line equivalent to the winipcfg command, which is available in
Windows Millennium Edition, Windows 98, and Windows 95. Windows XP does not
include a graphical equivalent to the winipcfg command, however, you can get the
equivalent functionality for viewing and renewing an IP address by opening The
Network Connections, right-clicking a network connection, clicking Status, and
then clicking the Support tab.
Used without parameters, ipconfig displays the IP address, subnet mask, and
default gateway for all adapters.
- To run ipconfig, you must open the command prompt and then type ipconfig.
- To open Network Connections, click Start, point to Settings, click Control
Panel, and then double-click Network Connections.
- The IPX/SPX protocol is not available on Windows XP 64-Bit Edition.
Did this Article Give you the
Information You Were Looking For?

