Tomoyasu Maitani <[EMAIL PROTECTED]> wrote:

> Is it possible to change the NAS-Port-ID number
> 1002 to 0, 1003 to 1, 1004 to 2 ... on the GNU Radius?

Yes, please see
http://www.gnu.org/software/radius/manual/html_node/radius_109.html#SEC199

However, in your case you probably won't need rewriting at all. If you
are sure the NAS returns contiguous port numbers, all you need to do is
recalculate start IP so that ading 1002 to it produces right number:

$ radiusd -mt
** TEST SHELL **
(radiusd) r inet_ntoa(192.168.1.1+1-1002)
192.167.253.24


So, setting your reply pairs to

 Framed-IP-Address = 192.167.253.24+,
         Framed-IP-Netmask = 255.255.255.255

will do the job.

Regards,
Sergey
         


_______________________________________________
Help-gnu-radius mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnu-radius

Reply via email to