cc/td/doc/product/atm/c8540/wa5/12_0/3a_11
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Layer 3 Protocols over ATM

Layer 3 Protocols over ATM

One of the most common uses of ATM switches is in the backbone of a campus or enterprise network, or in the core of a WAN. In such applications, native mode network-layer traffic and LAN traffic must be carried across the ATM network. This chapter presents common scenarios and discusses two of the protocols that provide solutions for these problems.

This chapter contains the following sections:


Note The information in this chapter is applicable to the Catalyst 8540 MSR, Catalyst 8510 MSR, and LightStream 1010 ATM switch routers. For detailed configuration information, refer to the ATM Switch Router Software Configuration Guide and the ATM Switch Router Command Reference publication.

Background

As a campus backbone or core of a WAN, ATM provides reliable transport, efficiency of bandwidth utilization, and QoS. In a typical scenario, end stations connected to the ATM network via a router and sending network layer packets, such as IP, want to take advantage of ATM's benefits while communicating with end stations behind the other router across the ATM cloud (Figure 5-1).


Figure 5-1: Traffic Across the ATM Cloud


In a typical backbone implementation of ATM, the ATM network must carry traffic that is connectionless and in a network layer protocol format, such as IP. IP data, for example, is formatted in packets, not cells; IP is typically carried over a broadcast medium such as Ethernet or Token Ring and uses IP rather than ATM addresses. The requirements for transport of IP, or other Layer 3 protocols, are therefore fundamentally different from ATM.

Two main problems must be solved in carrying network layer protocol traffic across the ATM network (see Figure 5-2):


Figure 5-2: Native Mode versus LAN Emulation


Broadly speaking, there are three approaches available to solve the challenges that packet encapsulation and address resolution pose:

Classical IP and Multiprotocol Encapsulation Over ATM

Several protocols have been designed to provide complementary mechanisms and formats that address the issues of address resolution and encapsulation. Two protocols in particular provide the basis for native mode transport of IP and other network layer protocols over ATM:

RFC 1577 Provisions

In the RFC 1577 model, ATM becomes a direct replacement for the interconnection of local LAN segments that contain IP end stations and routers operating in the classical LAN-based paradigm. Such LAN segments, called logical IP subnets (LISs), are identical in all "protocol" aspects to conventional LAN media subnets. ATM-attached systems in the same LIS have the same network numbers and subnet masks, just as on an Ethernet or other conventional media. Two ATM-attached systems not in the same LIS can communicate only through a router---hence the term "classical" IP---even though they are both attached to the same ATM physical network. RFC 1577 also specifies address resolution and discovery mechanisms. These are the ATM Address Resolution Protocol (ATMARP) and Inverse ATM Address Resolution Protocol (InATMARP).

The ATMARP Mechanism

In traditional LANs the function of finding a MAC layer address is performed by the ARP mechanism, which identifies the MAC address corresponding to an IP or other network layer address, and by the broadcast mechanism, which sends a single packet over the LAN that is seen by every device on the segment. This is not possible in ATM, since no such thing as a broadcast address exists. Additionally, ATM is point-to-point, so the only way to broadcast a single frame is to send copies of the same frame over every point-to-point link, addressed to the unique ATM address of that device.

RFC 1577 specifies that address resolution be accomplished by the ATMARP server, a centralized server that maintains a table of IP addresses to ATM addresses. The ARP server maintains this table for a single IP subnet, and any client that needs to communicate with another client can query the ARP server to get that device's ATM address and directly set up a connection to it.

How It Works

Figure 5-3 contains three ATMARP clients and one ATMARP server. When coming online, the ARP clients register their IP and ATM addresses with the ARP server.


Figure 5-3: Classical IP-Over-ATM Example


The following steps describe the process whereby a classical IP-over-ATM connection is set up between ATM switch router client A and client B:

Step 1 The initial IP packet sent by client A triggers a request to the ARP server to look up the IP address and the corresponding ATM address of client B in the ARP table.

For each packet with an unknown IP address, the client sends an ATMARP request to the ARP server. Until that address is resolved, any IP packet routed to the ATM interface causes the client to send another ATMARP request.

Step 2 The ARP server sends back a response to client A with the matching ATM address.

Step 3 Client A uses the ATM address it just obtained from the ARP server to set up an SVCC directly to client B.

Step 4 When client B replies with an IP packet to client A, it also triggers a query to the ARP server.

