In the event of network problems, TCP/IP installs tools that allow network managers to troubleshoot a client computer. This is done using three TCP/IP utilities: WINIPCFG, PING, and TRACERT.
The WINIPCFG utility is used to verify the TCP/IP configuration parameters on a host, including the IP address, subnet mask, and default gateway. This is useful in determining whether the configuration has been initialized or a duplicate IP address has been configured.
* To use winipcfg
After the configuration has been verified with the WINIPCFG utility, use the Packet InterNet Groper (PING) utility to test connectivity. The PING utility is a diagnostic tool used to test TCP/IP configurations and to diagnose connection failures. PING can also be used to determine whether a particular TCP/IP host is available and functional.
* To use ping
If PING is successful, the following message appears:
Pinging IP_address with 32 bytes of data: Reply from IP_address : bytes= x time<10ms TTL= x Reply from IP_address : bytes= x time<10ms TTL= x Reply from IP_address : bytes= x time<10ms TTL= x Reply from IP_address : bytes= x time<10ms TTL= x
* To verify a computer's configuration using both WINIPCFG and PING
The following steps outline the procedure for verifying a computer's configuration and for testing router connections using both the WINIPCFG and PING utilities:
Figure 2.3 The WINIPCFG utility
Winipcfg
Ping 127.0.0.1
Ping IP_address_of_local_host
Ping IP_address_of_default_gateway
Ping IP_address_of_remote_host
NoteWindows 95 uses the WINIPCFG utility; however, Windows NT uses IPCONFIG (which is a command line program). You can get a version of WINIPCFG for Windows NT from the Windows NT resource kit.
Use TRACERT to get detailed information about the route to a remote host computer. While the PING utility can provide information such as a clear connection to a host (on the local network or on a remote network) and network performance feedback, in terms of milliseconds for the echoes to return, TRACERT shows which routers are used to connect to the remote computer. If the network is not responding, TRACERT can be used to determine how far across the network the path extends before it fails.
* To use tracert
TCP/IP is the underlying network protocol used over the Internet. It combines a number of protocols across several network layers to transmit data. The protocol you choose is often determined by the server your applications connect to. TCP/IP provides several utilities for troubleshooting network problems.