How to configure frame relay in Cisco Packet Tracer

Written by A.Jesin Sunday, 4 December 2011 08:10

This article will explain frame relay configuration in Cisco Packet Tracer. Frame relay is a WAN technology. Read the Wikipedia article to learn more about Frame Relay. You can also try this on live routers and other network simulators, but the frame relay switch configuration varies. The setup here will use the hub and spoke configuration, Router0 is the hub, Router1 and Router2 are the spokes. Point-to-Point subinterfaces are created and PVCs (Permanent Virtual Circuits) are established between Router0 and Router1 and Router0 and Router2. So the Spoke routers communicate via Router0.

The topology of this lab is shown below

cisco frame relay topology

The DCE end of the serial cable should be connected to the frame relay switch.

Frame Relay Switch Configuration

Configure the serial interfaces of the Frame Relay switch as follows

Serial0

DLCIName
102R0-R1
103R0-R2

Serial1

DLCIName
201R1-R0

Serial2

DLCIName
301R2-R0

Select the frame relay tab and create the following links

From PortSublinkTo PortSublink
Serial0R0-R1Serial1R1-R0
Serial0R0-R2Serial2R2-R0

Configure the routers

The configuration of each router is shown below

Router0 (Hub)

R0>enable
R0#configure terminal
R0(config)#interface Serial 2/0
R0(config-if)#no shutdown
R0(config-if)#encapsulation frame-relay
R0(config-if)#exit
R0(config)#interface Serial 2/0.102 point-to-point
R0(config-subif)#ip address 1.1.1.1 255.255.255.252
R0(config-subif)#frame-relay interface-dlci 102
R0(config-subif)#exit
R0(config)#interface Serial 2/0.103 point-to-point
R0(config-subif)#ip address 1.1.1.5 255.255.255.252
R0(config-subif)#frame-relay interface-dlci 103

Router1 (Spoke)

R1>enable
R1#configure terminal
R1(config)#interface Serial 2/0
R1(config-if)#no shutdown
R1(config-if)#encapsulation frame-relay
R1(config-if)#exit
R1(config)#interface Serial 2/0.201 point-to-point
R1(config-subif)#ip address 1.1.1.2 255.255.255.252
R1(config-subif)#frame-relay interface
R1(config-subif)#frame-relay interface-dlci 201

Router2 (Spoke)

R2>enable
R2#configure terminal
R2(config)#interface Serial 2/0
R2(config-if)#no shutdown
R2(config-if)#encapsulation frame-relay
R2(config-if)#exit
R2(config)#interface Serial 2/0.301 point-to-point
R2(config-subif)#ip address 1.1.1.6 255.255.255.252
R2(config-subif)#frame-relay interface-dlci 301

Configure routing on the spoke routers

Unless routing is configured the spoke routers cannot communicate among themselves. You can use any routing protocols. For this tutorial I will use static routing

Router1

R1(config)#ip route 1.1.1.4 255.255.255.252 1.1.1.1

Router2

R2(config)#ip route 1.1.1.0 255.255.255.252 1.1.1.5

Ping the routers to test connectivity among themselves.

Also read:

Enjoyed reading this article, subscribe to stay up-to-date with more such articles

Leave a Reply




XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>