IT Questions and Answers :)

Tuesday, August 27, 2019

What command can you use to verify that a host computer can connect to the TCP/IP network and network resources?

What command can you use to verify that a host computer can connect to the TCP/IP network and network resources?

  • ping
  • tracert
  • netstat
  • nslookup 
What command can you use to verify that a host computer can connect to the TCP/IP network and network resources?

EXPLANATION

Testing Connections to Remote Servers

If you cannot connect to a remote server, there are two common tools that you can use. Use the PING command to verify that a host computer can connect to the TCP/IP network and network resources. Use the TRACERT command to examine the route taken to a destination.

To Test Connections by Using PING
You can use the PING command as a troubleshooting tool to sequentially test connectivity to various network resources. To "ping" a network host directly:

1. Click Start, click Run, type cmd in the Open box, and then press ENTER.
2.
Type one of the following lines, and then press ENTER, where IPAddressOfRemoteNetworkHost is the IP address of the computer that you want to connect to, and HostName is the name of the computer that you want to connect to:
  • ping IPAddressOfRemoteNetworkHostFor example, ping 192.168.104.
  • ping HostNameFor example, ping quiz.techlanda.com.
3.In the command prompt window, look for a reply that may look similar to the following:

Reply from 192.168.1.104: bytes=32 time=40ms TTL=61
Reply from 192.168.1.104: bytes=32 time=40ms TTL=61
Reply from 192.168.1.104: bytes=32 time=40ms TTL=61
Reply from 192.168.1.104: bytes=32 time=40ms TTL=61
If you receive a similar response, the server is available on the network. If you cannot contact the resource, you can troubleshoot the connection by using the PING command to test connectivity to various network resources:

a. Ping the loopback address to verify that TCP/IP is installed and working correctly on the local computer. To do so, type ping 127.0.0.1.
b. Ping the IP address of the local computer to verify that it was added to the network correctly.
c. Ping the IP address of the default gateway to verify that the gateway is functional and it is possible to connect to a local host on the local network. You can obtain the IP address of the local default gateway by using the IPCONFIG command.
d. Ping the IP address of another remote host to verify that you can communicate through a router.NOTE: To see additional options of the Ping.exe tool, type ping /? at the command prompt.
To Test Connections by Using Tracert.exe
loadTOCNode(3, 'summary');
Tracert.exe is a route-tracing utility that you can use to determine the network path to a destination. The TRACERT command shows the series of IP routers that are used to deliver packets from your computer to the destination and shows how long it takes for each hop. If packets cannot reach the destination, the TRACERT command returns the name of the last router that successfully forwarded the packets. To determine the path that a packet takes on the network and where that path may be ending:
1. Click Start, click Run, type cmd in the Open box, and then press ENTER.
2. At the command prompt, type tracert IPAddressOfRemoteNetworkHost, and then press ENTER, where IPAddressOfRemoteNetworkHost is the IP address of the remote network host.
3. Examine the results that appear in the window to determine the length of time that the packet took to reach each network segment and the point at which the connection may stop working.
NOTE: To see additional options of the Tracert.exe tool, type tracert /? at the command prompt.

 

Share:

0 comments:

Post a Comment

Popular Posts