Re: Multiple ISPs and big user database

This is a discussion on Re: Multiple ISPs and big user database within the FreeRADIUS Users forums, part of the Networking and Network Related category; Felipe Neuwald wrote: > ISP1: > NAS 1: 10.1.1.1 > NAS 2: 10.1.1.2 > ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-21-2006
Dennis Skinner
 
Posts: n/a
Default Re: Multiple ISPs and big user database

Felipe Neuwald wrote:
> ISP1:
> NAS 1: 10.1.1.1
> NAS 2: 10.1.1.2
> NAS 3: 10.1.1.3
>
> ISP2:
> NAS 1: 10.2.2.1
> NAS 2: 10.2.2.2
> NAS 3: 10.2.2.3


Try this:

huntgroups file:
####
ISP1 Client-IP-Address == 10.1.1.1
SQL-Group == ISP1
ISP1 Client-IP-Address == 10.1.1.2
SQL-Group == ISP1
ISP1 Client-IP-Address == 10.1.1.3
SQL-Group == ISP1

ISP2 Client-IP-Address == 10.2.2.1
SQL-Group == ISP1
ISP2 Client-IP-Address == 10.2.2.2
SQL-Group == ISP1
ISP2 Client-IP-Address == 10.2.2.3
SQL-Group == ISP1
####

Now instead of the radcheck table, use the usergroup table like this:

+-------+--------------------+-----------+
| id | UserName | GroupName |
+-------+--------------------+-----------+
| 1 | user@example.com | ISP1 |
| 2 | user2@example.com | ISP2 |
+-------+--------------------+-----------+

It should just work.

--
Dennis Skinner
Systems Administrator
BlueFrog Internet
http://www.bluefrog.com
-
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 10:54 AM.


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