(1) Suppose a packet contains three 16-bit data, which are represented by hexade
ID: 3603764 • Letter: #
Question
(1) Suppose a packet contains three 16-bit data, which are represented by hexadecimal format as 0xFD16, 0xABCD, 0x950C. Compute the checksum. Show work.
(2) Suppose the Round-trip time between 2 computers is 180ms, the network bandwidth between these two computers is 10Mbps, each transmitted packet between them has a constant size of 1000 bytes. What is the TCP congestion window value in order to make the network utilization to reach 60%? (Hint: the size of congestion window dictates how many packets or bytes you can push to the network)
Explanation / Answer
ANSWER::
The following two message is sent 10101001, and 00111001.
The checksum is calculated with 1's complement. So far I understood. At first I thought it maybe is XOR,
but it seems not to be the case.
10101001
00111001
--------
Sum 11100010
Checksum: 00011101
And then when they calculate if the msg arrived OK. And once again how is the sum calculated?
10101001
00111001
00011101
--------
Sum 11111111
Complement 00000000
It means that the pattern is O.K.
if three numbers are used we can add with previous result and then solve.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.