NAS Client

Shawky Skaff shawkys at ivox.com.au
Tue May 8 01:50:35 CEST 2012


Thanks for that, debug is now reading the client as per below.

rlm_sql (sql): Read entry nasname=27.34.225.253,shortname=cisco7301,secret=XXXXXX
rlm_sql (sql): Adding client 27.34.225.253 (cisco7301, server=<none>) to clients list

However still don't get any output when I run radtest from another window. radtest eftel-test test123 27.34.225.253 1812 testing123. What I do get is below

[root at radius raddb]# radtest eftel-test test123 27.34.225.253 1812 testing123
Sending Access-Request of id 156 to 27.34.225.253 port 1812
        User-Name = "eftel-test"
        User-Password = "test123"
        NAS-IP-Address = 27.34.225.33
        NAS-Port = 1812
Sending Access-Request of id 156 to 27.34.225.253 port 1812
        User-Name = "eftel-test"
        User-Password = "test123"
        NAS-IP-Address = 27.34.225.33
        NAS-Port = 1812
Sending Access-Request of id 156 to 27.34.225.253 port 1812
        User-Name = "eftel-test"
        User-Password = "test123"
        NAS-IP-Address = 27.34.225.33
        NAS-Port = 1812
radclient: no response from server for ID 156 socket 3

What I don't understand is it's saying the NAS-IP-Address = 27.34.225.33, shouldn't this be 27.34.225.253? If so, how do I fix it?

-----Original Message-----
From: freeradius-users-bounces+shawkys=ivox.com.au at lists.freeradius.org [mailto:freeradius-users-bounces+shawkys=ivox.com.au at lists.freeradius.org] On Behalf Of Jens Weibler
Sent: Monday, 7 May 2012 5:45 PM
To: freeradius-users at lists.freeradius.org
Subject: Re: NAS Client

Hi,

On 07.05.2012 09:08, Shawky Skaff wrote:
> Ignoring request to authentication address * port 1812 from unknown 
> client 27.34.225.33 port 60242

please correct your nas-entry (ip-addr should be in the field nasname) and read_clients set to yes..

--
Jens Weibler
IT-Services

Hochschule Darmstadt
www.h-da.de
University of Applied Sciences

Fachbereich Informatik
www.fbi.h-da.de
Schöfferstr. 8b
D-64295 Darmstadt
Tel +49 6151 16-8425
Fax +49 6151 16-8935
jens.weibler at h-da.de




More information about the Freeradius-Users mailing list