782 views
3 votes
3 votes

The following IPv4 header, shown in hex below, is received for an IP packet at its destination.
4500 003c 1c46 4000 4017 c311 aca8 0101 aca8 0102
Using the Internet checksum algorithm, determine if there were any errors in the transmission?:
image:CN5/E4a.PNG
 

  1.  Single bit error
  2.  Double bit error
  3.  More than 2 bit error
  4. No error

1 Answer

5 votes
5 votes
IP header is given as :-  4500 003C 1C46 4000 4017 C311 ACA8 0101 ACA8 0102

Checksum is = C311

To calculate checksum of given header. Add in chunks of 16 bit excluding header checksum

4500 + 003C + 1C46 + 4000 + 4017 +ACA8 + 0101 + ACA8 + 0102 = 23CEC

Here 2 is carry, so add it again  =  3CEC + 2 = 3CEE

Now add it with checksum = 3CEE + C311 = FFFF

now flip every bit = 0000

That means no error

Related questions

0 votes
0 votes
0 answers
1
mridul_negi asked Feb 25
130 views
A packet has arrived in which the offset value is 100. Then what's the number of 1st Byte?
1 votes
1 votes
1 answer
2
rayhanrjt asked Dec 13, 2022
541 views
Suppose a 22-byte packet is to be transmitted through a network of MTU = 3byte. The elementary fragment size is 1 byte. Show the segment numbering of the above packet. Pa...
0 votes
0 votes
1 answer
3
0 votes
0 votes
3 answers
4
Mayankprakash asked Dec 26, 2018
1,382 views
How segmentation and fragmentation are different in computer networksPlease help!