Fping (Part 3)
|
|
|
||||||||||||
Description: Ping is a utility which uses ICMP echo request to find out if the host machine is up or not. This utility is part of windows as well as linux operating system. But the default ping utility in windows operating system doesn’t provide rich command line options like changing the delay between two ping packets or sending ping message to multiple hosts. Fping provides the very rich command line options, so that one can ping number of different hosts it can also take input from file or change the data size or data content of the ICMP ping packet. Fping can be easily used in script and its output can be easily parsed.
This video explains the usage of following options
- -f Set don’t fragment flag in the packet
- -b beep on every successful packets
- -i Use ICMP Ping dll for sending the packet instead of raw socket
- -l Limit the output to ping result and errors
- -T Print time stamp with each reply
- -D Print date and time stamp with each reply
With the help of ‘-f’ option one can ask fping to set the don’t fragment flag in IP header, so that any packet more than MTU will not pass through. You can also configure fping to sound a beep sound with ‘-b’ option. If you want to limit the output of the ping to results of ICMP request only and want to truncate the end statistics then you have to use ‘-l’ option. For ease of scripting ‘-T’ and ‘-D’ options are provided so that time and date of response can be printed.
Links1. Fping Part-4
Comments (1)
|
jrstore on Mon 14 Mar 2011 Question about -i: This demo is on windows. I thought windows can't use raw sockets? Is this option only useful in a non windows system? |







