3.42.2. Host Previous topic Parent topic Child topic Next topic

This parameter specifies the host names where the destination RADIUS server is running. It can be either a DNS name or an IP address. Multiple comma-separated host names can be specified in one Host parameter, or you can use multiple Host lines. Radiator tries up to Retries times to contact each host that you specify. If no response it heard it tries the next host in the list and so on until a reply is received or the list is exhausted. The Host name can contain special formatting characters, which are resolved at startup.
Tip
If the DNS name for any Host resolves to multiple IP addresses, Radiator forwards to those addresses in a round-robin fashion. DNS names are resolved at startup time.
# Send all requests for this realm to 198.51.100.2, if no reply
# try the secondary at 198.51.100.3, if no reply from that, 
# try all the addresses that radiushosts.example.com resolves to
# in round-robin fashion.
Host 198.51.100.2,198.51.100.3
Host radiushosts.example.com
Tip
For greater flexibility, you can also specify the hosts with the <Host xxxxxx> clause, which allows you to customise details for each host. For more information, see Section 3.43. <Host xxxxxx> within <AuthBy RADIUS>.
# These are equivalent to the lines in the example above:
<Host 198.51.100.2>
      # Put host-specific values for Secret, ports, 
      # retries etc. in here
</Host>
<Host 198.51.100.3>
</Host>
<Host radiushosts.example.com>
</Host>
Tip
In order to proxy to an IPv6 address, the first IPv6 address listed in LocalAddress is used as the source address. If LocalAddress does not contain any IPv6 address, then the default IPv6 source address for that host is used. A LocalAddress of '::' is equivalent to a locally allocated IPv6 address.
<AuthBy RADIUS>
      # send via IPv6. Packets will appear to come from 
      # the default IPv6 source address for this host
      LocalAddress ::
      Host 2001:db8:100:f101::1
      Secret xxxxxx
      .....
</AuthBy>
Tip
IPv6 addresses are not required to be prefixed with 'ipv6:' with Radiator 4.13 or later.