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
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
Select the frame relay tab and create the following links
|From Port||Sublink||To Port||Sublink|
Configure the routers
The configuration of each router is shown below
R0(config)#interface Serial 2/0
R0(config)#interface Serial 2/0.102 point-to-point
R0(config-subif)#ip address 22.214.171.124 255.255.255.252
R0(config-subif)#frame-relay interface-dlci 102
R0(config)#interface Serial 2/0.103 point-to-point
R0(config-subif)#ip address 126.96.36.199 255.255.255.252
R0(config-subif)#frame-relay interface-dlci 103
R1(config)#interface Serial 2/0
R1(config)#interface Serial 2/0.201 point-to-point
R1(config-subif)#ip address 188.8.131.52 255.255.255.252
R1(config-subif)#frame-relay interface-dlci 201
R2(config)#interface Serial 2/0
R2(config)#interface Serial 2/0.301 point-to-point
R2(config-subif)#ip address 184.108.40.206 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
R1(config)#ip route 220.127.116.11 255.255.255.252 18.104.22.168
R2(config)#ip route 22.214.171.124 255.255.255.252 126.96.36.199
Ping the routers to test connectivity among themselves.
I found your tutorial really easy to understand .
However as I am a noob I am not able to create subinterfaces using the interface serial 0/0/1 command on R0 as hub and am using packet tracer .
Here is output of show run config>>
as soon as i try to create subinterface an error msg pops up
%cannot create subinterfaces on Se 0/0/1
Please help me out
Jesin A says
I think you missed out the keyword “point-to-point” in the interface command.
It should be
Let me know if it works.
You need to exit the interface config mode before executing the sub-into command. Command should be executed at the global config mode. Hope this helps.
However, the doing exactly what is done here, there is no connectivity between any of the routers via the frame relay network. Ping to the hub or the other spoke from either spoke isn’t reachable.
Im trying to configure R0, the serial interface and i get % Invalid input detected at ‘^’ marker please help
Jesin A says
Are you trying this on Packet Tracer, GNS3 or real hardware? Please post the commands.
thx for your tutorial btw.
i wan to ask is there any difference in doing in real hardware?
I tried to do all like in the the tutorial, but ping is not working.
I did my lab in PT.
R0# sh ip route
C 188.8.131.52 is directly connected, Serial2/0.102
C 184.108.40.206 is directly connected, Serial2/0.103
R0#sh run config
no ip address
interface Serial2/0.102 point-to-point
ip address 220.127.116.11 255.255.255.252
frame-relay interface-dlci 102
interface Serial2/0.103 point-to-point
ip address 18.104.22.168 255.255.255.252
frame-relay interface-dlci 103
R1#sh ip route
C 22.214.171.124 is directly connected, Serial2/0.201
S 126.96.36.199 [1/0] via 188.8.131.52
no ip address
interface Serial2/0.201 point-to-point
ip address 184.108.40.206 255.255.255.252
frame-relay interface-dlci 201
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 220.127.116.11, timeout is 2 seconds:
Success rate is 0 percent (0/5)
Thank you very much!
Jesin A says
The problem could be with the configuration of the Cloud device. Please check the settings in the “Frame Relay” and Interface sections of the cloud.
If everything is correct and it still doesn’t work share the PKT file over Dropbox (or another service) and I’ll have a look.
Hi brothers as I configured the above codes it doesn’t ping, and I didn’t understand what is 2/0.102 things. I am making just 0/0/0. Can anyone help me.
.102 is a (logical) subinterface