Dear Radiator Support,
We use group column on subscriber table to diff static IP address and Dynamic
IP address for user
example
table: subscriber
username password group
[email protected] 1 0
[email protected] 1 1
user in group 0 will get static IP address, in group 1 is for dynamic IP
address.
Now I can assign Dynamic IP on radiator with following
<AddressAllocator SQL>
Identifier SQLAllocator
..........
</AddressAllocator>
<Realm xxx.com>
AuthByPolicy ContinueWhileAccept
<AuthBy SQL>
..........
#Authenticate the user with SQL
AuthSelect select password from subscriber where username= ?
AuthSelectParam %0
......
</AuthBy>
<AuthBy DYNADDRESS>
Identifier AllocateIPAddress
AddressAllocator SQLAllocator
PoolHint pool1
MapAttribute yiaddr, Framed-IP-Address
StripFromReply PoolHint
</AuthBy>
</Realm>
However I do not know how to assign static IP for group 0 user? Can you help
me?
thank you very much._______________________________________________
radiator mailing list
[email protected]
http://www.open.com.au/mailman/listinfo/radiator