Radiator Server Documentation — v10.33.3
Table of Contents
  • server-selection
  • Allowed values
  • Example

server-selection

Selects the server-selection algorithm used when multiple RADIUS server blocks are configured. See Backend Load Balancing for algorithm details, tie-breaking rules, pool-skip behavior, and full examples.

Allowed values

  • fallback - Tries servers in priority order (default).
  • round-robin - Distributes requests across available servers in rotation.
  • least-connections - Routes to the server with the fewest in-use backend sockets (counts backend sockets, not requests already in flight).
  • no-fallback - Tries only the highest-priority available server; failures are not retried on other servers.

Default: fallback

Example

radius "EXAMPLE-SERVER" {
    server-selection round-robin;

    server "PRIMARY" {
        secret "mysecret";
        min-connections 1;
        connect { protocol udp; host "192.168.1.10"; port 1812; }
    }

    server "SECONDARY" {
        secret "mysecret";
        min-connections 1;
        connect { protocol udp; host "192.168.1.11"; port 1812; }
    }
}
Navigation
  • @init

  • @verification

  • aaa

  • backends

    • file

    • http

    • ipmap

    • jsonfile

    • ldap

    • mysql

    • postgresql

    • radius

      • connect

      • connections

      • idle-timeout

      • min-connections

      • nas_identifier

      • priority

      • query

      • retries

      • server

      • server-selection

      • status

      • timeout

    • radius-dns-sd

    • sqlite

    • system

  • caches

  • captures

  • certificates

  • clients

  • conditions

  • dictionary

  • hmac-otp

  • include

  • ip-accept

  • license

  • logging

  • management

  • proxy-protocol

  • scripts

  • servers

  • statistics

  • stats

  • ui