India Languages, asked by kartikeygarg57, 8 months ago

1. An IP datagram has arrived with the following partial information in the deader (in hexadecimal):
45000054 00030000 2006…..
a. What is the header size?
b. Are there any options in the packet?
c. What is the size of data?
d. Is the packet fragmented?
e. How many more routers can the packet travel to?
f. What is the protocol number of the payload being carried by the packet?

Answers

Answered by sulagnapalit8263
15

1.

 4          5             00          0054      0003            0000           20            06...

VER   HLEN                         Total

                                           Length

a. Here,  HLEN =5 so the header size is  5 x 4 bytes = 20 bytes .

b. Since the length of the header is 20 bytes, so there are no options in the packet.

c. size of data = Total length – HLEN = 84 – 20 = 64 bytes .

d. The packet is not permitted to be fragmented.

e.  32 hops, so 32 routers can the packet travel to. So, the last router will discard  datagram.

f.  The protocol number of the payload being carried by the packet is 3.

Answered by abdulraziq1534
1

Concept Introduction:-

The datagram are the self-contained message with destination and source addresses specified in the header.

Given Information:-

We have been given that An IP datagram has arrived with the following partial information in the deader (in hexadecimal):45000054 00030000 2006

To Find:-

We have to find that a. What is the header size? b. Are there any options in the packet? c. What is the size of data? d. Is the packet fragmented? e. How many more routers can the packet travel to? f. What is the protocol number of the payload being carried by the packet?

Solution:-

According to the problem

a. 5\times 4 =20 bytes.

b. No.

c. Total Size=84-20=64 bytes.

d. No.

e. 0\times 20=32\\\Rightarrow32Hops.

f.0\times 06=TCP

Final Answer:-

The correct answer is 20, No, 64 bytes, No, 32.

#SPJ2

Similar questions