Gnu Radius IP Pools and PPPoE sessions

View: New views
2 Messages — Rating Filter:   Alert me  

Gnu Radius IP Pools and PPPoE sessions

by Paul Cole :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

 

I am trying to set up a new Cisco PPPoE server in my network to terminate my
customers DSL connections. The server is working fine except that my
customers can't get their IP from the radius(which I want to give IP to
customers during the authentication). I've seen in my sql server (radius
database) a table called IPPool where there is columns having a shape of
giving IP to users but so far, my tests have been unsuccessful and I've
started to look over the Internet to find a similar config and understand
how to set my radius to assign IP to customers, from a defined IP Pools
initially created. Any idea would be much appreciated.

 

Thanks.

 

 

-------------------------------------------------------------------

Paul

 

 

_______________________________________________
Help-gnu-radius mailing list
Help-gnu-radius@...
http://lists.gnu.org/mailman/listinfo/help-gnu-radius

Re: Gnu Radius IP Pools and PPPoE sessions

by Sergey Poznyakoff-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Paul,

> I am trying to set up a new Cisco PPPoE server in my network to terminate my
> customers DSL connections. The server is working fine except that my
> customers can't get their IP from the radius(which I want to give IP to
> customers during the authentication).

The simplest way to do so is by returning Framed-IP-Address attribute
offset by the value of the NAS-Port-Id attribute, e.g.:

   Framed-IP-Address = 10.10.0.1+

(see
http://www.gnu.org/software/radius/manual/html_node/Framed_002dIP_002dAddress.html#SEC309)

More sofisticated ways may include using some rewrite function to
produce new IP address, e.g.:

   Framed-IP-Address = "=getip(%C{NAS-Identifier}, %C{NAS-Port-Id})"

(for details, see
http://www.gnu.org/software/radius/manual/html_node/Attribute-Creation-Functions.html#SEC210)

Finally, you can use the ipalloc.scm module, which uses the SQL table
you mentioned. It is described in detail in doc/README.ipalloc. See
chapter "Usage", for usage instructions.

Regards,
Sergey


_______________________________________________
Help-gnu-radius mailing list
Help-gnu-radius@...
http://lists.gnu.org/mailman/listinfo/help-gnu-radius