From 51a6eaa324775049ee666503ca0a63571750ac25 Mon Sep 17 00:00:00 2001 From: Lucas Christian Date: Sun, 4 Oct 2020 17:50:53 -0500 Subject: dhcpv6: T2961: support stateless dhcpv6 clients This commit adds support for configuring the DHCPv6 server to serve "stateless" DHCPv6 clients (those that send an information-request message and do not request an address). The change introduces a `common-options` node at the `shared-network-name` level, which allows specifying options applicable to clients regardless of subnet assigned (or in the case of stateless clients, when no subnet is assigned). Parameters specified at the subnet level take precedence over those set at the shared-network level. Presently, only parameters that are meaningful to stateless clients have been exposed under `common-options`, as there is no precedent of exposing parameters at multiple levels under the current DHCPv4 or DHCPv6 configuration syntax. If desired, additional parameters could certainly be added with relative ease. --- interface-definitions/dhcpv6-server.xml.in | 42 ++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) (limited to 'interface-definitions') diff --git a/interface-definitions/dhcpv6-server.xml.in b/interface-definitions/dhcpv6-server.xml.in index 4073b46b2..acc33d40f 100644 --- a/interface-definitions/dhcpv6-server.xml.in +++ b/interface-definitions/dhcpv6-server.xml.in @@ -43,6 +43,48 @@ + + + Common options to distribute to all clients, including stateless clients + + + + + Time (in seconds) that stateless clients should wait between refreshing the information they were given + + 1-4294967295 + DHCPv6 information refresh time + + + + + + + + + Domain name for client to search + + [-_a-zA-Z0-9.]+ + + Invalid domain name. May only contain letters, numbers and .-_ + + + + + + IPv6 address of a Recursive DNS Server + + ipv6 + IPv6 address of DNS name server + + + + + + + + + IPv6 DHCP subnet for this shared network [REQUIRED] -- cgit v1.2.3