home » Archive » Networking

Networkers Palace

..::Request Time Out::..




Fping - Small Tool but Powerful


E-mail this post



Remember me (?)



All personal information that you provide here will be governed by the Privacy Policy of Blogger.com. More...



Fping is a ping like program which uses the Internet Control Message Protocol (ICMP) echo request to determine if a host is up. fping is different from ping in that you can specify any number of hosts on the command line, or specify a file containing the lists of hosts to ping. Instead of trying one host until it timeouts or replies, fping will send out a ping packet and move on to the next host in a round-robin fashion. If a host replies, it is noted and removed from the list of hosts to check. If a host does not respond within a certain time limit and/or retry limit it will be considered unreachable.

Unlike ping, fping is meant to be used in scripts and its output is easy to parse.

Read More...

You can easily check several router availibilty and performance just by this small tool. Here are the example of the steps you should do when using fping to get efficiently and effectively result.

* Make a text file, containing the the IP Address and it's hostname. For example you may touch a file with your favourite text editor (vi, pico, etc), Save it with name listrouter. So if we read the listrouter file, the output must have somekind of this.



10.15.19.1 (router A)
10.15.20.1 (router B)
10.15.124.1 (router C)
10.15.11.1 (router D)
10.15.13.1 (router E)
10.15.119.1 (router F)

* Run the fping command lineas root, fping -f /home/tso/listrouter -c 100 -n

* The Output should be like this.


router A : xmt/rcv/%loss = 36/36/0%, min/avg/max = 0.17/0.26/0.64
router B : xmt/rcv/%loss = 36/35/2%, min/avg/max = 8.13/24.4/78.1
router C : xmt/rcv/%loss = 36/34/5%, min/avg/max = 10.0/45.7/204
router D : xmt/rcv/%loss = 36/36/0%, min/avg/max = 11.0/59.0/196
router E : xmt/rcv/%loss = 36/35/2%, min/avg/max = 13.6/66.9/201
router F : xmt/rcv/%loss = 36/29/19%, min/avg/max = 10.8/74.3/237

By analising this output, We could know the performance each router.



Post a Comment

Author

Previous posts

Archives

Friends

Contributors

Powered by Blogger

make money online blogger templates

my ATOM 0.3

Shout Me !! Photobucket - Video and Image Hosting

outdoor furniture