Re: ping unreachable timings
Originally Posted by
JohnPinto
Hi,
when i ping for any ip adress say 192.168.1.59 if the host is reachable it pings for every 1 second. if the device/host(192.168.1.59) stops functioning ...it should give "destination host unreachable" .....(it gives) but i want it to be displayed immediately as soon as the connection to the host is lost..
The ping results are not displayed for about 80 to 90 pings (depends) and after that for once in 3 seconds it says "destination host unreachable".......i want the message to be displayed immediately.
How to do this ?
any settings in any file or anything ?
Thanks
-john
You can use the "-W" option to shorten the timeout.
Code:
ping -W 1 192.168.0.200
Note: "man ping" in a terminal window for a list of all of ping's options.
Lloyd B.
Don't tell me to get a life.
I had one once.
It sucked.
Bookmarks