Hub And Spoke Frame Relay Sample Configuration
Dynamic IP Routing Over A Multipoint Interface
Cisco ConfigMaker
Windows 95/NT 4.0 configuration tool

This sample configuration routes TCP/IP over a partially-meshed frame relay network. IP routes are dynamically resolved using RIP version 2 as the routing protocol.

In this configuration, the frame relay cloud is treated as a multipoint interface. Unless an existing multipoint frame relay network is already in place, it is highly recommended to implement a configuration using subinterfaces.

Dynamic IP Routing ConfigurationGet A Configuration Using Subinterfaces (recommended)
Faxback Doc #0519

In general, it is good practice to use subinterfaces for partially-meshed frame relay networks. A frame relay network designed with subinterfaces scales much easier to future expansion. Referring to the example, subinterfaces allow routing updates to exchange between Boston and Chicago through Atlanta. Without subinterfaces, Boston is unable to receive routing updates from Chicago and vice versa creating a condition known as split-horizon.

Frame Relay Subinterface TutorialInfo On Subinterfaces
Faxback Doc #subifs
IP Unnumbered TutorialInfo On IP Unnumbered
Faxback Doc #ip_unnum
 

Before you begin

Detailed IOS Command DescriptionsGet The IOS Frame Relay Command Glossary.
Faxback Doc #0550
Detailed descriptions of all IOS commands used in frame relay configurations. Also provides links to the IOS Command Reference if more information is required
IOS Command Line TutorialGet The IOS Command Line Interface Tutorial
Faxback Doc #ios_tutorial
Instructions on configuring an IOS router using the command line interface
Preconfiguration Checklist
Frame Relay Information
The following info must be gathered from the frame relay provider
  1. Frame Relay LMI Type
    Common types include generic LMI (a.k.a. Cisco LMI) and ANSI Annex D

  2. DLCI Information
    The router requires a DLCI for every frame relay virtual circuit.

  3. DSU/CSU Information
    The circuit provider must provide clocking, data framing, and line encoding information to configure DSU/CSU successfully.
Network Information
The following info must be gathered from the network administrator
  1. IP Address Information
    An IP network design must be created. Separate IP network subnets are required at each site.

Note: Commands followed by a <*> are on by default and do not have to be configured. The "!" marks that appear in the configuration are automatically entered by the router and function as line separators for easier reading.


Atlanta Router Configuration
In IOS "show running-config" format

version 11.2 <*>
service udp-small-servers <*>
service tcp-small-servers <*>
!
hostname Atlanta
!
enable secret cisco
!
ip subnet-zero
no ip domain-lookup
!
interface Ethernet0
 ip address 10.1.1.1 255.0.0.0
!
interface Serial0
 ip address 172.16.1.1 255.255.0.0
 encapsulation frame-relay
 frame-relay lmi-type ansi
 frame-relay map ip 172.16.1.2 16 broadcast
 frame-relay map ip 172.16.1.3 17 broadcast
!
router rip
 version 2
 network 10.0.0.0
 network 172.16.0.0
 no auto-summary
!
ip http server
ip classless
!
line con 0
 password console
 login
line aux 0 <*>
line vty 0 4
 password telnet
 login <*>
!
end <*>


Boston Router Configuration
In IOS "show running-config" format

version 11.2 <*>
service udp-small-servers <*>
service tcp-small-servers <*>
!
hostname Boston
!
enable secret cisco
!
ip subnet-zero
no ip domain-lookup
!
interface Ethernet0
 ip address 20.1.1.1 255.0.0.0
!
interface Serial0
 ip address 172.16.1.2 255.255.0.0
 encapsulation frame-relay
 frame-relay map ip 172.16.1.1 16 broadcast
 frame-relay map ip 172.16.1.3 16 broadcast
!
router rip
 version 2
 network 20.0.0.0
 network 172.16.0.0
 no auto-summary
!
ip http server
ip classless
!
line con 0
 password console
 login
line aux 0 <*>
line vty 0 4
 password telnet
 login <*>
!
end <*>


Chicago Router Configuration
In IOS "show running-config" format

version 11.2 <*>
service udp-small-servers
<*>
service tcp-small-servers <*>
!
hostname Chicago
!
enable secret cisco
!
ip subnet-zero
no ip domain-lookup
!
interface Ethernet0
 ip address 30.1.1.1 255.0.0.0
!
interface Serial0
 ip address 172.16.1.3 255.255.0.0
 encapsulation frame-relay
 frame-relay lmi-type ansi
 frame-relay map ip 172.16.1.1 16 broadcast
 frame-relay map ip 172.16.1.2 16 broadcast
!
router rip
 version 2
 network 30.0.0.0
 network 172.16.0.0
 no auto-summary
!
ip http server
ip classless
!
line con 0
 password console
 login
line aux 0 <*>
line vty 0 4
 password telnet
 login <*>
!
end <*>


After You've Tried

You've tried the configuration and it doesn't work. Help is available!

IOS Router Frame Relay Troubleshooting GuideGet IOS Router Frame Relay Troubleshooting Assistance
Faxback Doc #fr_ts
 

All contents copyright © Cisco Systems, Inc. Important notices.