COMPUTER NETWORKING

NETWORK LAYER

INTRODUCTION

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Header of datagram in IPv4 has ____
A
0 to 20 bytes
B
20 to 40 bytes
C
20 to 60 bytes
D
20 to 80 bytes
Explanation: 

Detailed explanation-1: -So, minimum length of IP header = 5 x 4 bytes = 20 bytes. The size of the 6th row representing the Options field vary. The size of Options field can go up to 40 bytes. So, maximum length of IP header = 20 bytes + 40 bytes = 60 bytes.

Detailed explanation-2: -The minimum length of an IP header is 20 bytes, or five 32-bit increments. The maximum length of an IP header is 24 bytes, or six 32-bit increments. Therefore, the header length field should contain either 5 or 6.

Detailed explanation-3: -The fields present in the IPv4 header are-Version, Header Length, Type Of Service, Total Length, Identification, DF Bit, MF Bit, Fragment Offset, Time To Live, Protocol, Header Checksum, Source IP Address, Destination IP Address, and Options.

There is 1 question to complete.