1. Hosts A and B are communicating over a TCP connection, and Host B has already received from Host A all bytes up through (and including) byte 248. Suppose Host A then sends two segments to Host B back-to-back. The first and second segments contain 40 and 60 bytes of data, respectively. In the first segment, the sequence number is 249, the source port number is 503, and the destination port number is 80. Host B sends an acknowledgment (ACK) whenever it receives a segment from Host A.
a) In the second segment sent from Host A to Host B, what are the sequence number, source port number, and destination port number?
b) If the first segment arrives before the second segment, in the acknowledgement of the first arriving segment what are the acknowledgement sequence number, the source port number, and the destination port number?
c) If the second segment arrives before the first segment, in the acknowledgement of the first arriving segment what is the acknowledgement sequence number?
sequence number is 289 (guide: sequence number will be first byte of the next sequence of bytes transmitted. as the first segment sent had
40 bytes, the next sequence number will ...
The guide gives detailed solutions for calculations of sequence number, source port number, and destination port number by three sending orders: host A to host B, host A before host B and host A after host B.
Difference between RIP and OSPF, TCP and UDP
a) Explain the differences between RIP and OSPF?
b) What is the difference between TCP and UDP?
c) How many subnets can be created with the following address scheme,154.234.x.x subnet mask of 255.255.224.0?