Here's the question bank on all the computer networks topics.
An IP packet has arrived with the first 8 bits as 0100 0010. Which of the following is correct ?
Answer: Option 4CONCEPTMinimum header size of IPv4 = 20 byteMaximum header size of IPv4 = 60 byteHeader length field in the IPv4 header is 4 bits.Maximum possible value (1111) = 15The scaling factor of \(\frac{{60}}{{15}} = 4\) is introducedEXPLANATION: IP header: But the first 8 bits in the Question are 0100 0010.The first 4 bits indicate the version which is IPv4 (0100)Now the next four bit indicates Header length (bits decimal value × 4) which is 2 × 4 = 8 byteswhich is not possible since the minimum header length for IPv4 is 20 bytes.Hence Receiver will reject the packet.Therefore option 4 is the correct answer.
Scan QR code to download our App for
more exam-oriented questions
OR
To get link to download app