CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

The IP header size is .............

A
20 to 60 bytes long
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
20 bytes long
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
60 bytes long
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
Depends upon the MDU
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is A 20 to 60 bytes long

The IP header size is 20 to 60 bytes long.

So the longest Internet Header (IP header) size can be 15*32 Bits = 480 Bits = 60 Bytes. This is why the header has a maximum size of 60 Bytes. The shortest header size is 20 bytes, where the IHL field has the value 5 (0101).

This 16-bit field defines the entire packet size in bytes, including header and data. The minimum size is 20 bytes (header without data) and the maximum is 65,535 bytes. All hosts are required to be able to reassemble datagrams of size up to 576 bytes, but most modern hosts handle much larger packets.

The format of data that can be recognized by IP is called an IP datagram. It consists of two components, namely, the header and data, which need to be transmitted. The fields in the datagram, except the data, have specific roles to perform in the transmission of data.

The Total Length field is the total length of the IPv4 datagram in bytes. Using this field and the IHL field can indicate where the data portion of the datagram starts, and its length. Because this is a 16-bit field, the maximum size of an IPv4 datagram (including header) is 65,535 bytes.


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Facts About Factors and Multiples
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon