PPP over Frame Relay
Problem
You want to run use PPP encapsulation over a Frame Relay PVC.
Solution
To configure PPP over Frame Relay, you need to associate the DLCI with a Virtual Template, which will carry the Layer 3 information. Because PPP fundamentally involves a single connection between two devices, it is most natural to use this feature on point-to-point subinterfaces:
Router1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. Router1(config)#interface
Router1(config-if)#
Loopback1
ip address
Router1(config-if)#
10.1.200.5 255.255.255.252
exit
Router1(config)#interface Virtual-Template
Router1(config-if)#
1
ip unnumbered
Router1(config-if)#
Loopback1
encapsulation ppp
Router1(config-if)#exit
Router1(config)#interface
Router1(config-if)#
Serial0
no ip address
Router1(config-if)#encapsulation frame-relay
Router1(config-if)#exit
Router1(config)#interface
Serial0.1
point-to-point
Router1(config-subif)#frame-relay interface-dlci
104
ppp Virtual-Template
Router1(config-fr-dlci)#
1
exit
Router1(config-subif)#exit
Router1(config)#end
Router1#
You can also use this feature directly on a physical interface:
Router2#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. Router2(config)#interface
Router2(config-if)#
Loopback1
ip address
Router2(config-if)#
10.1.200.6 255.255.255.252
exit
Router2(config)#interface Virtual-Template
Router2(config-if)#
1
ip unnumbered
Router2(config-if)#
Loopback1
encapsulation ppp
Router2(config-if)#exit
Router2(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.