(RADIATOR) Little config advice needed
Sergio Alejandro Gonzalez
sagonzal at sky.net.co
Thu Sep 13 11:34:34 CDT 2001
Hello there.
I recently had a problem with a config that makes me handle
dynamic address allocation. The problem is I have to
different RASes (3com and Patton). For admin purposes, some
dialup clients need to have another ip address pool
different from the RAS can assign. To do the trick, 3com
fortunately handles more than one ip pool, but Patton
doesn't. The config I've now looks like:
<AddressAllocator SQL>
Identifier myallocator
DBSource dbi:mysql:radius
DBUsername XXXXXXXXX
DBAuth XXXXXXXXX
<AddressPool mora>
Subnetmask 255.255.255.0
DNSServer aaa.bbb.ccc.ddd
Range 192.168.2.1 192.168.2.254
</AddressPool>
</AddressAllocator>
<Realm>
RejectHasReason
AccountingHandled
AuthByPolicy ContinueWhileAccept
<AuthBy SQL>
DefaultSimultaneousUse 1
DBSource dbi:mysql:radius
DBUsername XXXXXXXX
DBAuth XXXXXXXX
AuthSelect select PASSWORD,CHECKATTR,REPLYATTR \
from SUBSCRIBERS where USERNAME = '%n'
and STATUS = 1
AccountingStopsOnly
AccountingTable ACCOUNTING%Y%m
AcctColumnDef USERNAME,User-Name
AcctColumnDef TIME_STAMP,Timestamp,integer
AcctColumnDef ACCTSESSIONID,Acct-Session-Id
AcctColumnDef ACCTSESSIONTIME,Acct-Session-Time,integer
AcctColumnDef ACCTTERMINATECAUSE,Acct-Terminate-Cause,integer
AcctColumnDef ACCTCONNECTSPEED,Ascend-Xmit-Rate,integer
AcctColumnDef ACCTCONNECTSPEED,USR-Connect-Speed,integer
AcctColumnDef ACCTCALLINGSTATIONID,Calling-Station-Id,string
AcctColumnDef ACCTCALLEDSTATIONID,Called-Station-Id,string
AcctColumnDef FRAMEDIPADDRESS,Framed-IP-Address
</AuthBy>
<AuthBy DYNADDRESS>
Allocator myallocator
PoolHint %{Reply:Framed_IP_Address_Pool_Name}
MapAttribute yiaddr,Framed-IP-Address
MapAttribute subnetmask,Framed-IP-Netmask
</AuthBy>
PasswordLogFileName %L/password.log
</Realm>
Ok, that works, but I only the Auth DYNADDRESS work for the
Patton request. How can I achieve this?
Thanks in adevance for the help
Sergio Gonzalez
Direcctor Operativo
SkyNet de Colombia S.A.
Ph: 57 (+1) 6422 020
Fax: 57 (+1) 6113 781
===
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