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@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...@lists.freeradius.org 
[mailto:freeradius-users-bounces+shawkys=ivox.com...@lists.freeradius.org] On 
Behalf Of Jens Weibler
Sent: Monday, 7 May 2012 5:45 PM
To: [email protected]
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
[email protected]


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to