summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorBrad Kollmyer <bradk@vitalsoft.com>2026-07-15 12:17:15 -0700
committerChristian Breunig <christian@breunig.cc>2026-07-23 18:03:05 +0200
commit9efa7b2ecc9b1b54f0a1fbea46ccda86aafaaef5 (patch)
treef468f93e22b913bc03ef6848b286afd8217f0aa2 /interface-definitions/include
parentbd2fd51935b054f884830ba12bfb3153cb6a4cb3 (diff)
downloadvyos-1x-9efa7b2ecc9b1b54f0a1fbea46ccda86aafaaef5.tar.gz
vyos-1x-9efa7b2ecc9b1b54f0a1fbea46ccda86aafaaef5.zip
dhcp-server: T9093: allow option interface-mtu up to 16000
DHCP option 26 (Interface MTU, RFC 2132) is a 16-bit unsigned value and Kea accepts the full range, but the CLI validator capped it at 9000 - below the 9216 used on common jumbo fabrics and below VyOS's own interface MTU maximum of 16000. Relax the constraint to 576-16000 and exercise a jumbo value (9216) in the smoketest. Co-authored-by: Christian Breunig <christian@breunig.cc>
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/dhcp/option-v4.xml.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/include/dhcp/option-v4.xml.i b/interface-definitions/include/dhcp/option-v4.xml.i
index 0f446c9a9..177e1aa7e 100644
--- a/interface-definitions/include/dhcp/option-v4.xml.i
+++ b/interface-definitions/include/dhcp/option-v4.xml.i
@@ -87,11 +87,11 @@
<properties>
<help>Interface MTU</help>
<valueHelp>
- <format>u16:576-9000</format>
+ <format>u16:576-16000</format>
<description>Client interface MTU</description>
</valueHelp>
<constraint>
- <validator name="numeric" argument="--range 576-9000"/>
+ <validator name="numeric" argument="--range 576-16000"/>
</constraint>
</properties>
</leafNode>