Ippool and NAS

Phil Mayers p.mayers at imperial.ac.uk
Thu Jan 19 18:10:45 CET 2006


Johansson, Daniel wrote:
> Hi Freeradius users.
> 
> I have compiled and installed the 1.1.0 version of Freeradius and made
> the basic configurations and everything works fine.
> 
> Now I have 5 NAS boxes that is accessing the radius server the problem
> is that I want each NAS to use a set if ipadresses.
> 
> So for NAS(1) the radius should return ippool(1) and so on.

In the users file:

DEFAULT NAS-IP-Address == 10.1.2.3, Pool-Name := "pool1"

Or possibly if you have more stuff in the users file:

DEFAULT NAS-IP-Address == 10.1.2.3, Pool-Name := "pool1"
	Fall-Through = yes

...the in radiusd.conf:

modules {
   ippool pool1 {
     # config here
   }
   ippool pool2 {
     # config here
   }
}
authorize {
   # blah
}
authenticate {
   # blah
}
post-auth {
   pool1
   pool2
}
accounting {
   # blah, then
   pool1
   pool2
}

HTH



More information about the Freeradius-Users mailing list