How to configure frame relay in Cisco Packet Tracer
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 asimulators, 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
Serial0
DLCI
|
NAME
|
102
|
R0-R1
|
103
|
R0-R2
|
Serial1
DLCI
|
NAME
|
201
|
R1-R0
|
Serial2
DLCI
|
NAME
|
301
|
R2-R0
|
Select the frame relay tab and create the
following links
FROM PORT
|
SUBLINK
|
TO PORT
|
SUBLINK
|
Serial0
|
R0-R1
|
Serial1
|
R1-R0
|
Serial0
|
R0-R2
|
Serial2
|
R2-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
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
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
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.
No comments:
Post a Comment