Is there a way in the radius to assign static ip based on MAC either in config files or through a script. I want some MAC to always have a fixed ip on the LAN. Thanks Naeem. _________________________________________________________________ Invite your Hotmail contacts to join your friends list with Windows Live Spaces http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spa...
Hi!! Ive installed the latest cvs version of dialup_admin and whenever I edit the parameters of a user or a group after commiting the change they appear in the radreply and radgroupreply tables. For instance I see the following sql insert query: Query: INSERT INTO radgroupreply (groupname,attribute,value ,op) VALUES ('ser','Service-Type','Framed' ,'='); Is this the right behavior? I though that editing the parameters through dialup_admin of a user or a group cause that there are some checks added to the radcheck and radcheckgroup added in order to perform similar check which can be done by files module. Please explain this matter. Thanks Best -tomasz
On Wed, 7 Feb 2007, N S wrote:
Is there a way in the radius to assign static ip based on MAC either in config files or through a script. I want some MAC to always have a fixed ip on the LAN.
Yes. How you do so depends on how you're handing out IP addresses, however. Are you use FreeRADIUS' ippool, or are you using something different (a DHCP server on the network, for example)? -- Jeremy L. Gaddis, MCP, GCWN jeremy@linuxwiz.net LinuxWiz Consulting http://linuxwiz.net
Date: Wed, 7 Feb 2007 15:47:09 -0500 (EST) On Wed, 7 Feb 2007, N S wrote:
Is there a way in the radius to assign static ip based on MAC either in config files or through a script. I want some MAC to always have a fixed ip on the LAN.
Yes. How you do so depends on how you're handing out IP addresses, however. Are you use FreeRADIUS' ippool, or are you using something different (a DHCP server on the network, for example)? Currently chillispot is handing out ip addresses and FreeRadius ippool module is commented ( not using it) _________________________________________________________________ Valentines Day -- Shop for gifts that spell L-O-V-E at MSN Shopping http://shopping.msn.com/content/shp/?ctId=8323,ptnrid=37,ptnrdata=24095&tcod...
N S wrote:
Currently chillispot is handing out ip addresses and FreeRadius ippool module is commented ( not using it)
If you are using web based login then chillispot hands out its DHCP leases before it does its radius authentication. (The radius authentication only happens after the user has entered a username and password in the login page.) In order to give out fixed IP addresses you have to set chillispot to do MAC-Auth which will query the radius server with the MAC address as the username. This causes it to do a radius request when the device initially connects. You then must include a 'Framed-IP-Address' attribute in your radius reply.
On Wed 07 Feb 2007 21:59, N S wrote:
Is there a way in the radius to assign static ip based on MAC either in config files or through a script.
Yes. But your switch/AP will ignore it.
I want some MAC to always have a fixed ip on the LAN.
Check the documentation for your DHCP server. -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
participants (5)
-
Gaddis, Jeremy L. -
Graham Beneke -
N S -
Peter Nixon -
tzieleniewski