





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!






(Note: The following practice questions are intended to help you prepare for the exam. Be sure to also review class examples and homework assignments for comprehensive study.)
(c) (3 points) “Internet checksum” and “Cyclic Redundancy Check (CRC)” Internet Checksum:
a) [4 points] Suppose the user at C1 enters a URL into the browser for a document at S1 and refers to S1 by its name (e.g., S1.cs.umass.edu). The document stored in S1 and returned to the user at C1 contains an embedded URL that is at another site outside the autonomous system shown above (e.g., www.remotesite.com). Which of the elements C1, S1, R1 – R4 will make a query to DNS server S2 to resolve the name S1.cs.umass.edu? The client C1 will need to contact the DNS in order to get the IP address of HTTP server S b) Which of the elements C1, S1, R1 – R4 (if any) will make a query to DNS server S2 to resolve the name www.remotesite.com? Client C1 will contact DN server S2 in order to resolve the name www.remotesite.com c) If S2 does not know the IP address corresponding to www.remotesite.com, which of C1, S1, S2, R1 – R4 will contact an external DNS server, assuming recursive queries? S2 will contact an external DNS server, under recursive DNS queries. d) [4 points] Which of C1, S1, S2, R1 – R4 must be running the TCP protocol? Explain your answer. C1 and S1 are known to be running HTTP, which requires TCP. R4 must be running BGP (the only interdomain protocol being used in the Internet) in order for the BGP speaker in R4 to talk to the BGP speaker on the other side of the ISP access link, in order to get and advertise BGP tables. Hence R4 must also be
running TCP. DNS uses UDP, so server S2 need not run TCP. If the intradomain routers were running OSPF, they would not need to run TCP to exchange tables. e) [4 points] Identify the individual subnets (in an IP addressing sense) in the figure above. Specify an internet address for one interface in each of the subnets. As shown in the figure above, there are six subnets. Each subnet must have a different subnet part of the IP address. In the solution above, the first 24 bits are the subnet address, and they must be different from one subnet to another. f) [3 points] Which of C1, S1, S2, R1 – R4 run an intra-domain routing protocol? All of these must run the intradomain routing protocol g) [3 points] Which of C1, S1, S2, R1 – R4 run an inter-domain routing protocol? Given your answer in e), what address prefix is advertised to ASs outside this network? R4. The prefix 11.11/16 could be advertised to the outside world, since all IP addresses within the network fall within this range. h) [3 points] Assume that the client and servers are connected to R1 using Ethernet, and that the routers are interconnected using a point-to-point protocol. Which of C1, S1, S2, R1 – R4 must be running the ARP protocol? Explain your answer. Any device connected to an Ethernet must be running ARP, so C1, S1, S2, and R must be running ARP
Destination Address Link Interface H3 3
b. 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? No, because the forwarding rule is only based on the destination address (and not the source address).
Prefix match Interface
3 2
Step N’ A B C D E F 0 1 2 3 4 5 6
Step N’ A B C D E F 0 G (^) 5,G 2,G 8,G 1 G E (^) 5,E 8,E 5,G*^ 8,G 2 G EB#^ 14,B 8,E 5,G 8,G 3 G EB D 11,D 8,E 8,G (^4) G EB D C^ 10,C 8,G 5 G EB D CF 10,C 6 G EB D CF A