From cca7ec3efbf66a9ca6005352133528c4286c2be9 Mon Sep 17 00:00:00 2001 From: Yuxiang Zhu Date: Mon, 21 Nov 2022 01:02:54 +0800 Subject: T4832: dhcp: Add IPv6-only dhcp option support (RFC 8925) Clients supporting this DHCP option (DHCP option 108, RFC 8925) will disable its IPv4 network stack for configured number of seconds and operate in IPv6-only mode. This option is known to work on iOS 15+ and macOS 12.0.1+. Example command: ```sh set service dhcp-server shared-network-name LAN6 subnet 192.168.64.0/24 ipv6-only-preferred 0 ``` --- interface-definitions/dhcp-server.xml.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'interface-definitions') diff --git a/interface-definitions/dhcp-server.xml.in b/interface-definitions/dhcp-server.xml.in index 6e1592200..1830cc1ad 100644 --- a/interface-definitions/dhcp-server.xml.in +++ b/interface-definitions/dhcp-server.xml.in @@ -373,6 +373,19 @@ + + + Disable IPv4 on IPv6 only hosts (RFC 8925) + + u32 + Seconds + + + + + Seconds must be between 0 and 4294967295 (49 days) + + Additional subnet parameters for DHCP server. You must use the syntax of dhcpd.conf in this text-field. Using this without proper knowledge may result in a crashed DHCP server. Check system log to look for errors. -- cgit v1.2.3