



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Instructions:
Due Date: Dec. 4, 2008 (submit in class, at the start of class; OR place your solution in the wall-mounted box outside my office, THN E213, by the same deadline)
Problem 1. [1 point] Fig. 1 shows a network of IP routers and hosts. The link rates, through , are all 1Gbps, while the link rate
. Two TCP connections are established: (i) between processes in Host 1 and Host 3, and (ii) between processes in Host 2 and Host 3. The maximum segment size is the same, 1460 bytes, on both TCP connections. The RTT (Round Trip Time), to send a segment and receive an ACK, on the Host1-to-Host3 path is 50ms, while it is 5ms on the Host2-to-Host3 path. The packet loss rate on the Host1-to-Host3 path is 2%, while the packet loss rate on the Host2-to-Host3 path is so small that it can be approximated to 0. What is the throughput of each TCP connection? Do not forget the units in your answer.
r 1 r 5 r 6 = 10 Mbps
r 1 r 5
r 4 r 3 r 2 ..... ..... Other links
..... (^) .....
IP router IP router^ IP router IP router
Host 1
Host 2
Host 3
r 6
Fig. 1 An example IP network
Problem 2. [1.5 points]
Fig. 2 shows a TCP segment exchange. The term “Max-Data” denotes a maximum-sized segment carrying user data. The MSS for this exchange is 1024 bytes. If a segment has no payload, and is simply used to carry an acknowl- edgment, it is represented with “ack number,” where “number” represents the value carried in the Acknowledgement number field of the TCP header. Assume that at time , the mean RTT value, A, is 3, the mean RTT deviation,
D, is 0.5, and the RTO is 5. At time t=4.2, an RTT measurement is initiated at the sender, mng.
Problem 3. [2 points]
At a given instant in time, , the congestion window size at a TCP sender is 6400 bytes, ssthresh is 7000 bytes, and the sender receives an ACK reporting a flow-window size from the receiver of 4000 bytes. After reception and processing of this ACK, the TCP sender notes that there are still 2 outstanding segments. MSS for this connection is 800 bytes. Answer the following:
a. What is the newly computed value of the congestion window?
b. How many maximum-sized segments can the sender now transmit?
mng (^) photon Time
Max-Data (seq 1025, ack 1)
Max-Data(seq 2049, ack 1)
ack 2049 ack 3073
Fig. 2 An example TCP data exchange
t =4.
t = 6
t =6.
t
Problem 6. [8 points]
In this problem, we study how TCP, UDP, DNS and FTP are all used. Assume that dns.virginia.edu and dns.cisco.com are the DNS servers for the virginia.edu and cisco.com domains, respectively. The IP address/subnet mask assigned to the interface cards of these two DNS servers are shown in Fig. 4. Also shown are the IP address/ subnet mask assigned to Frodo’s laptop’s NIC and the Cisco FTP server NIC. Frodo runs an FTP client on his laptop and wishes to download a file, F, of size 10000 bytes, from ftp.cisco.com. Assume that the DNS caches are empty at Frodo’s laptop and all the DNS servers. The name servers do NOT support recursion.
IP router IP routers
IP router
Internet
FTP server ftp.cisco.com
DNS server dns.cisco.com
DNS server dns.virginia.edu
.com DNS server
.edu DNS server
root DNS server
128.143.219.25/ Frodo's laptop
198.133.219.25/
198.133.132.18/24 128.143.216.15/
Fig. 4 Example of DNS and FTP
Problem 7. (3 points):
Using the RSA public key cryptosystem, if , and , find and compute the cipher text cor- responding to the plaintext message hoos. Assume that letters are represented by numeric values as follows: a = 1, b = 2, etc. [e.g., ‘h’ equals 8]. Encrypt hoos one letter at a time and give the corresponding decimal numeric values for the ciphertext.
p = 5 q = 11 d = 27 e