Saturday, June 25, 2016

6 Ways to Ping an IP Address 2016

To test a TCP/IP configuration by using the ping command

 Pinging an IP address or website can help you determine if your computer can communicate over a network with another computer. Below are the steps on how you can ping an IP address and website depending on your computer operating system.

1.To quickly obtain the TCP/IP configuration of a computer, open Command Prompt, and then typeipconfig. From the display of the ipconfig command, ensure that the network adapter for the TCP/IP configuration you are testing is not in a Media disconnected state.
2.At the command prompt, ping the loopback address by typing ping 127.0.0.1.
3.Ping the IP address of the computer.
4.Ping the IP address of the default gateway.
If the ping command fails, verify that the default gateway IP address is correct and that the gateway (router) is operational.
5.Ping the IP address of a remote host (a host that is on a different subnet).
If the ping command fails, verify that the remote host IP address is correct, that the remote host is operational, and that all of the gateways (routers) between this computer and the remote host are operational.
6.Ping the IP address of the DNS server
If the ping command fails, verify that the DNS server IP address is correct, that the DNS server is operational, and that all of the gateways (routers) between this computer and the DNS server are operational.
Note
To open command prompt, click Start, point to All Programs, point to Accessories, and then clickCommand 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.
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 Network Connections, right-clicking a network connection, clickingStatus, 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, open the command prompt, and then type ipconfig.
To open Network Connections, click Start, click Control Panel, click Network and Internet Connections, and then click Network Connections.



Windows command line and MS-DOS users

  1. Get to a Windows command line or MS-DOS prompt.
  2. At the prompt type the below command and replace "computerhope.com" with the domain name or IP address of the computer you want to ping.
ping computerhope.com
If you get a response from the computer or another network device, it should look similar to the example below.
Pinging computerhope.com [69.72.169.241] with 32 bytes of data:
Reply from 69.72.169.241: bytes=32 time=64ms TTL=53
Reply from 69.72.169.241: bytes=32 time=64ms TTL=53
Reply from 69.72.169.241: bytes=32 time=65ms TTL=53
Reply from 69.72.169.241: bytes=32 time=65ms TTL=53

Ping statistics for 69.72.169.241:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 64ms, Maximum = 65ms, Average = 64ms
As seen in the above statistics four packets were sent, and four were received with a 0% loss, which is a good indication that the computer has no issues communicating across the network. If you had errors during the ping, it would look similar to one of the examples below.
Ping request could not find host fakeasdf.com. Please check the name and try again.
or
Pinging fakeaddress.com [199.59.243.120] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 199.59.243.120:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

No comments:

Post a Comment