Docsity

Final Test for Internet Protocols | CSC 573, Exams of Computer Science

Toggle sidebar
bg1
CSC 573 Section 002
Final test
May 12, 2003
Questions 1 โ€“ 10 each carry 3 marks. Answer only by placing a check mark to indicate
whether the statement is true of false in the appropriate box, and leaving the other box
blank.
Questions 11 โ€“ 18 each carry 6 marks. Answer in the space provided; provide reasonable
explanations where called for, but make your answer brief.
Questions 19 carries 22 marks. Answer in the space provided; provide reasonable
explanations where called for, but make your answer to the relevant point.
This is a three hour test.
First Name: _____________________________
Last Name: _____________________________
Student ID: _____________________________
Pledge of Honor: I pledge on my honor that I have answered the questions
in this test purely on my own individual ability, and have neither given help
to nor received help from another person in taking the test.
Signature: __________________________________________
pf3
pf4
pf5

Partial preview of the text

Download Final Test for Internet Protocols | CSC 573 and more Exams Computer Science in PDF only on Docsity!

CSC 573 Section 002

Final test

May 12, 2003

Questions 1 โ€“ 10 each carry 3 marks. Answer only by placing a check mark to indicate whether the statement is true of false in the appropriate box, and leaving the other box blank. Questions 11 โ€“ 18 each carry 6 marks. Answer in the space provided; provide reasonable explanations where called for, but make your answer brief. Questions 19 carries 22 marks. Answer in the space provided; provide reasonable explanations where called for, but make your answer to the relevant point. This is a three hour test. First Name: _____________________________ Last Name: _____________________________ Student ID: _____________________________ Pledge of Honor: I pledge on my honor that I have answered the questions in this test purely on my own individual ability, and have neither given help to nor received help from another person in taking the test. Signature: __________________________________________

TRUE FALSE

  1. If a computer running IP software has more than one network interfaces, it must be a router.
  2. ICMP defines the conditions under which ICMP messages should be generated but not in general the actions that must be performed in response to these messages.
  3. An organization uses variable length subnetting. This implies that each subnet of this organization can use multiple masks of different lengths.
  4. When header checksum fails at a router , the IP packet is dropped and an error message is sent to the source.
  5. RARP can be considered a dynamic mapping protocol in which a logical address is found for a given physical address.
  6. The Internet protocols are based on the assumption that the network can be dumb, slow or defective.
  7. The UDP protocol operates above the IP layer and provides host-to-host communication.
  8. TCP guarantees that bytes are delivered in-order to the receiving application.
  9. The Internet protocols are based on the assumption that reliability must be jointly ensured by the endpoints and the network.
  10. A TCP receiver must acknowledge a FIN before closing.
  1. A datagram was fragmented multiple times during its journey from source to destination and reached the destination in five total fragments. The original datagram and each fragment have 20 bytes of IP header. The fragment offset and datagram size fields values in the headers of four of the fragments are given below as decimal numbers. Complete the table. Total length Fragment Offset MF flag 324 38 โ€ก 76 324 0 324 114 Other fragment Original 1480 1
  2. For the purpose of this question, ignore all special cases of IP addresses (all 0โ€™s, all 1โ€™s, etc.). An organization will use CIDR addressing to address its 2 19 hosts. Any contiguous set of class B address spaces are available. (a) Choose some appropriate starting address, and write down the CIDR prefix for the organization. List the class B networks which this CIDR network encompasses. (b) The CIDR network is to be divided into four logical subnetworks, each containing exactly one-quarter of the total number of hosts. Write down four CIDR prefixes for these consistent with the prefix you have written for the whole network in part (a).
  3. MPLS was designed to allow routers to forward packets with less overhead. Very briefly state how the assignment of labels can also aid in attempts at providing QoS.
  4. A host with IP address 152.14.55.69 attempts an inverse DNS query to find out its name. Will this trigger a complete search of the DNS tree until a name is found mapping to that IP address? Write down the entity that is searched for in the DNS tree in response to this query.
  1. An organization has six routers and is connected to a single router R0 outside the organization as shown in the diagram. For the purpose of this question, we assume that all the routes are handcrafted and stable, correct, and optimal. The problem is to infer the forwarding table entries after watching how a few packets are routed. The routes followed by some packets are given in the table below. Network in which packet originates Destination address of the packet Path which it is seen to follow before delivery R0 152.1.1.39 R0-A-B F 146.5.5.34 F-C-A-R D 152.1.8.1 D-A-R R0 152.1.7.50 R0-A-C R0 152.1.4.99 R0-A-C-E C 152.1.2.1 C-A-E E 152.1.5.1 E-C-F A 152.1.6.254 A-C-F B 152.1.4.254 B B 152.1.5.1 B-A-C-F F 152.1.2.1 F-C-A-D R0 152.1.3.254 R0-A-D Assume that only a single physical network is connected locally to each of B,C,D,E, and F, and none to A. Only fixed length subnetting with mask is used in the organization. Complete the table below by identifying the address blocks in the physical networks connected to the five routers, and fill in as many forwarding table entries as you can deduce in the tables in the diagram on the next page. Include any essential reasoning you use. Router Lowest IP address in local network Highest IP address in local network B C D E F Now assume that the organization internally uses CIDR addressing and rewrite all the table entries accordingly on the diagram on the page following the next page.

CIDR routes: R A C E F

B D