Question

# a. Find the checksum of this UDP packet: Source Port #: 1111111111111110 Destination Port#: 0000000000000010 Length...

a. Find the checksum of this UDP packet:

Source Port #: 1111111111111110
Destination Port#: 0000000000000010

Length # : 0000000000001100
Data: 00000000000000100000000000010000

b. When the receiving host receives this packet, how would it check the checksum? What value would it need to compute in order to assume that the packet has no bit errors?

• firstly add source and destination port—  1111111111111110 + 1111111111111110
• 0000000000000001

now, use the wraparound

• 0000000000000001 + 0000000000001100 + 0000000000000010 + 0000000000010000 ⇒
• ⇒ 0000000000011111

using 1's complement = 1111111111100000

checksum= 1111111111100000

• It determines to append the every 16bit integers in the packet with the checksum and it also required for the computer single 16bit respected 1's in state to expect the packet has no bit errors.

Note- Please do upvote, if any problem then comment in box sure I will help.

#### Earn Coins

Coins can be redeemed for fabulous gifts.