recategorized by
615 views

1 Answer

0 votes
0 votes

To calculate the Internet checksum for the two 16-bit messages, you can follow these steps:

  1. Convert the two messages to binary and concatenate them: 0001 1000 0001 0010 1011 1000 1011 0011

  2. Split the concatenated message into 16-bit words: 0001 1000 0001 0010 1011 1000 1011 0011

  3. Calculate the sum of the 16-bit words: 0001 1000 0001 0010

  • 1011 1000 1011 0011

    1111 0000 1111 0001
  1. If the sum is greater than 16 bits, add the carry to the least significant bits: 1111 0000 1111 0001
  • 0000 0000 0001 0000

    1111 0001 0000 0001
  1. Take the one's complement of the sum to get the checksum: 0000 1110 1111 1110

The Internet checksum for the two 16-bit messages is therefore 0000 1110 1111 1110 (in binary).

Related questions

2 votes
2 votes
1 answer
4
admin asked Dec 15, 2022
848 views
An organization is granted the $\text{IPv4}$ address block $130.56.0.0/16.$ The network administrator wants to create $1024$ subnets. Find the first and last addresses in...