edited by
7,113 views
11 votes
11 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
edited by

5 Answers

Best answer
18 votes
18 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 votes
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

2 votes
2 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 votes
1 votes

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 

Answer:

Related questions

7 votes
7 votes
4 answers
1
ajit asked Sep 23, 2015
9,528 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...
0 votes
0 votes
2 answers
2
admin asked Mar 31, 2020
1,217 views
A packet switching networkis free.can reduce the cost of using an information utility.allows communications channel to be shared among more than one user.both (B) and (C)...
6 votes
6 votes
2 answers
3
go_editor asked Jul 1, 2016
2,984 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...
4 votes
4 votes
3 answers
4
go_editor asked Jul 1, 2016
3,980 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?...