cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1020
Views
0
Helpful
3
Replies

vrf config for virtual interface

Haris P
Level 4
Level 4

Dears ,

Im trying to create MPLS VPN for my ADSL subscribers .

I'm sending the vrf config. from the radius and On the radius debugs I can see that see that configuration is sending correctly to the router , but on the router Virtual access interface not configured for vrf forwarding .

The tf:rd is configured on the router

07A8 NAS-Port-Type = Virtual

07A8 Service-Type = Framed-User

07A8 NAS-IP-Address = 172.16.120.1

07A8 Sending Code=2, Id=23 to 172.16.120.1

07A8 Profile = "ADSLPPPoE"

07A8 Cisco-AVpair = "lcp:Interface-config= ip vrf forwarding mpls-test2"

07A8 Service-Type = Framed-User

07A8 Framed-Protocol = PPP

3 Replies 3

n.lenevez
Level 1
Level 1

Try associating a VRF loopback with the DSL VPN user:

interface loopback1

ip vrf forwarding mpls-test2

ip address 172.16.1.1 255.255.255.255

!

Then make sure in the AVPair it looks like this

Cisco-AVPair "lcp:interface-config=ip vrf forwarding mpls-test2\nip unnumbered loopback 1"

the \n is a carriage return

Then what if I have multiple VPN's , For each I have to create a loopback interface or what ? . Is there is anyway without adding on virtual template ? . The idea is i don't want to make too many virtual template for differenet VPN services .

I created one Loopback interface and this vrf to that .

Regards

Haris

Yes if you do it this way you will need to create multiple loopback interfaces (one for each VRF) but you can get away with only one virtual-template.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: