This is a discussion on Re: providing IP address depending NAS origin within the FreeRADIUS Users forums, part of the Networking and Network Related category; Le Vendredi 29 Avril 2005 11:08, Bram a =E9crit=A0: > I don't think it is possible by ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Le Vendredi 29 Avril 2005 11:08, Bram a =E9crit=A0:
> I don't think it is possible by default... Oh :-( > > And what exactly do you mean with 'statically provided' IP? > As in, I see two possible explenations: > * if the user connect he should always get the same static IP (no matter > what NAS he is using) > * if user connects via NAS-A he should get 192.168.200.100, if he connects > via NAS-B he should get 192.168.201.100, ... > > Which of the two do you want? The second. Your sum up is very clear ;-) > > Here are some things you can do:=20 > > * change include/radius.h: > > Change the line > #define PW_POOL_NAME 1073 > to: > #define PW_POOL_NAME 4 > > (4 is the id of the NAS-IP-Address attribute, but you can set it to > whatever you want) Hum.. Why not, even though i don't understand how it can modify the behavio= ur=20 of the radius by giving PW_POOL_NAME the same value than PW_NAS_IP_ADDRESS. What rules will i have to put in my config file to assume this mods in Radi= us=20 sources ? > * another thing you can do is wait a few days, then I might have my patch > ready which does that (and some other things)... (I need to re-check some > things before I make it public) I can do it too. > (PS: I assume the second example you gave in your mail isn't 100% correct, > can you check?) Sorry, i've translated this messages from french, Toto is the same people=20 thant Joe. And i've put X and Y prefix, because i don't care if the IP=20 address prefix is not the same between the 2 differents subnets. Thank you very much for your help. Ben. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html |