Hello Brian,Can you explain how PPP over Frame Relay works? Also what are the advantages and disadvantages of using it over normal Frame Relay configuration?Thanks and regards,
Yaser
Hi Yaser,
Frame Relay does not natively support features such as authentication, link quality monitoring, and reliable transmission. Based on this it is sometimes advantageous to encapsulate an additional PPP header between the normal layer 2 Frame Relay encapsulation and the layer 3 protocol. By running PPP over Frame Relay (PPPoFR) we can then implement authentication of Frame Relay PVCs, or even bind multiple PVCs together using PPP Multilink.
PPPoFR is configure in Cisco IOS through the usage of a Virtual-Template interface. A Virtual-Template is a PPP encapsulated interface that is designed to spawn a “template” of configuration down to multiple member interfaces. The traditional usage of this interface has been on dial-in access servers, such as the AS5200, to support multiple PPP dialin clients terminating their connection on a single interface running IP.
The first step in configuring PPPoFR is to create the Virtual-Template interface. This interface is where all logical options, such as IP address and PPP authentication will be configured. The syntax is as follows:
interface Virtual-Template1 ip address 54.1.7.6 255.255.255.0 ppp chap hostname ROUTER6 ppp chap password 0 CISCO
Note the lack of the “encapsulation ppp” command on the Virtual-Template. This command is not needed as a Virtual-Template is always running PPP. This can be seen by looking at the “show interface virtual-template1” output in the IOS. Additionally in this particular case the remote end of this connection will be challenging the router to authenticate via PPP CHAP. The “ppp chap” subcommands have instructed the router to reply with the username ROUTER6 and an MD5 hash value of the PPP magic number and the password CISCO.
Our next step is to configure the physical Frame Relay interface, and to bind the Virtual-Template to the Frame Relay PVC. This is accomplished as follows:
interface Serial0/0 encapsulation frame-relay frame-relay interface-dlci 201 ppp Virtual-Template1
Note that the “no frame-relay inverse-arp” command is not used on this interface. Since our IP address is located on the Virtual-Template interface the Frame Relay process doesn’t actually see IP running over the link. Instead it simply sees a PPP header being encapsulated on the link, while the IPCP protocol of PPP takes care of all the IP negotiation for us. Note that the order that these steps are performed in is significant. If a Virtual-Template interface is applied to a Frame Relay PVC before it is actually created you may see difficulties with getting the link to become active.
Also when using a Virtual-Template interface it’s important to understand that a Virtual-Access “member” interface is cloned from the Virtual-Template interface when the PPP connection comes up. Therefore the Virtual-Template interface itself will always be in the down/down state. This can affect certain network designs such as using the backup interface command on a Virtual-Template. In our particular case we can see from the below output this effect:
R6#show ip interface brief | include 54.1.7.6 Virtual-Access1 54.1.7.6 YES TFTP up up Virtual-Template1 54.1.7.6 YES manual down down
Aside from this there is no other configuration that directly relates to Frame Relay for PPP. Other options such as authentication, reliability, and multilink would be configured under the Virtual-Template interface.

Just wanted to say that these blog entries have been very informative. This is a great idea — please keep them coming!
Yup Dan,
Indeed a good explanation.
just a query,
1>Can we generalize all the advantages that are given by the PPP header on FR to be similarly applicable for Ethernet & ATM media i.e, PPPOE/PPPOA?
2>As well the procedure to make them operational, is there any significant operational difference on other mentioned media types?
Thanks a lot for the contribution !!!
[...] Internetwork Expert Blog: Understanding PPP over Frame Relay (PPPoFR)- a great tutorial on PPPoFR, including when and why you would use it in the “real world.” [...]
Yes this quite good and straight to the point.
We appreciate the effort IE has made to setup this blog.
Thanks !
Hi Dara,
Yes the same advantages apply to running PPP over ATM or Ethernet. PPP is run over Ethernet generally in DSL environments to allow the service provider to authenticate the end client.
HTH,
Brian
Thanks Brian , that realy help.
Yaser
[...] Full article here [...]
Just wanted to say that these blog entries have been very informative, to me thanks a lot.
Great Blog,very helpful indeed…
Hi, Is any setting required on FR Switch for PPP over Templete. I am seeing that I am able to ping all the interfaces and EIGRP neighbor also established. But I am not seeing any advertised routes on any router. Please help.
[...] article from Internetwork [...]
Hi,
Do I have to create a virtual template for RIP authentication over a FR link?
Does this apply to other routing protocols as well? Thanks
[...] (m) PPP over Frame-Relay [...]
One point thats not mentioned is that a corresponding username must be created on each router otherwise authentication will not succeed.
i.e. username r1 password 0 cisco