edited by
10,610 views
15 15 votes

An IP packet has arrived with the first $8$ bits as $0100 0010.$ Which of the following is correct?

  1. The number of hops this packet can travel is $2$
  2. The total number of bytes in header is $16$ bytes
  3. The upper layer protocol is ICMP
  4. The receiver rejects the packet

5 Answers

Best answer
19 19 votes

There must be an error in it because See this figure

It is given in Question that arrived packet has 8 bits and a/c to the given figure  4 bits is for Header Length .That must be invalid because the min header length in Bytes must be 20. So

Answer : It must be Option D

The Receiver rejects the packet

selected by
5 5 votes

It is clear from below diagram that max bits in header is=4bits;So how it can be 8bits.Therefore Option -D will be correct answer.Image result for format of IP4 header

4 4 votes
As the HLEN is of 4 bit but (0000 to 0100) is treated as don't care condition and receiver accepts when HLEN (0101 to 1111) The HLEN indicates the rows and each row has 4 bytes (IPV4) so header ranges(5*4 to 15*4) i.e (20 to 60)
1 1 vote

There is an error in this packet. The 4 left-most bits (0100) show the version, which is correct. The next 4 bits (0010) show the wrong header length (2 × 4 = 8). The minimum number of bytes in the header must be 20. The packet has been corrupted in transmission.and receiver will reject the packet 

1 1 vote

IP Packet header length = 20B to 60B. Given:

0100 0010
VER HLEN

Version = 4. So IPv4. This is all right.

Header length = 2. HLEN is actually scaled down by the factor of 4.

So, actual HLEN = $2*4=8$. This specifies that the header is of length 8B, which is invalid.

So, Option D

Answer:
Position:
Show:

Related questions

11 11 votes
5 answers 5 answers
13.1k
13.1k views
ajit asked Sep 23, 2015
13,133 views
A IP packet has arrived in which the fragmentation offset value is $100,$ the value of $\textsf{HLEN}$ is $5$ and the value of total length field is $200.$ What is the nu...
33 33 votes
5 5 answers
22.3k
22.3k views
Arjun asked Feb 16, 2024
22,336 views
Consider sending an $\text{IP}$ datagram of size $1420$ bytes (including $20$ bytes of $\text{IP}$ header) from a sender to a receiver over a path of two links with a rou...
6 6 votes
2 answers 2 answers
4.1k
4.1k views
go_editor asked Jul 1, 2016
4,085 views
A mechanism or technology used in Ethernet by which two connected devices choose common transmission parameters such as speed, duplex mode and flow control is calledAutos...
5 5 votes
4 answers 4 answers
5.6k
5.6k views
go_editor asked Jul 1, 2016
5,583 views
Suppose you are browsing the world wide web using a web browser and trying to access the web servers. What is the underlying protocol and port number that are being used?...