Docsity

Practice Midterm Exam - Internet Protocols - Spring 2002 | CSC 573, Exams of Computer Science

Toggle sidebar
bg1
CSC 573 Section 001
Midterm test
February 7, 2002
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 – 17 each carry 10 marks. Answer in the space provided; provide
reasonable explanations where called for, but make your answer brief.
This is a one 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 Practice Midterm Exam - Internet Protocols - Spring 2002 | CSC 573 and more Exams Computer Science in PDF only on Docsity!

CSC 573 Section 001

Midterm test

February 7, 2002

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 – 17 each carry 10 marks. Answer in the space provided; provide reasonable explanations where called for, but make your answer brief.

This is a one 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. The Internet is a packet switched network.
  2. The TCP/IP protocol suite exactly conforms to the OSI reference layer of protocols.
  3. The Internet Advisory Board controls what traffic can be transferred over the Internet.
  4. At this time, there is a single backbone to the Internet.
  5. Protocols cannot be used on the Internet before they are standardized by the IEEE.
  6. CIDR can be used to reduce routing table entries on the global Internet.
  7. The use of gratuitous ARP can facilitate spotting situations where the same IP address is mistakenly assigned to multiple hosts.
  8. RARP is a more generalized version of BOOTP.
  9. Packet forwarding in the Internet at the network layer is done on next-hop basis only.
  10. RIP is a link-state routing protocol.
  1. Four sites in Asia ask for CIDR networks that will accommodate 500, 2040, 1020 and 1010 host IP addresses, respectively. The networks that are allocated must be allocated in that order, using the smallest IP numbers possible. (“Holes” are filled up if possible.) The first available address is 202.0.8.0. Show the resulting address space allocation by filling in the following table:

Site Lowest Highest Mask “Count” 1

2

3

4

  1. Node E in a graph has received the following distance vectors from its neighbors in the graph. Compute the “next-hop” information from E to all destinations, and show the resulting distance vector that E will send to its neighbors. Answer by filling up the table row provided, and indicate both the minimum distances and the corresponding neighbors.

From / To 

A B C D E F G

A 0 4 9 13 12 5 16

C 12 2 0 9 2 6 3

D 10 1 12 0 5 5 4

G 4 9 16 5 4 16 0

E 0(E)

  1. The output from running netstat -rn on some host A is shown below.

Route Table

Interface List 0x1 ........................... MS TCP Loopback interface 0x1000003 ...00 30 a4 aa 5d e2 ...... Xircom Ethernet Adapter 0x1000004 ...00 02 dd 33 12 af ...... TrueMobile 1150 PC Card =========================================================================== =========================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 255.255.255.255 255.255.255.255 255.255.255.255 1000003 1 ===========================================================================

(a) What are the hosts that can be reached from A?

(b) If A is configured to use DHCP on each of its interfaces, what can we say about the current status of A?

After some time, the same command is run again on A, and the following output obtained. Route Table =========================================================================== Interface List 0x1 ........................... MS TCP Loopback interface 0x1000003 ...00 30 a4 aa 5d e2 ...... Xircom Ethernet Adapter 0x1000004 ...00 02 dd 33 12 af ...... TrueMobile 1150 PC Card =========================================================================== =========================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 152.14.51.193 152.14.51.239 1 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 152.14.51.192 255.255.255.192 152.14.51.239 152.14.51.239 1 152.14.51.239 255.255.255.255 127.0.0.1 127.0.0.1 1 152.14.255.255 255.255.255.255 152.14.51.239 152.14.51.239 1 224.0.0.0 224.0.0.0 152.14.51.239 152.14.51.239 1 255.255.255.255 255.255.255.255 152.14.51.239 152.14.51.239 1 Default Gateway: 152.14.51. =========================================================================== (c) What is now the range of hosts that should be reachable from A using the third routing table entry?

(d) What destination addresses, if any, appear to be unreachable from A according to the current routing table?

(e) What has most likely occurred between the two runs of netstat?