Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET

Previous Year Question (PYQs)



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}$






Solution

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.

Click Here to
View More


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...