<div dir="ltr">Hi ,<br>As there was a mistake in my previous email title and as I had big improvement in processing my problem I am sending a new email . As I said in previous email I want to configure freeradius to reply different framed-ip-addresses based on nas servers .<br>
<br>I found following email in the archive which helped a lot :<br><a href="http://lists.cistron.nl/pipermail/freeradius-users/2009-January/msg00630.html">http://lists.cistron.nl/pipermail/freeradius-users/2009-January/msg00630.html</a><br>
<br>the only problem that I have is if user is membership of 2 groups . freeradius is processing none of them ! even if both are matching ! but if I remove one of groups its working without any problem ! and assigning ip from ip pool<br>
<br>read-groups is on<br><br>here is my tables :<br>select * from radcheck;<br>+----+----------+---------------+----+--------+<br>| id | username | attribute | op | value |<br>+----+----------+---------------+----+--------+<br>
| 4 | test1 | User-Password | := | 123456 | <br>+----+----------+---------------+----+--------+<br><br><br>select * from radgroupcheck;<br>+----+-----------+----------------+----+-------------+<br>| id | groupname | attribute | op | value |<br>
+----+-----------+----------------+----+-------------+<br>| 1 | group1 | Nas-IP-Address | == | 192.168.1.5 | <br>| 2 | group1 | Pool-Name | := | pool1 | <br>| 3 | group2 | Nas-IP-Address | == | 192.168.1.6 | <br>
| 4 | group2 | Pool-Name | := | pool2 | <br>+----+-----------+----------------+----+-------------+<br><br><br>select * from radusergroup;<br>+----------+-----------+----------+<br>| username | groupname | priority |<br>
+----------+-----------+----------+<br>| test1 | group1 | 0 | <br>| test1 | group2 | 0 | <br>+----------+-----------+----------+<br><br><br>select * from radippool;<br>+----+-----------+-----------------+--------------+-----------------+------------------+-------------+----------+----------+<br>
| id | pool_name | framedipaddress | nasipaddress | calledstationid | callingstationid | expiry_time | username | pool_key |<br>+----+-----------+-----------------+--------------+-----------------+------------------+-------------+----------+----------+<br>
| 1 | pool1 | 90.90.90.1 | | | | NULL | | 0 | <br>| 2 | pool1 | 90.90.90.2 | | | | NULL | | | <br>
| 5 | pool2 | 91.90.90.1 | | | | NULL | | 0 | <br>| 6 | pool2 | 91.90.90.2 | | | | NULL | | | <br>
+----+-----------+-----------------+--------------+-----------------+------------------+-------------+----------+----------+<br><br></div>