[c-nsp] Terminating L2TP sessions into a VRF

Everton da Silva Marques everton at lab.ipaccess.diveo.net.br
Wed Mar 21 16:03:58 EST 2007


The intent is to run a Cisco 7206 router
as LNS server at address 1.1.1.1, which is
assigned to Loopback1 (bound to vrf LAB_LNS).

The PPP sessions over the L2TP tunnel
must terminate at that VRF.

Assuming L2TP packets from LAC can reach
this LNS at 1.1.1.1 (thru a MPLS VPN), does
the following sample config make sense?
That is, are those VRF references a valid
way to deliver PPP sessions (over L2TP)
into the vrf named LAB_LNS?

vpdn-group LAB
 accept-dialin
  protocol l2tp
  virtual-template 1
 terminate-from hostname LAC
 vpn vrf LAB_LNS                    ! <-- VRF pointer here
 source-ip 1.1.1.1
 local name LNS
!
interface Loopback1
 ip vrf forwarding LAB_LNS          ! <-- VRF pointer here
 ip address 1.1.1.1 255.255.255.255
!
interface Virtual-Template1
 ip vrf forwarding LAB_LNS          ! <-- VRF pointer here

Please advise.


More information about the cisco-nsp mailing list