Switching

Overview

Before investigating network protocols, we need to look at the major functions that a network protocol is responsible for - switching and routing. These two operations are closely related and often confused. Switching is the process of moving information through a network according to some path, while routing is the process of determining that path in an attempt to optimize the performance of the network. Different switching methods result in radically different network types and are critical in determining the properties of a network.

Why?

Objectives

Preparation

Read sections 3.1 and 3.3 and the notes.

Knowledge, Comprehension and Problem Solving

Terms

Questions

    1. Give an example of an application where circuit-switching would be appropriate and one where packet-switching is appropriate.
    2. Given the following diagram of a virtual-switched network,

      Show the virtual circuit tables as they develop for the following connections assuming that the virtual circuit identifier is always chosen as the lowest unused value.

      Host 1 connects to host 3
      Host 1 connect to host 6
      Host 5 connects to host 6
      Host 4 connects to host 3
      Host 4 connects to host 2
      Host 3 connects to host 5

    3. For the same network, show a routing table for router C.
    4. What is the maximum utilization for an ATM channel?
    5. The IP datagram for a TCP ACK message is 40 bytes long: it contains 20 bytes of TCP header and 20 bytes of IP header. Assume this ACK is traversing an ATM network that uses AAL5 to encapsulate the IP packets. How many ATM packets are required to carry the ACK? How many if AAL3/4 is used?
    6. Why are the ATM adaption layers provided?

Analysis, Synthesis and Evaluation

    1. Write the datagram-handling algorithm for a router in a circuit-switched network? Do the same for a router in a packet-switched network?
    2. Look at the VPI and VCI fields in the ATM header. Formulate a strategy for using these to perform clever switching.
    3. Referring to question 5 above: IP and ATM are both Network Layer protocols; why are IP packets going across an ATM network and how does it happen?
    4. Why might it be a problem to always start numbering virtual circuits at zero at a given switch?
    5. Why have most networks moved to packet or cell switching as a mechanism rather than circuit switching? Why are many packet-switching networks trying to figure out some way to implement a form of circuit switching?
    6. Explain why it would be impossible to have a virtual circuit scheme where the virtual circuit identifier would be constant as the packet moves through the network.
    7. Look up Multi-Protocol Label Switching (MPLS) on the Internet (www.iec.org/online/tutorials/mpls is a good place to look) and compare it to the methods discussed here.