showing NAS-IP of 127.0.01 instead of

Garber, Neal Neal.Garber at energyeast.com
Wed Nov 25 19:27:01 CET 2009


> The problem is that although the Access-Request packet is shown as coming from the correct host,
> that host's ip address is not showing up as the NAS-IP-Address for that request. Instead, it's showing
> as 127.0.0.1 as seen below:
> I'm wondering what could cause this? Any help is appreciated.

The NAS is sending that attribute within the request - ask the NAS vendor why they are sending 127.0.0.1.  I've seen this issue with Lantronix console servers (not sure if that's the NAS you are using).  They eventually updated their firmware to use the correct address.  As a workaround, I did the following in the authorize section of the default server (before preprocess if you want huntgroup name lookup to work properly):

        if (NAS-IP-Address == "127.0.0.1") {
           update request {
                NAS-IP-Address := "%{Client-IP-Address}"
           }
        }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20091125/7fb99c1f/attachment.html>


More information about the Freeradius-Users mailing list