

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Problem set 4 for the cs/ece 438: communication networks course, focusing on ip addressing, tcp rtt estimation, ip fragmentation, and networking utilities. Students are required to solve various problems related to routing tables, tcp estimator, ip fragmentation, and network interface parameters.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


(a) For each entry in the table, list the range of IP addresses that will be matched by that entry (ignoring any overlap between entries) and state the number of addresses in each group (b) Which interface will be used for each of the following addresses? Remember that routers use the rule with the longest matching prefix. i. 64.20.44. ii. 64.20.45. iii. 64.20.47. iv. 64.20.48.
(a) Choose α = 0.75 and SRTT(0) = 2 seconds, and assume all measured RTT values = 1 second with no packet loss. What is SRTT(15)? Recall,
SRT T (k + 1) = α ∗ SRT T (k) + (1 − α) ∗ RT T (k + 1).
(b) Now let SRTT(0) = 1 second and assume RTT values = 2 seconds and no packet loss. What is SRTT(19)?
(a) For each packet that arrives at host B, show the part of the header that concerns fragmentation, i.e. the ident, more-fragments, and offset fields, as well as the payload length. (b) How many bytes were sent by host A? How many bytes were received by host B? Include in your calculations the TCP, IP, and Ethernet header sizes. (c) If each packet across the point-to-point link arrive intact (without error) with probability p, calcu- late the probability that the entire sequence of packets arrives without the need for retransmission. (d) Calculate the long-term expected efficiency of the point-to-point link, assuming that the proba- bility of each fragment being lost is 4/5. Include in your calculation the overhead of TCP and IP headers, as well as any retransmissions.
(e) Most IP datagram reassembly algorithms have a timer to avoid having a lost fragment tie up reassembly buffers forever. Suppose a datagram is fragmented into four fragments. The first three fragments arrive, but the last one is delayed. Eventually the timer goes off and the three fragments in the receiver’s memory are discarded. A little later, the last fragment stumbles in. What happens to this last fragment at the receiver?
(a) The ifconfig utility is used to assign and examine network interface parameters. Read the man page on ifconfig to determine the Internet broadcast address for the EWS machines. (Hint: Use ifconfig with the -a option to list output for all interfaces, or first use the netstat utility discussed in problem set 2 to determine the specific interface(s) of the host to the network, so that you can specify them in the ifconfig command.) (b) The arp utility can be used to display the Internet-to-Ethernet address translation table in the host it is run on. Consult the man page for arp and use arp to determine the Ethernet addresses of 5 machines in the ews.uiuc.edu domain. (Hint: Since entries in the address translation table time out, there may not be many entries in it. To fill in a lot of entries, send a single ping to the broadcast address you found in part (a). Your host will look at all the return ping packets to build up its address translation table.)