Discussion
Calculate the HLEN (Header Length) value in IPv4, if the total length is 1200 bytes, 1176 of which is data from the upper layer :
Answer: B
HLEN is 6.
The header is the total length minus the data:
\[ \begin{aligned} \text{header} &= 1200 - 1176 = 24 \text{ bytes} \\ \text{HLEN} &= 24 / 4 = 6 \end{aligned} \]
HLEN counts the header in 4-byte words, so a 24-byte header (the 20-byte minimum plus 4 bytes of options) has HLEN 6. 24 itself is not offered, 12 would count 2-byte units, and 4 or 16 do not fit the figures.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development