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
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.
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):
To Find:-
We have to find that What is the header size? Are there any options in the packet? What is the size of data? Is the packet fragmented? How many more routers can the packet travel to? What is the protocol number of the payload being carried by the packet?
Solution:-
According to the problem
bytes.
No.
Total Size bytes.
No.
Hops.
Final Answer:-
The correct answer is No, bytes, No, .
#SPJ2