AddressAllocator DHCPv6 works in conjunction with <AuthBy
DYNADDRESS> (see
Section 3.53. <AuthBy DYNADDRESS>) and a
DHCPv6 server to dynamically allocate IPv6 addresses, IPv6 delegated
prefixes and to request other configuration information from the DHCPv6
server.
AddressAllocator DHCPv6 has been tested with a number of DHCPv6
servers, however it has been mostly tested the DHCP server from the
Internet Software Consortium (ISC). For more information, see
ISC
website . Version 4.3.3 or later is recommended.
AddressAllocator DHCPv6 makes the following allocation variables
available for replies. The allocation variables names are case insensitive
DHCPv6 option names without the leading ‘OPTION_’. These names can be by
default used in MapAttribute in AuthBy DYNADDRESS.
- iaaddr, the allocated IPv6 address from DHCPv6
- iaprefix, the delegated IPv6 prefix from DHCPv6
- dns_servers, the DNS servers' IPv6 addresses from DHCPv6
- serverid, the SERVERID option in hex format from DHCPv6
- clientid, the CLIENTID option in hex format as replied by
DHCPv6
An example AddressAllocator DHCPv6 configuration file can be found in
the distribution in the file
goodies/addressallocatordhcpv6.cfg
.
An example ISC DHCP server configuration file can be found in the
distribution in the file
goodies/addressallocatordhcpv6-dhcpd.conf
.
CAUTION
Because AddressAllocator DHCPv6 binds to the DHCPv6
server address, it is not possible to run the DHCPv6 server on the same
host as Radiator.
Note
PoolHint supplied in the AuthBy DYNADDRESS clause for the purposes
of allocation is sent to the DHCPv6 server with OPTION_USER_CLASS. Some
DHCPv6 servers may not be able to use this option. For this reason
PoolHint is also sent with OPTION_CLIENTID. For more information, see
Section 3.116.8. DHCPClientIdentifier.
Because the DHCPv6 address allocator binds to DHCPv6 client port 546,
Radiator must be run as root, or at least with suitable privileges.