Bluehost.com Web Hosting $6.95

Re: providing IP address depending NAS origin

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 ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-29-2005
Benoit Tirmarche
 
Posts: n/a
Default Re: providing IP address depending NAS origin

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:17 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0