Round robin proxy not working

2003-03-11 Thread Mark Moody
We have several realms configured to do round robin between two downstream
radius servers.  We have observed that our freeradius (0.8.1) servers are
sending all traffic for a realm to the first server listed for that realm.
I have seen in the logs where it does do failover however.  Here's an
example of how we have these realms configured:

realm  downstream.net {
type= radius
authhost= 10.10.10.10:1645
accthost= 10.10.10.10:1646
secret  = s
ldflag  = round_robin
nostrip
}
realm  downstream.net {
type= radius
authhost= 10.10.10.11:1645
accthost= 10.10.10.11:1646
secret  = s
ldflag  = round_robin
nostrip
}

Are there special compile time flags we may have missed?  We are running
freeradius 0.8.1 on redhat 7.3 systems, with a mysql server on a separate
backend machine.  Any help would be appreciated.
--
Mark Moody
Serious ISP   888-243-7011 x5108
[EMAIL PROTECTED]



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


Re: Round robin proxy not working

2003-03-11 Thread Chris Brotsos
At 11:28 AM 3/11/2003, you wrote:
We have several realms configured to do round robin between two downstream
radius servers.  We have observed that our freeradius (0.8.1) servers are
sending all traffic for a realm to the first server listed for that realm.
I have seen in the logs where it does do failover however.  Here's an
example of how we have these realms configured:


Your realm configuration is correct.

Alan and I submitted *many* changes to the original round_robin code, and 
although I'm not positive...I think it ended up *not* being supported in 
the 0.8.1 release. I don't have the base 0.8.1 release running, though, so 
I'm not 100% sure on that.

It is fully supported in the CVS head. I have been testing the current 
implementation for quite some time and it is completely functional. If you 
are sure that it is not working, and can update to the CVS version...I 
would do that.

Just a note, the disbursement of requests will not necessarily be 
A-B-A-B-A-B, but you will get an even spread (i.e. A-B-B-A-A-B) as time 
approaches infinity.

Regards,

Chris Brotsos



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


Re: Round robin proxy not working

2003-03-11 Thread Alan DeKok
Chris Brotsos [EMAIL PROTECTED] wrote:
 Alan and I submitted *many* changes to the original round_robin code, and 
 although I'm not positive...I think it ended up *not* being supported in 
 the 0.8.1 release. I don't have the base 0.8.1 release running, though, so 
 I'm not 100% sure on that.

  0.8.1 doesn't do round-robin proxying.  The CVS head does.

  But before 0.9 is released (which should be soon), there should be
some way of ensuring that Access-Challenge packets  responses go to
the right places...

  Alan DeKok.

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