cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5301
Views
0
Helpful
4
Replies

IP address assignment to pppoe clients - Radius or DHCP

Hitesh Vinzoda
Level 4
Level 4

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

1 Accepted Solution

Accepted Solutions

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

View solution in original post

4 Replies 4

mavespig
Level 3
Level 3

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)

Note: VRF, QoS policy-map and address pool must be already configured on LNS, and names must match.
Hope this helps.
Regards
Marco

--- Remember to rate useful posts ---

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

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

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