summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2025-10-14 15:25:30 +0100
committerGitHub <noreply@github.com>2025-10-14 15:25:30 +0100
commit3c4c1275493eaced14a90d61447c8bc8db4a4546 (patch)
tree1a699ad39c1c0bac22f1de3f37ce54f997a7a575 /interface-definitions/include
parent8a163d92b7de783db485c1cd7a6d045f8d3e1a8f (diff)
parent04434b1e82d2aac2fa9d1690dc6d38e3ea6872f6 (diff)
downloadvyos-1x-3c4c1275493eaced14a90d61447c8bc8db4a4546.tar.gz
vyos-1x-3c4c1275493eaced14a90d61447c8bc8db4a4546.zip
Merge pull request #4786 from mzpqnxow/T7723
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>