Some facts:
LAPF Header Information LAPF trailer
LAPF header consist of:
BUT there is no protocol type field, there are 2 solutions about this:
Addressing
Local addressing is significant only on local access link on one PVC. Global addressing is simply a way of choosing DLCI numbers when planning a Frame Relay network so that working with DLCIs is much easier. Because local addressing is a fact, global addressing does not change these rules. Source DTE puts DLCI of destination DTE to the header, and the last switch, that is directly connected to the destination DTE, changes DLCI to the source DTE.
The sender treats the DLCI field as a destination address, using the destination’s global DLCI in the header.
The receiver thinks of the DLCI field as the source address, because it contains the global DLCI of the frame’s sender.
It is possible address to physical interface, multipoint or point-to-point subinterfaces.
Network Layer Concerns
3 ways of assigning ip addresses:
- It’s set of standarts.
- Based on X.25 technology.
- It is is a packet-switched technology.
- Frame Relay networks are called nonbroadcast multiaccess (NBMA) networks. More than 2 devices can be attached to the network, but you can't send broadcast. Also, because Frame Relay is multiaccess, it requires the use of an address that identifies to which remote router each frame is addressed.
- DTE sends keepalive messages using Local Management Interface (LMI) protocol.
- The routers are considered DTE, and the Frame Relay switches are data communications equipment (DCE).
- Predefined VCs are called permanent virtual circuits (PVC).
- Routers use the data-link connection identifier (DLCI) as the Frame Relay address
- Switched virtual circuit (SVC) - A VC that is set up dynamically when needed. An SVC can be equated to a dial connection in concept.
- Data terminal equipment (DTE) - DTEs are connected to a Frame Relay service from a telecommunications company. They typically reside at sites used by the company buying the Frame Relay service.
- Data communication equipment (DCE) - Frame Relay switches are DCE devices. DCEs are also known as data circuit-terminating equipment. DCEs are typically in the service provider’s network.
- Access link - The leased line between the DTE and DCE.
- Access rate (AR) - The speed at which the access link is clocked. This choice affects the connection’s price.
- Committed Information Rate (CIR) - The speed at which bits can be sent over a VC, according to the business contract between the customer and provider.
- Data-link connection identifier (DLCI) - A Frame Relay address used in Frame Relay headers to identify the VC. In DLCI the header has a single DLCI field, not both Source and Destination DLCI fields.
- Local Management Interface (LMI) - The protocol used between a DCE and DTE to manage the connection. Signaling messages for SVCs, PVC status messages, and keepalives are all LMI messages.
- Each VC has a CIR, which is a guarantee by the provider that a particular VC gets at least that much bandwidth.
- When there are PVCs between each pair of sites; this is called a full-mesh Frame Relay network.
- When not all pairs have a direct PVC, it is called a partial-mesh network.
There are 3 LMI standards:
- Cisco
- ITU
- ANSI
LAPF Header Information LAPF trailer
LAPF header consist of:
- DLCI – 10 bits
- Forward Explicit Congestion Notification (FECN) – 1 bit. This bit is set by router or DCE. It means, that this frame itself has experienced congection.
- Backward Explicit Congestion Notification (BECN) – 1bit - is sent to router, when this router makes congestion.
- Discard Eligibility (DE) – 1 bit - is set to frames with unimportant traffic, the provider can discard this packets, if there is congestion.
BUT there is no protocol type field, there are 2 solutions about this:
- LAPF header, Cisco, Packet,LAPF trailer
- LAPF header, RFC 1490, Packet, LAPF trailer
- encapsulation frame-relay ietf
- encapsulation frame-relay cisco
Addressing
Local addressing is significant only on local access link on one PVC. Global addressing is simply a way of choosing DLCI numbers when planning a Frame Relay network so that working with DLCIs is much easier. Because local addressing is a fact, global addressing does not change these rules. Source DTE puts DLCI of destination DTE to the header, and the last switch, that is directly connected to the destination DTE, changes DLCI to the source DTE.
The sender treats the DLCI field as a destination address, using the destination’s global DLCI in the header.
The receiver thinks of the DLCI field as the source address, because it contains the global DLCI of the frame’s sender.
It is possible address to physical interface, multipoint or point-to-point subinterfaces.
Network Layer Concerns
3 ways of assigning ip addresses:
- One subnet containing all Frame Relay DTEs
- One subnet per VC - hub and spoke technologie - it avoids split horizon issues.
- A hybrid of the first two options
frame-relay map ip 199.1.1.2 52 broadcast
The broadcast keyword is required when the router needs to send broadcasts or multicasts to the neighboring router — for example, to support routing protocol messages such as Hellos.
Configuring Frame Relay
Full meshed with 1 i p network:
interface serial0/0/0
encapsulation frame-relay
ip address 199.1.1.2 255.255.255.0
The LMI type is automatically sensed.
The (default) encapsulation is Cisco instead of IETF.
PVC DLCIs are learned via LMI status messages.
Inverse ARP is enabled (by default) and is triggered when the status message declaring that the VCs are up is received.
Change lmi:
frame-relay lmi-type ansi
Change encapsulation on all VCs on interface:
interface serial0/0/0
encapsulation frame-relay ietf
Change encapsulation for one VC:
frame-relay interface-dlci 53 ietf
Static mapping:
no frame-relay inverse-arp
frame-relay map ip 199.1.1.2 52 broadcast
The broadcast keyword is required when the router needs to send broadcasts or multicasts to the neighboring router—for example, to support routing protocol messages such as Hellos
A Partially Meshed Network with One IP Subnet Per VC
interface serial 0/0/0.1 point-to-point
ip address 140.1.1.2 255.255.255.0
frame-relay interface-dlci 51
Another way to map dlci to subinterface:
frame-relay map ip 140.1.1.2 52 broadcast
First physical interface subcommand encapsulation frame-relay. Then configure ip address(ip address interface subcommand). Define lmi type with frame relay lmi-type command. Manually map ip to DLCI frame-relay map ip.
The LMI setting is a per-physical-interface setting, even if subinterfaces are used, so the frame-relay lmi-type command is always a subcommand under the physical interface.
Show commands:
Show interfaces – shows all info about interface
Show frame-relay pvc - shows information about all PVCs.
Show frame-relay map - it shows IP-to-DLCI mappings.
Show frame-relay lmi
Interface serial 0/1/0.0 point-to point Frame-relay interface-dlci 53 - This command is typically used for subinterfaces DLCI is configured for every sub interface. Cisco IOS software needs to associate the correct PVC with the correct subinterface. This is accomplished with the frame-relay interface-dlci command. In case of sub interfaces DLCI is destination DLCI. This is Global sheme of addressing. If there is only one DLCI on main site router, than this is Global Addressing.