When client B receives the ATM address for client A, it usually discovers it already has a call set up to client A's ATM address and does not set up another call.

Step 5 Once the connection is known to both clients, they communicate directly over the SVCC.

In Cisco's implementation, the ATMARP client tries to maintain a connection to the ATMARP server. The ATMARP server can tear down the connection, but the client attempts once each minute to bring the connection back up. No error message is generated for a failed connection, but the client will not route packets until the ATMARP server is connected and translates IP network addresses.

The ATM switch router can be configured as an ATMARP client to work with any ATMARP server conforming to RFC 1577. Alternatively, one of the ATM switch routers in an LIS can be configured to act as the ATMARP server itself. In that case, it automatically acts as a client as well.


Note When possible, we recommend placing the ATMARP server on a router rather than a switch.

Note The ATM router module does not support RFC 1577.

The InATMARP Mechanism

With InATMARP there is no server function; rather, clients exchange information and discover one another's protocol address. To discover the protocol address of the remote end of a connection, a client sends an InATMARP request over a virtual connection for the address of the other end; this is how a client knows what addresses it can reach. This mechanism provides an alternative to statically mapping ATM and IP addressees in the configuration.

RFC 1483 Provisions

As its name implies, multiprotocol encapsulation over ATM, defined in RFC 1483, provides mechanisms for carrying traffic other than just IP. RFC 1483 specifies two ways to do this:

LLC encapsulation is provided to support routed and bridged protocols. In this encapsulation format, PDUs from multiple protocols can be carried over the same virtual connection. The type of protocol is indicated in the packet's SNAP header. By contrast, the virtual connection multiplexing method allows for transport of just one protocol per virtual connection.

Static Map Lists

Static map lists belong to neither RFC 1483 nor RFC 1577 specifications. Rather this is a Cisco IOS feature that offers an alternative to using the ATMARP or InATMARP mechanisms. With static maps lists, you can associate, among other things, a protocol address with an ATM address or with a VCI/VPI.

Figure 5-4 illustrates the use of static address mapping to set up a connection between switch A and switch B.


Figure 5-4: Multiprotocol Encapsulation over ATM Example


The following steps occur when a connection between switch A and switch B needs to be set up to forward an IP packet:

Step 1 An IP packet with destination 123.233.45.3 arrives at switch A.

Step 2 Switch A finds the destination IP address in its map list.

Step 3 Using a statically configured map list, switch A identifies the ATM address corresponding to the next-hop IP address (for SVCCs) or the VPI/VCI value corresponding to the next-hop IP address (for PVCCs).

Step 4 If SVCCs are used, signaling sets up a virtual connection to the destination ATM address. If PVCCs are used, the connection follows the statically configured path of the virtual connection.

Step 5 The encapsulated packet is forwarded over the ATM virtual connection.


Note Static map lists are not supported on the ATM router module.

Common Implementations

The solutions found in RFC 1483, RFC 1577, and Cisco's static map list feature, can be combined in various ways. Four of the most common of these, along with their advantages and limitations, are described in this section.

SVCCs with ATMARP

The essential ingredients of this implementation are encapsulation of native protocol IP datagrams over ATM (in RFC 1483 routed IP format) and use of the RFC 1577 ATMARP mechanism to map IP addresses to ATM addresses (see the "The ATMARP Mechanism" section).

Advantages

Potential advantages of SVCCs with ATMARP include the following:

Limitations

Potential limitations of SVCCs with ATMARP include the following:

PVCCs with InATMARP

In this implementation, static routes are configured between network devices (switches and routers) using PVCCs. The network protocol address of the remote end of a connection is not configured, but is discovered by the Inverse ATMARP (InATMARP) process. IP packets are encapsulated in SNAP, per RFC 1483.

Advantages

Potential advantages of PVCCs with InATMARP include the following:

Limitations

Potential limitations of PVCCs with InATMARP include the following:

PVCCs with Static Address Mapping

In this implementation PVCCs are configured between switches (or between switches and routers in a routed subnet design). Using statically configured map lists, each PVCC is mapped to a destination protocol address; packets are routed based on the mappings in the map list.

Advantages

Potential advantages of PVCCs with static mapping include the following:

Limitations

Potential limitations of this implementation include the following:

SVCCs with Static Address Mapping

In this implementation SVCCs are set up as needed based on the information in the statically configured map list. That list contains mappings of protocol addresses to ATM addresses. To set up a connection to a destination protocol address, the ATM switch router locates the ATM address that corresponds to the protocol address in the map list, then sets up an SVCC to that ATM address.

