21 nov. 2011

PPP over Frame Relay


PPPoFR:
Uses virtual access interfaces cloned from a virtual template interface.
Works only on point-to-point (sub-)interfaces

Configuring Virtual Template Interfaces
1. Create a virtual template interface.
2. Configure the virtual template interface: enable PPP encapsulation using encapsulation ppp.
3. Enable IP addressing on the virtual template interface using the ip unnumbered interface-type/number.

IP address pool can be used to assign IP addresses, or an IP address can be assigned directly to the virtual template interface.

Example:
interface loopback0
 ip address 172.16.1.1 255.255.255.252
 !
interface Virtual-Template1
 ip unnumbered Loopback0
 no ip directed-broadcast
 ppp authentication chap

Apply the virtual template interface and configure PPP over Frame Relay
1. In interface configuration mode enable Frame Relay with the encapsulation frame-relay command.
2. Apply a virtual template with PPP encapsulation to the DLCI to which it will apply. Use the frame-relay interface-dlci dlci [ppp virtual-template-name-string] command.

Example:
interface serial 3/0
 no ip address
 encapsulation frame-relay
 !
interface serial 3/0.1 point-to-point
 frame-relay interface-dlci 101 ppp virtual-template1
 !
interface Virtual-Template1
 ip unnumbered loopback0
 ppp authentication chap
!
interface loopback 0
 ip address 172.16.1.1 255.255.255.252

Adding CHAP Authentication to PPP over Frame Relay

Example:
!
hostname R1
!
username R2 password 0 cisco
!
interface Virtual-Template1
 ip address 192.168.1.2 255.255.255.0
 ppp authentication chap
 !
interface Serial1
 no ip address
 encapsulation frame-relay
!
interface Serial1.1 point-to-point
 frame-relay interface-dlci 101 ppp Virtual-Template1

!
hostname R2
!
username R1 password 0 cisco
!
interface Virtual-Template1
 ip address 192.168.1.1 255.255.255.0
 no peer default ip address
 ppp authentication chap
!
interface Serial1
 no ip address
 encapsulation frame-relay
!
interface Serial1.1 point-to-point
 frame-relay interface-dlci 101 ppp Virtual-Template1
!


Tips:



  • Works even if Virtual-Templates on each routers are on different subnets.
  • It is possible to assign ip addresses from a local pool:


R5:!interface Virtual-Template1  ip unnumbered Loopback0 peer default ip address pool PPPpool!ip local pool PPPpool 10.7.7.7 10.7.7.88!
Then, Virtual-Access interfaces get IP Addresses from this pool:R5#show ip route connected      10.0.0.0/32 is subnetted, 2 subnetsC       10.7.7.8 is directly connected, Virtual-Access2C       10.7.7.9 is directly connected, Virtual-Access3     192.168.1.0/32 is subnetted, 1 subnetsC       192.168.1.1 is directly connected, Loopback0










NTP - ACL

NTP - Network Time Protocol Packet types: -  Control messages : don't bother with this. -  NTP request/update messages: used for time sy...