summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorAdam Greene <github@mzpqnxow.com>2025-10-09 16:55:08 -0400
committerAdam Greene <github@mzpqnxow.com>2025-10-10 16:37:20 -0400
commit04434b1e82d2aac2fa9d1690dc6d38e3ea6872f6 (patch)
treefe46c2ee8e67ea009da67bc73aba0beffddc1158 /interface-definitions/include
parenta1be2ee22cd058d5e18e6ef4fb3ec6468a38aa37 (diff)
downloadvyos-1x-04434b1e82d2aac2fa9d1690dc6d38e3ea6872f6.tar.gz
vyos-1x-04434b1e82d2aac2fa9d1690dc6d38e3ea6872f6.zip
dhcp-server: T7723: add DHCP Option 26 (interface MTU)
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/dhcp/option-v4.xml.i12
1 files changed, 12 insertions, 0 deletions
diff --git a/interface-definitions/include/dhcp/option-v4.xml.i b/interface-definitions/include/dhcp/option-v4.xml.i
index 08fbcca4a..0f446c9a9 100644
--- a/interface-definitions/include/dhcp/option-v4.xml.i
+++ b/interface-definitions/include/dhcp/option-v4.xml.i
@@ -83,6 +83,18 @@
</constraint>
</properties>
</leafNode>
+ <leafNode name="interface-mtu">
+ <properties>
+ <help>Interface MTU</help>
+ <valueHelp>
+ <format>u16:576-9000</format>
+ <description>Client interface MTU</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 576-9000"/>
+ </constraint>
+ </properties>
+ </leafNode>
<leafNode name="ip-forwarding">
<properties>
<help>Enable IP forwarding on client</help>