[Chilli] Assign IP address to AP through radius

Eric Chaves eric at craftti.com.br
Mon Feb 10 15:19:49 UTC 2014


Hi Folks,

The Access Points used in my hotspot environment are configured to obtain
it's IP address from DHCP and I would like to have coova assigning some
pre-defined values for it.

I though I could do this by having the AP authenticating itself via mac
address and with my radius server, so after reading the man pages and some
posts on the forum I configured my environment the following way:

At chilli controller, I have the following parameters in
/etc/chilli/local.conf

defsessiontimeout=3600
defidletimeout=600
definteriminterval=600
moreif=eth3
dhcpstart=500
macallowed=XX-XX-XX-XX-XX-XX,ZZ-ZZ-ZZ-ZZ-ZZ-ZZ
macpasswd=secret-password

And in my radius server I added two users named 'XX-XX-XX-XX-XX-XX' and
'ZZ-ZZ-ZZ-ZZ-ZZ' and I add a Framed-IP-Address and Framed-IP-Netmask values
in radius responses for, whose value dos not overlap with the dhcpstart
parameter.

I've tested my setup using radtest and confirmed that the authentication is
working and response contains those AVP mentioned however the AP is getting
a regular address from DHCP (above dhcpstart) instead of the ones sent in
the radius reply.

Did I misunderstood the macallowed feature? What should I do to have it
working as desired?

Once again thanks for all the help so far.

Cheers,

Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.coova.org/pipermail/chilli/attachments/20140210/84744c1e/attachment.html>


More information about the Chilli mailing list