FREERADIUS + MYSQL +DHCP3

Phil Mayers p.mayers at imperial.ac.uk
Mon Dec 11 11:30:15 CET 2006


Tomas Eduardo Lotina Ramos wrote:

> i have a problem, i need to create two dynamic ip pools, one for users 
> of a group A and one for users of the group B  the problem is that i 
> dont have any idea how can i use the radcheck table for auth the users 
> and in the same time use dhcp3 to recognize those users and assing the 
> ip from the ip pool A or B depending if the user belongs to the group A or B
> 
> how can work mysql and dhcp3 together????

That's a pretty difficult thing to do. There's no in-built solution, you 
would have to manufacture something.

Possibly you could use a FreeRadius Exec-Program to call the dhcp 
"omshell" program to dynamically update the DHCP server.

The "normal" way of doing this would be to put the two sets of clients 
on different VLANs in the radius reply, but the Cisco access points have 
some caveats with that.

It's not easy.



More information about the Freeradius-Users mailing list