Question: Given the segment header below of a transport protocol along with the following checksum definition that is computed and then stored before every segment is
Given the segment header below of a transport protocol along with the following checksum definition that is computed and then stored before every segment is sent to a receiver:
Treat the Source_port, Destination_port and Length fields as 8 bit numbers
Add the Source port to the Destination port to obtain Result_1
Add Result_1 to the Length field to obtain Result_2
Take the 1s complement of Result_2 and put the 8 bit value in the Checksum field
| <-------- 1 byte --------> | <---------1 byte -------> |
| Source_port | Destination_port |
| Length | Checksum |
Compute the value that will be put in the Checksum field for the segment below. Show your work and the final Checksum value.
| 0011 0100 | 0110 1000 |
| 0001 0010 |
|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
