Questions about this topic? Sign up to ask in the talk tab.

Difference between revisions of "Ping"

From NetSec
Jump to: navigation, search
(Created page with "Ping is a tool which "pings" an address to identify if an address is up or not. The usual response by the address is "pong". ==Usage of Ping== ping [-t] [-a] [-n count] [-l siz...")
 
Line 4: Line 4:
 
ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS] [-r count] [-s count] [[-j host-list] | [-k host-list]] [-w timeout] [-R] [-S srcaddr] [-4] [-6] target_name
 
ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS] [-r count] [-s count] [[-j host-list] | [-k host-list]] [-w timeout] [-R] [-S srcaddr] [-4] [-6] target_name
  
==Options for Ping==
+
==Options for Windows Ping==
 
* -t             
 
* -t             
 
** Ping the specified host until stopped.
 
** Ping the specified host until stopped.

Revision as of 17:49, 2 May 2012

Ping is a tool which "pings" an address to identify if an address is up or not. The usual response by the address is "pong".

Usage of Ping

ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS] [-r count] [-s count] [[-j host-list] | [-k host-list]] [-w timeout] [-R] [-S srcaddr] [-4] [-6] target_name

Options for Windows Ping

  • -t
    • Ping the specified host until stopped.
  • -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 (IPv4-only).
  • -i
  • -v <type>
    • Type Of Service (IPv4-only.)
  • -r <count>
    • Record route for count hops (IPv4-only).
  • -s <count>
    • Timestamp for count hops (IPv4-only).
  • -j <host-list>
    • Loose source route along host-list (IPv4-only).
  • -k <host-list>
    • Strict source route along host-list (IPv4-only).
  • -w <timeout>
    • Timeout in milliseconds to wait for each reply.
  • -R
    • Use routing header to test reverse route also (IPv6-only).
  • -S <srcaddr>
    • Source address to use.
  • -4
    • Force using IPv4.
  • -6
    • Force using IPv6.