Cisco LNS with Freeradius and MySQL

Stephane MAGAND stmagconsulting at gmail.com
Mon Oct 18 19:07:03 CEST 2010


Hi

I request a small help for my configuration,
sorry for my english:


I have a cisco router with VRF
I have a Freeradius server with sql
I have a lot of Adsl user in L2TP.


I want add one user to a specific vrf, i have added to the mysql table:


INSERT INTO `radgroupreply` VALUES (9, 'IAccess', 'cisco-avpair',
'+=', '"lcp:interface-config=ip vrf forwarding INT002\\n ip unnumbered
Loopback250"');


but when the user connect, that's don't work ...

On my cisco router, i have:

One Loopback:

interface Loopback250
 ip vrf forwarding INT002
 no ip address


One Vrf:

ip vrf INT002
 rd 65509:501
 route-target export 65509:101
 route-target import 65509:100
 route-target import 65509:50



where is my error ?









Second question: I use sqlippool for dynamic IP, if i want specify a IP
to a username (static) what is the process ? create a specific group ?

thanks for your help
stephane



More information about the Freeradius-Users mailing list