Does it correct solution?<br /><br />server allauth {<br />        listen {<br />                type = auth<br />                ipaddr = *<br />                port = 1812<br />        }<br />        authorize {<br />                auth_log<br />                update control {<br />                        Auth-Type = 'Accept'<br />                }<br />                <br />        }<br />        post-auth {<br />                if (control:NAS-IP-Address == '222.22.22.125') {<br />                   update control {<br />                        Pool-Name = 'pool_125'<br />                   }<br />                   redundant {<br />                             mysqlippool1<br />                             mysqlippool2<br />                             pool_125<br />                   }<br />                }<br />                else {<br />                   update control {<br />                        Pool-Name = 'pool_126'<br />                   }<br />                   redundant {<br />                             mysqlippool1<br />                             mysqlippool2<br />                             pool_126<br />                   }<br />                }<br />                <br />                reply_log<br />        }<br />}<br /> <br /> <div class="noTransl">Quoting <strong>Konstantin Chekushin <<a href="mailto:koch2@inbox.lv">koch2@inbox.lv</a>></strong>:</div> <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi all. I have radius server, which assign ip-addresses to users. I use rlm_ippool, but I need to assign ip-address only from the pool, which is linked with radius packet parameter - NAS. If user comes with nas=xxx.xxx.xxx.xxx - it takes ip from pool1, if with nas=yyy.yyy.yyy.yyy - then from pool2.<br /> Is it possible?  </blockquote>