problems, networks
DESCRIPTION
Problem NetworkingTRANSCRIPT
-
Solution for assignment-2
105
Add the 16-bit numbers
06 DD
00 17
FC 96
A6 82
53 B3
6F E5
50 18
44 DC
FF FB
01 00
16-bit 1s complement sum:
1000 1000 0110 1010 (Hex: 886A)
Invert the bits to get 1s complement of the 1 complement sum
0111 0111 1001 0101 (Hex: 7795)
+
C0 A8
02 64
C0 A8
01 01
0006
0017
Padded zeroes
Source Port: 1757
Destination Port: 23 (Telnet)
Sequence Number: 4237731458
Ack Number: 1404268517
Header Length: 5 (32 bit words, which is equal to 20 bytes)
Flags: ACK and Push are set rest are zero (Binary 0001 1000)
Window size: 17628