In an IP packet, the value of HLEN is 5, and the value of the TOTAL LENGTH field is 1000 (in decimal). The number of data bytes in the packet will be ________
Answers
Answered by
41
Answer:
980
Explanation:
Number of bytes in the header = 5*4 = 20 bytes
Number of bytes of data = Total length - header bytes
= 1000 - 20
= 980 bytes.
Answered by
0
In an IP packet, the value of HLEN is 5, and the value of the TOTAL LENGTH field is 1000 (in decimal). The number of data bytes in the packet will be 980 bytes.
Explanation:
- The information between Networks is transferred in forms of Packet.
- These Packets have a Format which is known as the IP Datagram.
- The Fields in the IP datagram are Header Length, Version (IPv4 or IPv6), Total Length, Service Type and Time to Live.
- The Header Length is 4 bits. So it can have a minimum value of 5 and a maximum value 15.
- As per the Question , Header length is 5 .i.e HLEN = 5
- So, Length of Header = = 20 bits. Also, the Total Length is 1000
Using the Formula ,
Total Length of datagram = Length of Header + Length of data
1000 = 20 + Length of data
So, Length of data = 1000 - 20 = 980 bytes
Learn More about IPv4 and IPv6
Why is IPv6 preferred over IPv4 for IoT implementations? Larger addressing range More security Both of these None of these
brainly.in/question/2466579
Explain the major difference between an ipv4-compatible tunnel and ip6 to ip4 (6to4) tunnel
brainly.in/question/11744509
Similar questions