wifi ip allocation

Alexandre Chapellon alexandre.chapellon at mana.pf
Thu Dec 2 19:00:13 CET 2010


Le jeudi 02 décembre 2010 à 07:38 +0100, Alan DeKok a écrit :

> Alexandre Chapellon wrote:
> > Am not sure to understand... Once the wifi user entered the network
> > (level2: no IP yet), I have an entry for its sessions in my accouting
> > database, with username, sessionID, maybe mac_address and so on...
> 
>   Yes.  This often includes NAS IP and port.
> 
> > But when the user sends a DHCP request to obtain IP address (gain level3
> > access), that request may not contain any reference to the username, but
> > to the mac address... that's it?
> 
>   And often the NAS IP and port.

NAS IP and Port in the DHCP request? That's option 82 isn't it? If my
NAS doesn't support relaying DHCP requests adding option 82 fields (my
NASes may be very common wifi access points) is it still safe using such
a setup?
Anyway, it's much more clear now thanks.


> 
> > So the trick would be to get the username from the mac address querying
> > the accouting database?
> 
>   Yes.
> 
> > And then?  Can I use any ippool module in the freeradius DHCP server? or
> > Do I have to use static mapping mac2ip?
> 
>   The ippool module doesn't do allocation for DHCP.  But you could write
> a short Perl program to do it.
> 
>   Alan DeKok.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


-- 
Follow us on: twitter https://www.twitter.com/manainternet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20101202/8d5dd590/attachment.html>


More information about the Freeradius-Users mailing list