I'm sorry! I try to connect in telnet... Moreover, probably I solved my problem with your suggestion. In the clients.conf I create a specific client for each host on my network, like this: client 192.168.0.1/32 { secret = secret shortname = router } client 192.168.0.2/32 { secret = secret shortname = switch } and not a unique client like I using before: client 192.168.0.0/24 { secret = secret shortname = mynetwork } Now when I try to make access trough telnet on my router or on my switch, in the radius.log I see all the information that I need: Wed Jul 23 12:06:42 2008 : Auth: Login OK: [test] (from client router port 194 cli 172.16.0.1) Wed Jul 23 12:06:42 2008 : Auth: Login OK: [test] (from client switch port 194 cli 172.16.0.1) Thanks for the help!!!!!!!!! Regards Danilo 2008/7/23 Alan DeKok <aland@deployingradius.com>
Danilo Molini wrote:
I try to explain better what I want.
My freeradius server is 10.0.0.1 and the router that use the radius service is 192.168.0.1 and I try to connecto to the router from my pc with ip address 172.16.0.1
'connect"... how? Administrator login on the router? Please be specific.
You have been careful to *not* describe what you are trying to do. The less information you give, the harder it is for anyone to help you.
The log report this information:
Auth: Login OK: [test] (from client myhomenetwork-network port 194 cli 172.16.0.1 ) Is it possibile to add the information of the router on which I have request access?
Read the log message again. It *is* printing out the client information. In this case, it's "myhomenetwork-network".
If you want it to print out something else for the name of the client, edit the "shortname" field of the "client" entry that defines the client IP, shared secret, etc.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html