<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Dennis,<br>
<br>
ok, thank you. I'll make tests and send you the result.<br>
<br>
Regards,<br>
<br>
Felipe Neuwald.<br>
<br>
Dennis Skinner escreveu:
<blockquote cite="mid458AD2F4.5080808@bluefrog.com" type="cite">
<pre wrap="">Felipe Neuwald wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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
</pre>
</blockquote>
<pre wrap=""><!---->
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 | <a class="moz-txt-link-abbreviated" href="mailto:user@example.com">user@example.com</a> | ISP1 |
| 2 | <a class="moz-txt-link-abbreviated" href="mailto:user2@example.com">user2@example.com</a> | ISP2 |
+-------+--------------------+-----------+
It should just work.
</pre>
</blockquote>
<br>
</body>
</html>