ping host…
(try localhost)
Windows default TTL = 128
Linux default TTL = 64
Unix default TTL = 255
each hop (router) decreases the TTL by one. So if you get a 120 as TTL, its a windows machine, and your packet went through 8 routers.
ping host…
(try localhost)
Windows default TTL = 128
Linux default TTL = 64
Unix default TTL = 255
each hop (router) decreases the TTL by one. So if you get a 120 as TTL, its a windows machine, and your packet went through 8 routers.
To change this parameter:
# echo 1 > /proc/sys/net/ipv4/ip_default_ttl
# cat /proc/sys/net/ipv4/ip_default_ttl
Source: http://www.Dicas-L.com.br/dicas-l/20100615.php