03-08-2011 12:21 AM - edited 03-01-2019 02:24 PM
Hi all,
I am trying to assign the ip address to pppoe client using Radius. The scenario is basically we will have pppoe clients (Not Cisco AFAIK) and they will authenticated against FreeRadius from LNS. I tried to find out some documentation about it but found none.
Especially i have seen scenarios where ADSL clients retrieves IP address automatically with DNS server and default gateway to reach to internet as soon as pppoe is up, I tried it using Radius using <Framed-IPaddress> attribute and it works like a charm. But the problem is How to assign the DNS ip addresses and default gateway or default route <Framed-route> using Radius, though I m carrying wrong perception as there is as such no attribute in Radius which assigns DNS ip addresses from Radius. these makes me to think that it is the job of DHCP servers.
Anyone out there who are running ADSL ISP setup are requested to share how do they basically assign the IP addresses to ADSL PPPOE client, using Radius or DHCP? and how?
Thanks in Advance
Hitesh Vinzoda
Solved! Go to Solution.
03-08-2011 01:29 AM
AVPair are sent to the LNS. LNS will process them and send the right information to the CPE, in a PPP packet.
The CPE is completely unaware that a Radius server exists, its only point of contact is the LNS.
The AVPairs will not be received directly by the CPE.
Therefore you can use any CPE brand.
Cheers
Marco
03-08-2011 12:46 AM
Hi Hitesh,
This is an example from my lab's radius server.
I've added many AVPair that you can use as reference.
user1@cisco.com Password := "test"
Service-Type += Framed-User,
Framed-Protocol += PPP,
Cisco-AVPair += "ip:description=This is a test", <<< interface description
Cisco-AVPair += "ip:vrf-id=MyVRF", <<< interface assigned to specific VRF
Cisco-AVPair += "ip:ip-unnumbered=loopback1", <<< virtual-access will have ip unnumbered on Lo1
Cisco-AVPair += "ip:dns-servers=10.10.10.1 10.10.10.2", <<< DNS servers
Cisco-AVPair += "ip:sub-qos-policy-out=MyPolicyMap", <<<< Apply QoS Policy-map
Cisco-AVPair += "ip:addr-pool=MyPool" <<<< assign an IP address from an address pool (defined locally on the LNS)
--- Remember to rate useful posts ---
03-08-2011 12:50 AM
Hi Marco,
Thanks for the prompt response, I have one question that my ADSL CPE would not be cisco, in that case does the Cisco AV pairs are going to work?
TIA
Hitesh
03-08-2011 01:29 AM
AVPair are sent to the LNS. LNS will process them and send the right information to the CPE, in a PPP packet.
The CPE is completely unaware that a Radius server exists, its only point of contact is the LNS.
The AVPairs will not be received directly by the CPE.
Therefore you can use any CPE brand.
Cheers
Marco
03-08-2011 02:00 AM
Hi Marco,
thanks for the vital info, I ll straightaway test it in my lab. Also could you please provide me commonly used Cisco AV pairs atrributes document or link.
thanks
Hitesh
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide