Question: why ttl value is 255?
Answer: The size of TTL field in IP header is 8 bits which means maximum value can be 2^8 = 256. However, because TTL value starts from 0 and not from 1, maximum value for TTL is 255. Every time packet reaches next layer 3 hop (mostly next router), TTL is decremented by 1.