recategorized by
700 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

694
views
1 answers
1 votes
admin asked Dec 15, 2022
694 views
Both the payload and $2\text{D}$ (even) parity bits are shown below. Some of these bit(s) have been flipped. Indicate the row and column of the flipped bit(s) in format ... \overline{0110 \;0111\; 0101\; 1001 \text { | } 1} \\\end{array}\]
564
views
1 answers
1 votes
admin asked Dec 15, 2022
564 views
Suppose the $\text{IP}$ addresses of $\text{A}$ and $\text{B}$ are $10.105.1.113$ and $10.105.1.91,$ respectively. They both use the same netmask $\mathrm{N}$. ... $255.255 .255 .128$255.255 .255 .192$255.255 .255 .224$
572
views
1 answers
1 votes
admin asked Dec 15, 2022
572 views
$1020$ bytes long packet must be routed through an interface with $\text{MTU}$ of $256$ bytes. Asssuming the smallest possible $\text{IPv4}$ header size, ... decimal), and Total Length field (in decimal) of $\text{IPv4}$ header.
1.1k
views
1 answers
2 votes
admin asked Dec 15, 2022
1,060 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 the third subnet.