CMSC 417 Midterm #2 (Spring 1997)

  1. (15 points) Define and explain the following terms:
    1. forbidden region
    2. flow control
    3. two army problem
    4. MTU
    5. bit stuffing

  2. (15 points) Error correction and detection.
    1. What is the minimum number of error recovery bits required to recover from an n bit error? Explain why this number of bits is sufficient.
    2. If the ratio of error detection bits to payload bits remains constant, what are the tradeoffs between having the error bits applied to a single character vs. a block of characters?

  3. (20 points) One way to support mobile hosts is by assigning a host a temporary IP address in its new location, and continuing to use its old address by tunneling IP through IP back to an agent running on the mobile host’s home network.
    1. Explain the steps required to permit a mobile host to register on a local network and start receiving packets using its permanent IP address.
    2. Give one advantage and one disadvantage of this approach to IP mobility compared with having a mobile host only use its permanent IP address.
    3. When tunneling IP through IP, it is not possible to always maintain a one for one match between tunneled packets and the native packet. Why? Explain the potential performance implications of this limitation.

  4. (15 Points) IP Addresses
    1. The Internet is running out of IP addresses to assign, but there are substantially less than four billion hosts on the Internet. Explain why this is happening.
    2. Joe Hacker reads about IPv6 (with 128 bit address) and is concerned about routing table size. He decides that the best solution is to encode latitude and longitude into IP addresses. Explain how this might be used to reduce routing table size. Provide a reason why this might not reduce routing table size.

  5. (15 Points) Consider a network where on average, messages between two hosts must travel through 10 routers (and thus 11 hops). On average, one packet in every 1,000 is lost as is passes through a router.
    1. If one packet in 100 is garbled per hop, what is the probability of a packet making it through the network if no link level re-transmission is used? What if link-level re-transmission is used?
    2. Repeat part a if the probability of a link garbling a packet is 1 in a billion.

  6. (15 points) Congestion Control
    1. Why is congestion control more important in a network carrying traffic whose bandwidth requirements vary dynamically during a session compared with fixed bandwidth traffic? 
    2. In TCP (Jacobson) congestion control, the variance in round-trip times for packets implicitly influences the congestion window. Explain how a high variation in the round-trip time affects the congestion window. What is the impact of this high variation on the throughput for a single connection?