Advantages

Potential advantages of SVCCs with static mapping include the following:

Limitations

Potential limitations of SVCCs with static mapping include the following:

In the WAN, this implementation might have the following additional limitations:

Scenarios for Inband Management

The implementations described above provide one set of solutions to the need posed in Figure 5-1. In this scenario, in which routed subnets are interconnected over ATM, the role of the ATM switch router is essentially a passive one. Encapsulation and address resolution take place on the routers, and the switches function only to forward ATM cells through the network on SVCCs or PVCCs.

In a primarily Layer 2 ATM switch environment, however, these solutions can be used for inband management of the ATM switch router. When the ATM switch router is managed with out-of-band connections, a separate Ethernet connection is required for each device. For example, if you have multiple switches to manage through SNMP, you would have connections to the Ethernet port on the CPU of each of the switches. By using an implementation from RFC 1577 and RFC 1483, you can connect to just one of those ports and get management information from all the others using interswitch SVCCs or PVCCs (see Figure 5-5). In this scenario, you are accessing management information through an inband (ATM) connection rather than by out-of-band (Ethernet) connection.


Figure 5-5: Inband Network Management


Some risk occurs in using the ATM network itself to provide network management connectivity. However, this liability can be mitigated if you have redundant links and multiple paths. For this reason, implementations with SVCCs might be preferable.

Configuration Overviews

The configuration overviews in this section describe ways you can use solutions discussed in the "Common Implementations" section for inband management of the ATM switch router.

SVCCs with ATMARP

The following steps describe configuring the ATM switch router as an ARP client, such as switch client A in Figure 5-5:

Step 1 Enable IP host-based routing on the ATM switch router.

This enables the switch to perform basic routing functions.

Step 2 Configure an ATM address on the processor's ATM interface.

Step 3 Configure an IP address on the processor's ATM interface.

Step 4 Specify the ATM address of the ARP server.

Step 5 Configure a static route through the ATM switch router to the processor interface.

This step is required only when configuring the ARP client using an NSAP form address; ESI format addresses do not require this step.

The following steps describe configuring the ATM switch router as an ARP server, such as switch B in Figure 5-5:

Step 1 Enable IP host based routing on the ATM switch router.

This enables the switch to perform basic routing functions.

Step 2 Configure an ATM address on the processor's ATM interface.

Step 3 Configure an IP address on the processor's ATM interface.

Step 4 Enable the ARP server on this device.

Step 5 Configure a static route through the ATM switch router to the processor interface.

This step is required only when configuring the ARP server using an NSAP format address; ESI format addresses do not require this step.

It might be useful to keep the following additional points in mind when setting up SVCCs with ATMARP:

PVCCs with InATMARP

The following steps are required to configure PVCCs with InATMARP for inband management such as that in Figure 5-5:

Step 1 Enable IP host-based routing on the ATM switch router.

This enables the switch to perform basic routing functions.

Step 2 Configure an IP address on the processor's ATM interface.

Step 3 Create a PVCC to the remote end.

Step 4 Enable InATMARP and SNAP encapsulation on the interface.

It might be useful to keep the following additional points in mind when setting up PVCCs with InATMARP:

PVCCs with Static Address Mapping

The following steps are required to configure a PVCC-based static IP address mapping on the ATM switch router for inband management, such as in Figure 5-5:

Step 1 Enable IP host-based routing on the ATM switch router.

This enables the switch to perform basic routing functions.

Step 2 Configure the IP address on the processor's ATM interface.

Step 3 Specify a map-group name to associate with the PVCC you are setting up.

Step 4 Configure a PVCC and specify the encapsulation type.

Step 5 Make a map-list entry that maps the remote end's IP address to the PVCC you set up in Step 4.

SVCCs with Static Address Mapping

The following steps are required to configure SVCC-based static IP address mapping on the ATM switch router for inband management, such as in Figure 5-5:

Step 1 Enable IP host-based routing on the ATM switch router.

This enables the switch to perform basic routing functions.

Step 2 Configure the IP address on the processor's ATM interface.

Step 3 Configure the ATM address on the processor's ATM interface.

Step 4 Specify a map-group name to associate with this interface.

Step 5 Make a map-list entry that maps the remote end's IP address to its ATM address.


hometocprevnextglossaryfeedbacksearchhelp
Posted: Mon Oct 25 13:41:03 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.