From 9efa7b2ecc9b1b54f0a1fbea46ccda86aafaaef5 Mon Sep 17 00:00:00 2001 From: Brad Kollmyer Date: Wed, 15 Jul 2026 12:17:15 -0700 Subject: 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 --- smoketest/scripts/cli/test_service_dhcp-server.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'smoketest/scripts/cli') diff --git a/smoketest/scripts/cli/test_service_dhcp-server.py b/smoketest/scripts/cli/test_service_dhcp-server.py index d743b4e28..a544198c6 100755 --- a/smoketest/scripts/cli/test_service_dhcp-server.py +++ b/smoketest/scripts/cli/test_service_dhcp-server.py @@ -420,7 +420,9 @@ class TestServiceDHCPServer(VyOSUnitTestSHIM.TestCase): server_identifier = bootfile_server ipv6_only_preferred = '300' capwap_access_controller = '192.168.2.125' - interface_mtu = '1420' + # 9216: jumbo-fabric MTU above the former arbitrary 9000 cap + # (DHCP option 26 is a full u16) + interface_mtu = '9216' pool = base_path + ['shared-network-name', shared_net_name, 'subnet', subnet] self.cli_set(pool + ['subnet-id', '1']) -- cgit v1.2.3