Networking Forums

Networking Forums > Computer Networking > Linux Networking > I need help to configure a radius server on a linux box.....

Reply
Thread Tools Display Modes

I need help to configure a radius server on a linux box.....

 
 
A_A_K
Guest
Posts: n/a

 
      05-14-2009, 05:11 PM
Hi friends,

I am planning to make a linux box as a radius server. so I changed the
clients.conf file and users file under /etc/raddb directory. Here are
the configuration details:
clients.conf :

192.1.3.0/24 {
secret = testing123
shortname = switch2
}

users:

anil Attribute := "testnetwork"

---------------------------------------------------------------

My topology details :

1 switch
2 linux workstations

two workstations are connected to the switch (switch is a layer 3
switch == router).

1 workstation is the radius server with IP address 192.1.1.1/24 and
connected to VLAN 1 of switch with IP address 192.1.1.100

2nd worksatation is the client with ip address 192.1.3.1/24 and
connected to switch VLAN3 with ip address 192.1.3.100

my switch has one more vlan VLAN2 with ip address 192.1.2.100/24
and I have configured radius server details
like : "radius-server host 192.1.1.1 key 'testing123'"
and : "aaa authentication telnet login radius none"

and I have added routes to other networks in both server and client.
and enabled ip routing in switch no I can able to ping to each other.

My question is if I telnet to the vlan2 <192.1.2.100> from radius
client <192.1.2.100> switch should ask login name and password.
but if i give the user name and password specified in users file, I am
getting message
"can't reach radius server".

Please provide me information regarding the config files <clients.conf
and users>


Regards,
Anil A Kumar
 
Reply With Quote
 
 
 
 
Peter Lowrie
Guest
Posts: n/a

 
      05-17-2009, 01:59 AM
A_A_K wrote:

> Hi friends,
>
> I am planning to make a linux box as a radius server. so I changed the
> clients.conf file and users file under /etc/raddb directory. Here are
> the configuration details:
> clients.conf :
>
> 192.1.3.0/24 {
> secret = testing123
> shortname = switch2
> }
>
> users:
>
> anil Attribute := "testnetwork"
>
> ---------------------------------------------------------------
>
> My topology details :
>
> 1 switch
> 2 linux workstations
>
> two workstations are connected to the switch (switch is a layer 3
> switch == router).
>
> 1 workstation is the radius server with IP address 192.1.1.1/24 and
> connected to VLAN 1 of switch with IP address 192.1.1.100
>
> 2nd worksatation is the client with ip address 192.1.3.1/24 and
> connected to switch VLAN3 with ip address 192.1.3.100
>
> my switch has one more vlan VLAN2 with ip address 192.1.2.100/24
> and I have configured radius server details
> like : "radius-server host 192.1.1.1 key 'testing123'"
> and : "aaa authentication telnet login radius none"
>
> and I have added routes to other networks in both server and client.
> and enabled ip routing in switch no I can able to ping to each other.
>
> My question is if I telnet to the vlan2 <192.1.2.100> from radius
> client <192.1.2.100> switch should ask login name and password.
> but if i give the user name and password specified in users file, I am
> getting message
> "can't reach radius server".
>
> Please provide me information regarding the config files <clients.conf
> and users>
>
>
> Regards,
> Anil A Kumar


Your IP numbering, which may not be the cause of your inability to connect, is incorrect. 192.168 is the internet standard for private networks - not 192.1.

:-) Peter
 
Reply With Quote
 
A_A_K
Guest
Posts: n/a

 
      05-18-2009, 05:56 AM
On May 17, 6:59*am, Peter Lowrie <peterlow...@vodafone.co.nz> wrote:
> A_A_K wrote:
> > Hi friends,

>
> > I am planning to make a linux box as a radius server. so I changed the
> > clients.conf file and users file under /etc/raddb directory. Here are
> > the configuration details:
> > clients.conf :

>
> > 192.1.3.0/24 {
> > secret = testing123
> > shortname = switch2
> > }

>
> > users:

>
> > anil Attribute := "testnetwork"

>
> > ---------------------------------------------------------------

>
> > My topology details :

>
> > 1 switch
> > 2 linux workstations

>
> > two workstations are connected to the switch (switch is a layer 3
> > switch == router).

>
> > 1 workstation is the radius server with IP address 192.1.1.1/24 and
> > connected to VLAN 1 of switch with IP address 192.1.1.100

>
> > 2nd worksatation is the client with ip address 192.1.3.1/24 and
> > connected to switch VLAN3 with *ip address 192.1.3.100

>
> > my switch has one more vlan VLAN2 with ip address 192.1.2.100/24
> > and I have configured radius server details
> > like : "radius-server host 192.1.1.1 key 'testing123'"
> > and : "aaa authentication telnet login radius none"

>
> > and I have added routes to other networks in both server and client.
> > and enabled ip routing in switch no I can able to ping to each other.

>
> > My question is if I telnet to the vlan2 <192.1.2.100> from radius
> > client <192.1.2.100> switch should ask login name and password.
> > but if i give the user name and password specified in users file, I am
> > getting message
> > "can't reach radius server".

>
> > Please provide me information regarding the config files <clients.conf
> > and users>

>
> > Regards,
> > Anil A Kumar

>
> Your IP numbering, which may not be the cause of your inability to connect, is incorrect. 192.168 is the internet standard for private networks - not 192.1.
>
> :-) Peter- Hide quoted text -
>
> - Show quoted text -


Can you provide the users and clients configuration details .....
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
windows 2003 radius proxy and windows 2000 radius server JluisVelasco Windows Networking 2 01-18-2008 09:16 AM
Linux solutions for radius or captive portal nick Linux Networking 0 10-04-2006 04:07 PM
WPA with linux radius server phwashington@comcast.net Linux Networking 1 07-25-2006 02:06 AM
How to configure Dynamic IP's in my linux server amit.tania@gmail.com Linux Networking 4 11-16-2005 03:24 AM
Configure Second IAS-Radius in WS2003EE Harry Windows Networking 1 09-09-2005 08:22 PM



1 2 3 4 5 6 7 8 9 10 11