>Once upon a time Cristian Gafton shaped the electrons to say...
>>I would like to have fixed IP addresses for each port (ie somebody calls
>>on s1, he will always get the same IP address). How can this be done
>>without exponentialy growing my users file ?
>You can do this if you hack the RADIUS source code to look at the PM
>and port requesting auth and programatically setting the IP.
Indeed, this is pretty straightforward. We have a config file that
has a list of all our portmasters (70+) and radiusd reads it at
startup.
# Client Name ip key map
#
# POP Amsterdam
#
asd-pm1.xs4all.net 194.109.44.1 xxxxxxxxx ip.byname
asd-pm2.xs4all.net 194.109.44.33 xxxxxxxxx ip.byname
asd-pm3.xs4all.net 194.109.44.65 xxxxxxxxx ip.byname