background image
Hands-on Labs
553
In my seminars I usually use a 2522 router as a frame switch, which pro-
vides 10 serial connections. But, since it is possible you may only have some
2501s, I have written this lab to work with three 2501 routers.
1.
Set the hostname, frame-relay switching command, and the encap-
sulation of each serial interface on the Frame Relay switch.
Router#config t
Router(config)#hostname RouterB
RouterB(config)#frame-relay switching
RouterB(config)#int s0
RouterB(config-if)#encapsulation frame-relay
RouterB(config-if)#int s1
RouterB(config-if)#encapsulation frame-relay
2.
Configure the Frame Relay mappings on each interface. You do not
have to have IP addresses on these interfaces, as they are only switch-
ing one interface to another with Frame Relay frames.
RouterB(config-if)#int s0
RouterB(config-if)#frame-relay route 102 interface
Serial1 201
RouterB(config-if)#frame intf-type dce
RouterB(config-if)#clock rate 64000 [if you have this
as
DCE]
RouterB(config-if)#int s1
RouterB(config-if)#frame-relay route 201 interface
Serial0 102
RouterB(config-if)#frame intf-type dce
RouterB(config-if)#clock rate 64000 [if you have this
as
DCE]
This is not as hard as it looks. The route command just says that
if you receive frames from PVC 102, send them out int s1 using
PVC 201. The second mapping on serial 1 is just the opposite. Any-
thing that comes in int s1 is routed out serial 0 using PVC 102.
3.
Configure your Router A with a point-to-point subinterface.
Router#config t
Router(config)#hostname RouterA
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com