Frame Relay is a Non-Broadcast Multi-Access (NBMA) technology. This means that you have to deal with address resolution issues, except in situations where you use Point-to-Point interfaces. The local Layer 2 addresses in Frame Relay are called Data Link Connection Identifiers (DLCI) and these are only locally significant. For example, in a hub-and-spoke environment, the hub device should have a unique DLCI to communicate to each of its spokes, as illustrated in Figure 16.6 below:
Figure 16.6 – Frame Relay DLCI Example
| Note: The DLCI number at the end of each link may or may not be identical. For ease of understanding, they are considered identical in Figure 16.6 above.
|
The DLCI is the Frame Relay address, so this is what you need to resolve to a Layer 3 IP address. Another fundamental Frame Relay component is the Local Management Interface (LMI). The service provider operates a DCE Frame Relay device (usually a switch) and the customer provides the DTE Frame Relay device (usually a router). The LMI is the language that permits these two devices to communicate. One of its duties is to report the status (health) information of the virtual circuit that makes up the Frame Relay communication. The LMI also provides DLCI information. LMI is enabled automatically when Frame Relay is initially enabled on a Cisco device interface.
When you inspect the Frame Relay PVC (Permanent Virtual Circuit) status on a Cisco device, you will see a status code defined by LMI that will be one of the following:
- Active (everything is okay)
- Inactive (no problems on the local node, but possible problems on the remote node)
- Deleted (problem in the service provider network)
As an example, Cisco devices offer three flavors of LMI:
- Cisco
- ANSI
- Q.933A
Cisco routers are configured to automatically try all three of these LMI types (starting with the Cisco LMI) and use the one that matches whatever the service provider is using. This should not be much of a concern in the design phase.
An important aspect that needs to be considered in the design phase is the address resolution methodology used. If you are utilizing Multipoint interfaces in your design (i.e., interfaces that can terminate multiple Layer 2 circuits), you need to find a way to provide Layer 3-to-Layer 2 resolution. As discussed, you have two options that can help you achieve this:
- Dynamically, utilizing Inverse ARP
- Statically, via the frame-relay map static configuration command on Cisco devices
| Note: To verify that Layer 3-to-Layer 2 resolution has succeeded, you can issue the show frame-relay map command.
|
On a Multipoint interface, Inverse ARP happens automatically. This functionality is enabled right after adding an IP address on an interface configured for Frame Relay. At that moment, requests start being sent out of all the circuits assigned to that specific interface for any supported protocol the interface is running.
The request process can be disabled with the no frame-relay inverse-arp command, but you can never design a network that will stop responding to requests. By design, Inverse ARP replies cannot be disabled, so the Frame Relay speaker will always attempt to assist somebody that attempts to perform Layer 3-to-Layer 2 resolution via Frame Relay Inverse ARP. The Inverse ARP behavior in the Frame Relay design automatically assists with Broadcasts through the replicated Unicast approach discussed before, so when using Inverse ARP, Broadcast support exists by default.
If you connect two routers to the Frame Relay cloud using physical interfaces, this means that the specific interfaces are Multipoint from a Frame Relay perspective, because a physical Frame Relay interface by default is a Multipoint structure. Even though the connection between the two routers may appear to be Point-to-Point, it is a Frame Relay Multipoint connection. This is illustrated in Figure 16.7 below:
Figure 16.7 – Frame Relay Multipoint Example
Because they use Multipoint interfaces by default, the two devices handle Layer 3-to-Layer 2 resolution dynamically using Inverse ARP.
If you want to design a solution where Inverse ARP is not used, you can turn off the dynamic mapping behavior on each device and then configure static Frame Relay mappings. The static mapping command has the following format in Cisco devices:
frame-relay map protocol address dlci [broadcast]
The protocol keyword is usually IP, the address keyword is the remote address, and the dlci keyword represents the local id. The broadcast keyword can be optionally added to activate the replicated Unicast behavior to support Broadcast functionality. The static mapping must be configured in order to override or turn off the default dynamic Inverse ARP behavior. This helps the administrator have full control over the Layer 3-to-Layer 2 resolution process in a Frame Relay environment.
A huge error that can appear on Cisco equipment is that once the physical interfaces come up and Inverse ARP starts to operate, you might find that there are dynamic mappings to 0.0.0.0. These mappings occur because of a clash between two features: Inverse ARP and Cisco Auto Install. To discard these mappings, a clear frame-relay inarp command should be issued and then the device should be restarted. This mapping can create a failure in the communication paths from the Frame Relay environment.
Point-to-Point configurations are the ideal choice when it comes to Layer 3-to-Layer 2 resolution because this process does not occur when using such interface types. When configuring Point-to-Point Frame Relay, use Point-to-Point subinterfaces, as these subinterfaces will not get the DLCI assignments from the LMI as they would in the Multipoint situation. The DLCI must be manually assigned to the subinterfaces with the frame-relay interface-dlci command.
The previous example can be modified so that Point-to-Point subinterfaces are created between the two routers and then manually assigned DLCI ids in order for Frame Relay to function correctly, as illustrated in Figure 16.8 below:
Figure 16.8 – Frame Relay Point-to-Point Example
There is no concern about Layer 3-to-Layer 2 resolution because each router has only one remote device it sends data to and it does this using the subinterface associated with the DLCI.
Another option would be to create subinterfaces and declare them Multipoint interfaces. These types of interfaces behave exactly like the physical Multipoint interfaces so you need to decide on the resolution method to be used: Inverse ARP or static mappings. A combination of these can be used, for example, by implementing Inverse ARP on one end of the connection and defining static maps on the other end.
The interface type settings and the selected Layer 3-to-Layer 2 resolution method is only locally significant. This means that you can have all kinds of variations in your Frame Relay design, such as the ones shown in Table 16.2 below:
Table 16.2 – Frame Relay Design Variations
|
Local Interface |
connected to |
Remote Interface |
| Main interface | Main interface | |
| Main interface | Multipoint subinterface | |
| Main interface | Point-to-Point subinterface | |
| Multipoint subinterface | Multipoint subinterface | |
| Multipoint subinterface | Point-to-Point subinterface | |
| Point-to-Point subinterface | Point-to-Point subinterface |
Partial-mesh designs and configurations will be the most challenging. This implies that Layer 2 circuits will not be provisioned between all the endpoints involved in the Frame Relay environment.
| Note: The hub-and-spoke topology is just a special type of partial-mesh configuration.
|
In a hub-and-spoke environment, the spokes are not directly connected to each other and this means that they cannot resolve each other via Inverse ARP. In order to solve these issues, you can do any of the following:
- Provide additional static mappings
- Configure Point-to-Point subinterfaces
- Design the hub-and-spoke infrastructure so that the Layer 3 routing design can solve the resolution problems (e.g., using the OSPF Point-to-Multipoint network type)
Frame Relay supports markings that can impact Quality of Service (QoS). For example, the Frame Relay header contains a Discard Eligible (DE) bit, so with Frame Relay environments for QoS, packets can be marked with the DE bit and this informs the service provider that those specific packets are not very important and can be discarded in case of congestion. This behavior will prioritize packets that do not have the DE bit set.
Other parameters that can be configured in the Frame Relay environment are Forward Explicit Congestion Notifications (FECNs) and Backward Explicit Congestion Notifications (BECNs). The Frame Relay equipment, if configured to do so, can notify devices of congestion and can cause the slowing down of the sending rates, as illustrated in Figure 16.9 below:
Figure 16.9 – Frame Relay Congestion Notifications
If you have a chain of Frame Relay nodes that support FECNs and BECNs, the first device can send an FECN that informs about existing congestion and the need for slower transmitting rates. The FECN marking is moved forward and this can cause problems when there is no return traffic sent backward. To make sure everybody knows about congestion, use BECNs that are empty frames that carry the BECN bit backward. This notifies the return path about the congestion. Devices respond to FECNs and BECNs by slowing down in terms of the transmitted rate to avoid further congestion.



