An IPv4 packet has arrived with the first few hexadecimal digits as shown below. How many hops can this packet travel before being dropped? The data belongs to what upper-layer protocol?
$(5400001800100110040601\ldots)_{16}$
Convert header bytes of IPv4 packet:
Hex sequence (grouped in bytes):
54 00 00 18 00 10 01 10 04 06 01 ...
Important fields:
• TTL (Time To Live) field = 04 (in hex)
TTL = 4 → packet can travel 4 hops before being discarded.
• Protocol field = 06 (in hex)
Protocol number 6 corresponds to TCP.
Therefore:
TTL = 4 hops
Protocol = TCP
Online Test Series, Information About Examination,
Syllabus, Notification
and More.
Online Test Series, Information About Examination,
Syllabus, Notification
and More.