wifi ip allocation
Alan DeKok
aland at deployingradius.com
Thu Dec 2 07:38:06 CET 2010
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.
> 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.
More information about the Freeradius-Users
mailing list