[c-nsp] Terminating L2TP sessions into a VRF

Oliver Boehmer (oboehmer) oboehmer at cisco.com
Wed Mar 21 23:33:50 EST 2007


Everton da Silva Marques <> wrote on Wednesday, March 21, 2007 10:04 PM:

> 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
> 

yep, approach looks ok (you still need an "ip unnumbered <something>",
for example lo1 on your vtemplate, but I guess you only pasted the vrf
stuff).

	oli



More information about the cisco-nsp mailing list