Load Balance FreeRadius

Alan DeKok aland at deployingradius.com
Wed Nov 21 16:05:50 CET 2018


On Nov 21, 2018, at 9:49 AM, <oscar at jofre.com> <oscar at jofre.com> wrote:
> I'm planning to move the freeradius to AWS and I would like to build 2
> freeradius instances and 1 database instance.
> 
> The idea is that when a paket is sent the balancer sends to one freeradius
> and the freeradius query or update the database and send response.

  Which load balancer are you using?  If it's AWS, it doesn't support UDP.  And even if it did, the load balancer isn't RADIUS aware.  So it won't do the RADIUS protocol translations necessary for RADIUS load balancing.

> So both freeradius instances uses the same database ..

  Then that's the single point of failure.

  And to be honest, FreeRADIUS can handle many tens of thousands of packets per second.  An SQL database is much more limited.

> Maybe it does not have sense because probably the freeradius is not the slow
> part so build 2 instances to handle the traffic won't work . the database
> should be the slower part here.

  Exactly.  So you don't need 2 RADIUS servers.  One will do fine.

  Alan DeKok.




More information about the Freeradius-Users mailing list