How to ping a IP address,hostname

Non-Datatex Product Support.
General support issues on PCs and Servers that is related to Datatex products.

Moderators: Leon van Heerden, Luanda_Junzi

How to ping a IP address,hostname

Postby John Richard Procter » Mon Dec 05, 2011 4:43 pm

    Windows :
  • Click on the start menu , followed by all programs.
    Enter the accessories tab and select the command prompt application or alternatively hold the windows key down+r and in the run box type cmd.

ipconfig.PNG


  • Once in the dos window type the IP address e.g. ping 10.10.10.2
    Or enter the host name e.g. ping tech-pc

  • If the network IP address is not responding you will receive:
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.

  • If the IP address does respond you will receive:
    Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
    Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
    Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

    To do a continuous ping type the IP address followed by –t.

    Linux
    To ping in Linux log into the terminal the enter the desired IP address to ping.

  • If the network IP address is not responding:

    Tech-pc:~$ ping 10.10.0.5
    PING 10.10.0.5 (10.10.0.5) 56(84) bytes of data.
    From 10.0.2.15 icmp_seq=2 Destination Host Unreachable
    From 10.0.2.15 icmp_seq=3 Destination Host Unreachable
    From 10.0.2.15 icmp_seq=4 Destination Host Unreachable
    From 10.0.2.15 icmp_seq=5 Destination Host Unreachable
    From 10.0.2.15 icmp_seq=6 Destination Host Unreachable
    From 10.0.2.15 icmp_seq=7 Destination Host Unreachable
    From 10.0.2.15 icmp_seq=8 Destination Host Unreachable
    From 10.0.2.15 icmp_seq=9 Destination Host Unreachable

  • If the IP address does respond:

    tech-pc:~$ ping 192.168.15.22
    PING 192.168.15.22 (192.168.15.22) 56(84) bytes of data.
    64 bytes from 192.168.15.22: icmp_seq=1 ttl=128 time=0.713 ms
    64 bytes from 192.168.15.22: icmp_seq=2 ttl=128 time=2.17 ms
    64 bytes from 192.168.15.22: icmp_seq=3 ttl=128 time=2.57 ms
    64 bytes from 192.168.15.22: icmp_seq=4 ttl=128 time=0.000 ms
    64 bytes from 192.168.15.22: icmp_seq=5 ttl=128 time=1.51 ms
    64 bytes from 192.168.15.22: icmp_seq=6 ttl=128 time=1.58 ms
    64 bytes from 192.168.15.22: icmp_seq=7 ttl=128 time=3.85 ms
    64 bytes from 192.168.15.22: icmp_seq=8 ttl=128 time=2.83 ms
    64 bytes from 192.168.15.22: icmp_seq=9 ttl=128 time=3.45 ms

Please note linux uses a automatic continuous ping.
You do not have the required permissions to view the files attached to this post.
John Richard Procter
 
Posts: 552
Joined: Tue May 03, 2011 2:02 pm

Return to General Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron