In an IP packet, the value of HLEN is 516 and the value of the total length field is 002816.What is the efficiency of this datagram?

In an IP packet, the value of HLEN is 516 and the value of the total length field is 002816.What is the efficiency of this datagram?
A. 80%
B. 50%
C. 66%
D. 75%
 
Answer: b
Explanation:
Total number of bytes in the header = 5 x 4 = 20 bytes.
Total length = 0028_16 = 40 bytes.
Data carried by the packet = (40 – 20) = 20 bytes.
Efficiency = payload length / total length = 20/40= 50%.
 

Tìm kiếm

Back
Top