help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Help-gnu-radius] Re: Send IP address


From: Rangel, Luciano
Subject: RE: [Help-gnu-radius] Re: Send IP address
Date: Wed, 18 Jun 2003 10:32:37 -0300

Thanks for help.........

Luciano



-----Original Message-----
From: Sergey Poznyakoff [mailto:address@hidden
Sent: Wednesday, June 18, 2003 10:06 AM
To: Rangel, Luciano
Cc: 'address@hidden'
Subject: Re: [Help-gnu-radius] Re: Send IP address


> Excuse-me Sergey,
>       I don?t understand your reply ??

Please refer to:

http://www.gnu.org/software/radius/manual/html_node/radius_145.html#SEC148

In short this boils down to the following:

1) Adding a '+' after a Framed-IP-Address value instructs Radius to add the
value of NAS-Port-Id (whatever it is) to this IP and return the
result.

2) In your configuration, you have Framed-IP-Address = 192.168.50.1+
and you say Radius returns IP 192.168.53.254. This means that the
value of NAS-Port-Id in the incoming request was 1021.

3) Needless to say, such high port numbers are useless as a means of
allocating IP addresses. Therefore, you should either reconfigure
your NAS so that it reports "real" port numbers (refer to your NAS
documentation for more info), or use some Rewrite procedure on Radius
side to achieve the same effect.

You may find more info about Rewrite language at

http://www.gnu.org/software/radius/manual/html_node/radius_94.html#SEC97

An example of a port rewriting function may be found at

http://www.gnu.org/software/radius/manual/html_node/radius_99.html#SEC102

Regards,
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]