Radius, from 2 to 3 - radtest does not agree with its command line

Alan DeKok aland at deployingradius.com
Thu Sep 17 04:11:23 CEST 2015


On Sep 16, 2015, at 5:34 PM, Cosme Faria CorrĂȘa <cosmefc at gmail.com> wrote:
> I am doing a new server and it is different now:
> 
> radtest johndoe 'jdsecret' 127.0.0.1 0 testing123
> Sending Access-Request Id 250 from 0.0.0.0:43561 to 127.0.0.1:1812
>    User-Name = "johndoe"
>    User-Password = "jdsecret"
>    NAS-IP-Address = 10.0.0.3
>    NAS-Port = 0
>    Message-Authenticator = 0x00
> (0) No reply from server for ID 250 socket 3
> ...
> 
> 
> Why is NAS-IP-Address = 10.0.0.3? It makes no sense to me.
> There is no 10.0.0.3 in my interfaces.

  It's the IP address associated with the hostname of the machine.

  In version 2, radtest used 127.0.0.1 as the NAS-IP-Address.  In later versions, it used "hostname".  Which on your system, resolves to 10.0.0.3.

  I suggest fixing DNS and / or the host name on your machine, so they're correct.

  Alan DeKok.




More information about the Freeradius-Users mailing list