Networking, Programming and Graphics Tutorials

How to ping an IP address in DOS window [1/1]

Type: Code Networking, Programming and Graphics Tutorials
How to ping an IP address in DOS window
Level: Beginner Networking, Programming and Graphics Tutorials 
How to ping an IP address in DOS window
Date: 2007-Feb-13
How to ping an IP address in DOS window
Visited: 2491 times
How to ping an IP address in DOS window
Rating: How to ping an IP address in DOS window
How to ping an IP address in DOS window
Author: Ivory Morhuld

This tutorial will show you how to check that IP address is live or that you have connection to him. This operation we call - ping.

By default four packets will be send and respective four packets will be waited. If not return all of them this call - packet loss.

Also is good to see the time for reacting each packet. Lower times is better.

C:\>ping onlinehowto.net

Pinging onlinehowto.net [66.226.93.73] with 32 bytes of data:

Reply from 66.226.93.73: bytes=32 time=189ms TTL=49
Reply from 66.226.93.73: bytes=32 time=199ms TTL=49
Reply from 66.226.93.73: bytes=32 time=189ms TTL=49
Reply from 66.226.93.73: bytes=32 time=191ms TTL=49

Ping statistics for 66.226.93.73:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 189ms, Maximum = 199ms, Average = 192ms

C:\>
For other ping option you can type 'ping /?' at DOS prompt.

C:\>ping /?

Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]
            [-r count] [-s count] [[-j host-list] | [-k host-list]]
            [-w timeout] target_name

Options:
    -t             Ping the specified host until stopped.
                   To see statistics and continue - type Control-Break;
                   To stop - type Control-C.
    -a             Resolve addresses to hostnames.
    -n count       Number of echo requests to send.
    -l size        Send buffer size.
    -f             Set Don't Fragment flag in packet.
    -i TTL         Time To Live.
    -v TOS         Type Of Service.
    -r count       Record route for count hops.
    -s count       Timestamp for count hops.
    -j host-list   Loose source route along host-list.
    -k host-list   Strict source route along host-list.
    -w timeout     Timeout in milliseconds to wait for each reply.


C:\>
Rate this tutorial:                    
Networking, Programming and Graphics Tutorials - How to ping an IP address in DOS window [1/1] - Networking, Programming and Graphics Tutorials

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: how to get ip address in dos window?  /run window trace an IP address  HOW TO PING IN DOS WINDOW  dos window ping ip  ping from dos window  how to ping dos window  PING SCRIPT FOR IP IN WINDOW XP  windows xp dos window ping lost packets  how to ping ip address in dos  how to ping an ip address in dos