Community discussions

MikroTik App
 
Polly_31
newbie
Topic Author
Posts: 26
Joined: Tue Feb 05, 2008 3:59 pm

2nd Radius Server

Wed Mar 12, 2008 1:46 pm

Hello All,

Can anybody show me how I can add a 2nd Radius Server if the first goes down?

The first works fine and is on 192.168.0.100 where the second should go to 192.168.0.101

Thanks,
Chris
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: 2nd Radius Server

Wed Mar 12, 2008 3:04 pm

Hello again!

I haven't tried this yet, but am about to give it a shot. I have two radius servers up, so when I have time...

If you want to experiment first, please let me know how your's went.

Add a second radius server just like the first.
/radius add service=hotspot address=yyy.yyy.yyy.yyy secret=radiussecret disabled=no

It should check them in order. As I understand, the first that responds is the only one it uses. If it gets a reject there, it does not check any further.

I use two radius servers, but I split them between my AP and VAP on one box, not as a fallthrough. They have different domains in the /radius setting.

EDIT: That is the way it works. Just tried it. There is even a handy command called move so you can change the order.
/radius move 1 0
moves the second entry up to the first, and the old first becomes second.
 
savage
Forum Guru
Forum Guru
Posts: 1265
Joined: Mon Oct 18, 2004 12:07 am
Location: Cape Town, South Africa
Contact:

Re: 2nd Radius Server

Thu Mar 13, 2008 9:27 am

yup. they are run in order, request is sent to first, if there's no responce (responce timeout), it's sent to the next, etc...
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: 2nd Radius Server

Fri Mar 14, 2008 10:33 am

Hey savage! Thanks for the info.

One thing I did not have a chance to try:
If you enter your primary radius server twice, will it check twice? Occasionally, the connections here may be a little slow to respond.