Common TTL (Time to Live) Values by OS

The TTL value in a ping command can be used to make an educated guess about the operating system of a remote host. While these values can be modified by network configurations, they serve as useful default indicators.

Operating System Default TTL Value
Windows (All versions)128
Linux (Default)64
macOS / iOS64
Android64
Solaris / AIX255
Cisco Routers255
FreeBSD / Unix (BSD)255
Notes:

Using the ping Command to Guess OS

1. Windows OS

Reply from 192.168.1.10: bytes=32 time<1ms TTL=128

2. Linux / Unix / macOS

64 bytes from 10.0.0.5: icmp_seq=1 ttl=64 time=0.045 ms

3. Cisco Routers / Network Infrastructure

Reply from 192.168.1.1: bytes=32 time<1ms TTL=255

Important Considerations

While TTL is a great clue, keep the following in mind:

Conclusion

TTL is best used as one part of the puzzle, especially when combined with other methods like traceroute or banner grabbing for more accurate identification.