(RADIATOR) Radiator Static and Dynamic IP's in the same realm

Hugh Irvine hugh at open.com.au
Wed May 16 18:58:28 CDT 2001


Hello Kyle -

The first thing to note in your AuthColumnDef's below are your 
attribute definitions. The standard Radiator dictionary defines the 
following:

AuthColumnDef 2, Framed-IP-Address, reply
AuthColumnDef 3, Framed-IP-Netmask, reply

Secondly, if you use a following AuthBy DYNADDRESS in your 
configuration file, it will only allocate a dynamic address if the 
above attributes are not already present in the reply. Therefore, if 
your static customers have these attributes returned in the AuthBy 
SQL, the AuthBy DYNADDRESS will do nothing. Conversely, if the 
dynamic customers have nothing returned for those attributes, the 
AuthBy DYNADDRESS will allocate an address for them.

There is an example configuration file demonstrating how to use the 
AuthBy DYNADDRESS in the file "goodies/addressallocator.cfg".

regards

Hugh


At 10:26 -0400 16/5/01, Kyle Hultman wrote:
>Hi,
>   I am using radiator, latest version, and I am trying to configure it
>for use with our access servers. I have configured it to authenticate
>from a mySql database, and it is running on RH Linux 7.0. We have a
>large number of customers who have dedicated IP's, and a large numbers
>of customers who are assigned an IP at the time of dialup. My mySql
>Subscribers table looks like this:
>
>USERNAME,PASSWORD,ENCRYPTEDPASSWORD,CHECKATTR,REPLYATTR,STATUS,PROTOCOL,IPADDRESS,IPNETMASK,FRAMEDGROUP
>
>My AuthSelect statement looks like:
>AuthSelect select PASSWORD, PROTOCOL, IPADDRESS, IPNETMASK from
>SUBSCRIBERS where USERNAME='%n' and STATUS='A'
>
>AuthColumnDef 0, User-Password, check
>AuthColumnDef 1, Framed-Protocol, reply
>AuthColumnDef 2, Framed-Address, reply
>AuthColumnDef 3, Framed-Netmask, reply
>
>I would like to able do both static and dynamic IP's from the same
>realm, but I have yet to be able to figure this out. Does anyone have
>any suggestions?
>
>--
>Kyle Hultman
>khultman at bnsi.net
>===
>Archive at http://www.open.com.au/archives/radiator/
>Announcements on radiator-announce at open.com.au
>To unsubscribe, email 'majordomo at open.com.au' with
>'unsubscribe radiator' in the body of the message.

-- 

NB: I am travelling this week, so there may be delays in our correspondence.

Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list