Protocols in multi-service networks
4.3 IP over ATM
You have seen that the IP protocol supports a connectionless service, and the ATM and TCP protocols support a connection-oriented service.
SAQ 8 (Revision)
What are the relative advantages and disadvantages of connectionless and connection-oriented services for transporting data through a communication network?
The Internet and internetworks in general consist of many physical networks, which may be of different types. After all, one of the main advantages of the TCP/IP protocol suite is its compatibility with many different network technologies. The host-to-network layer in the TCP/IP protocol model may transfer data over a range of network links – relatively slow modem links to homes, fast LANs interconnecting many computers within a building, fast private point-to-point links rented from telephone network operators. The example I wish to explore in this section is sending IP traffic over an ATM network.
Telephone network operators have installed a large amount of ATM equipment and it is likely that in the future a significant amount of traffic will be transported over ATM networks for part of its path between users. The ATM portions of the paths are of no interest to users because all they are concerned about is the quality of service they receive, not how it is achieved.
Several techniques exist for sending IP traffic over ATM networks. The technique I shall describe is label switching. However, you should bear in mind that there are other approaches and that label switching has wider application than supporting IP traffic over ATM networks. I shall ignore many of the intricate problems that arise when two significantly different technologies work together.
Before discussing label switching, however, I need to review the two basic mechanisms for transporting packets in packet-switched networks, which I shall call forwarding and routing. Unfortunately, these terms tend to be used interchangeably in the literature and their exact meaning has to be derived from the context. In this section I shall try to be more precise and define forwarding as the process of receiving a packet and passing it on to the next stage in the path to its destination, that is, packet switching. This generally involves a packet switch referring to a table that identifies the next path for each destination. This table is commonly called a forwarding table (see examples discussed earlier for ATM and IP), but it is also frequently called a routing table.
The entries in a forwarding table are determined by the routing process. The best path through a network is chosen from information about which links are available between switches. Selection of the best path can be based on the current level of traffic, which means that the contents of a forwarding table will change. Changes are made in the background to the forwarding process. Protocols that are specific to a network transport routing information between switches.
Generally in a large IP internetwork, it is impracticable for each router to contain an entry for each network address, so several network addresses are amalgamated into a single entry called & forwarding equivalence class. For example, imagine that a router knows that all packets destined for network addresses 132.141.0.0/16 (10000100 10001101), 132.152.0.0/16 (10000100 10011000) and 132.172.0.0/16 (10000100 10101100) should be forwarded over the same path. The 10 most significant bits of the 16-bit network addresses have the same value for all three addresses, so the forwarding table could have a single entry for the value 132.128.0.0/10 (10000100 10000000).
SAQ 16
What is the longest forwarding equivalence class address if datagrams for the network addresses 201.192.0.0/8, 200.128.0.0/8 and 201.64.0.0/8 are forwarded over the same interface?
With forwarding equivalence classes it is possible for a network address to match more than one entry in a forwarding table and the path chosen will be the one with the longest matching address.
SAQ 17
The following network addresses appear in a forwarding table:
- 182.0.0.0/8
- 182.64.0.0/10
- 182.128.0.0/10
- 182.160.0.0/12
- 182.144.0.0/12.
Which of the entries match the IPv4 address 182.145.57.3?
The searching for the longest match in a forwarding table takes place in each router in a connectionless network. The forwarding decision in a connection-oriented network is based on virtual path identifiers, which tend to be of fixed lengths. This simplifies the searching process. Label switching in essence brings this advantage of connection-oriented networks to connectionless protocols. Within a label-switched network, packets are forwarded according to labels added to them rather than according to the destination address stored in the packet header.
A router that is located around the periphery, or boundary, of a network is called an edge router. At an edge router of a label-switched network the destination addresses have to be converted to labels, but once within a label-switched network forwarding is achieved by inspection of labels alone. In ATM networks the labels can be inserted in the existing fields for virtual path and/or virtual channel identifiers. In other networks it may be necessary to encapsulate the IP datagram in another packet which contains a label in its header.
SAQ 18
Label switching seems to add extra overheads to forwarding packets. Suggest what advantages it may have.
Figure 30 shows the operation of IP over ATM using label switching. Although the figure shows only the entries for the paths from IP network 131.30.xx, it is a fairly complicated diagram, so you will need to spend some time working through the forwarding tables. The association of labels with IP forwarding equivalence class addresses is part of the routing process and is accomplished by a label distribution protocol in conjunction with the ATM signalling protocol for establishing virtual circuits.

SAQ 19
Compare the functions of forwarding IP datagrams and ATM data cells.