Setting Up Frame Relay with Point-to-Point Subinterfaces
Problem
You want to configure Frame Relay services so that each PVC is assigned to a separate subinterface.
Solution
Probably the cleanest way to set up a Frame Relay network is to use point-to-point subinterfaces. If you have a host site that connects to two or more branches through a Frame Relay WAN, you could configure the central host router like this:
Central#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. Central(config)#interface
Central(config-if)#
Serial0
description
Central(config-if)#
Frame-Relay host circuit
no ip address
Central(config-if)#encapsulation frame-relay
Central(config-if)#exit
Central(config)#interface
Serial0.1
point-to-point
Central(config-subif)#description
Central(config-subif)#
PVC to first branch - DLCI 101
ip address
Central(config-subif)#
192.168.1.5 255.255.255.252
frame-relay interface-dlci
Central(config-fr-dlci)#
101
exit
Central(config-subif)#exit
Central(config)#interface
Serial0.2
point-to-point
Central(config-subif)#description
Central(config-subif)#
PVC to second branch - DLCI 102
ip address
Central(config-subif)#
192.168.1.9 255.255.255.252
frame-relay interface-dlci
Central(config-fr-dlci)#
102
exit
Central(config-subif)#exit
Central(config)#end
Central#
And all of the branches would follow the same basic configuration, but with different IP addresses and DLCI numbers:
Branch1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. Branch1(config)# ...
Get Cisco IOS Cookbook, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.