Quote:
Originally posted by chr15t0
so it looks like you need to use the -i switch.
christo
|
If I remember correctly...
The -i (TTL) refers to the number of routers that you will go through before giving up. I believe default is 256 as you go through a router this will decrease and when it hits 0 it will not try anymore and give you back a "TTL expired in transit." message.
Example time!
ping -i 2 google.com returns this:
Pinging google.com [216.239.39.99] with 32 bytes of data:
Reply from 137.65.1.238: TTL expired in transit.
Reply from 137.65.1.238: TTL expired in transit.
Reply from 137.65.1.238: TTL expired in transit.
Reply from 137.65.1.238: TTL expired in transit.
Ping statistics for 216.239.39.99:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
however if I crank up the number eventually it will talk.
Ping -i 36 google.com
Pinging google.com [216.239.39.99] with 32 bytes of data:
Reply from 216.239.39.99: bytes=32 time=79ms TTL=239
Reply from 216.239.39.99: bytes=32 time=78ms TTL=239
Reply from 216.239.39.99: bytes=32 time=78ms TTL=239
Reply from 216.239.39.99: bytes=32 time=80ms TTL=239
Ping statistics for 216.239.39.99:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 78ms, Maximum = 80ms, Average = 78ms