EC 504 End Semester QP
EC 504 End Semester QP
EC 504 End Semester QP
For each of the four interfaces, give the associated range of destination host addresses and the
number of addresses in the range. (2.5 marks)
(B) Suppose datagrams are limited to 1,500 bytes (including header) between source Host A and
destination Host B. Assuming a 20-byte IP header, how many datagrams would be required to
send an MP3 consisting of 5 million bytes? Explain how you computed your answer.
(2.5 marks)
2. (A) Consider a router that interconnects three subnets: Subnet 1, Subnet 2, and Subnet 3.
Suppose all of the interfaces in each of these three subnets are required to have the prefix
223.1.17/24. Also suppose that Subnet 1 is required to support at least 60 interfaces, Subnet 2 is
to support at least 90 interfaces, and Subnet 3 is to support at least 12 interfaces. Provide three
network addresses (of the form a.b.c.d/x) that satisfy these constraints. (3 marks)
2. Suppose that this network is a datagram network. Can you write down a forwarding table in
router A, such that all traffic from H1 destined to host H3 is forwarded through interface 3, while
all traffic from H2 destined to host H3 is forwarded through interface 4? (Hint: this is a trick
question.) (2 marks)
3. Consider Figure 1. Assuming TCP Reno is the protocol experiencing the behavior shown
above, answer the following questions. In all cases, you should provide a short discussion
justifying your answer. (Values in figure are approximate)
(B) Consider Figure. What are the source and destination port values in the segments flowing
from the server back to the clients’ processes? What are the IP addresses in the network -layer
datagrams carrying the transport-layer segments? What is the four tuple used to uniquely identify
a connection? (2 marks)
5 (A) Suppose you purchase a wireless router and connect it to your cable modem. Also suppose
that your ISP dynamically assigns your connected device (that is, your wireless router) one IP
address. Also suppose that you have five PCs at home that use 802.11 to wirelessly connect to
your wireless router. How are IP addresses assigned to the five PCs? Does the wireless router use
NAT? Why or why not? (2 marks)