As discussed before, Frame Relay is a NBMA technology, which requires dealing with address resolution issues, except for situations in which point-to-point interfaces are used.
The local Layer 2 addresses in Frame Relay are called Data Link Connection Identifiers (DLCIs) and they 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 5.5 below:
Figure 5.5 – Example of Frame Relay DLCI
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 the figure above.
The DLCI is the Frame Relay address, so this needs to be resolved 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 a 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 the DLCI information. The LMI is enabled automatically when Frame Relay is initially enabled on a Cisco device interface.
When you inspect the Frame Relay Permanent Virtual Circuit (PVC) status on a Cisco device, you will see a status code defined by the 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)
The three flavors of LMI are as follows:
- Cisco
- ANSI
- Q.933A
Cisco routers are configured to try all three of these LMI types automatically (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.
One of the most important aspects that must 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 the Layer 3 to Layer 2 resolution. As discussed, two options can help you achieve this, as follows:
- Dynamically, utilizing Inverse-ARP
- Statically, via “frame-relay map” static configuration commands
Note: In order to verify that the Layer 3 to Layer 2 resolution has succeeded, use 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 are 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 that it cannot be disabled, so the Frame Relay speaker will always attempt to assist anybody who attempts to perform a Layer 3 to Layer 2 resolution via Frame Relay Inverse-ARP.
The Inverse-ARP behavior in the Frame Relay design assists automatically with broadcasts through the replicated unicast approach discussed before. Therefore, when using Inverse-ARP, broadcast support exists by default.
When connecting two routers to the Frame Relay cloud using physical interfaces, the specific interfaces are multipoint from a Frame Relay perspective, because a physical Frame Relay interface by default is a multipoint structure. Therefore, even though the connection between the two routers may appear to be point-to-point, it is a Frame Relay multipoint connection, as illustrated in Figure 5.6 below:
Figure 5.6 – Example of Frame Relay Multipoint Connection
Because they use multipoint interfaces, by default, the two devices will handle the Layer 3 to Layer 2 resolution dynamically using Inverse-ARP.
If you would like to design a solution not using Inverse-ARP, you can turn off the dynamic mapping behavior on each device and then configure static Frame Relay mappings. The static mapping command is formatted as follows:
frame-relay map protocol address dlci [broadcast]
The “protocol” is usually IP, the “address” is the remote address, and the “dlci” parameter represents the local id. The “broadcast” keyword can be added optionally in order to activate the replicated unicast behavior to support broadcast functionality. Static mapping must be configured in order to override or turn off the default dynamic Inverse-ARP behavior. This helps the administration maintain 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 will find that there are dynamic mappings to 0.0.0.0. These mappings occur because of a clash of 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 the process in multipoint configurations does not occur when using such interface types. When configuring point-to-point Frame Relay, use point-to-point subinterfaces, which will not get the DLCI assignments from the LMI as in the multipoint situation. The DLCI must be assigned manually to the subinterfaces with the “frame-relay interface-dlci” command.
Figure 5.6 above can be modified such 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 5.7 below:
Figure 5.7 – Example of Frame Relay Point-to-Point Connection
There is no concern about the Layer 3 to Layer 2 resolution because each router has only one remote device to which it sends data and it does this by using the subinterface associated with DLCI.
Another option would be creating subinterfaces and declaring them as multipoint. These types of interfaces behave exactly like the physical multipoint interfaces, but 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 there can be all kinds of variations in your Frame Relay design, such as the following:
|
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 Layer 2 circuits are not provisioned between all endpoints involved in the Frame Relay environment.
In a hub-and-spoke environment, the spokes are not directly connected to each other, which means 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 resolution problems (e.g., by using the OSPF point-to-multipoint network type)
Frame Relay supports markings that can impact QoS. For example, the Frame Relay header contains a Discard Eligible (DE) bit. 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 Backwards Explicit Congestion Notifications (BECNs). The Frame Relay equipment, if configured to do so, can notify devices of congestion and slow down the sending rates, as illustrated in Figure 5.8 below:
Figure 5.8 – Frame Relay Congestion Notifications
In sum, if you have a chain of Frame Relay nodes that support FECNs and BECNs, the first device can forward a FECN that informs about existing congestion and about the need for slower transmitting rates. The FECN marking is then moved forward, but this can cause problems when there is no return traffic sent backwards. To make sure everybody knows about the congestion, use BECNs with 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 in order to avoid further congestion.



