From ed6e1f556b290231f1683a06ec366dbeb4c0776a Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 7 Nov 2020 21:30:31 +0100 Subject: interfaces: dhcp-client: T2997: add option to not request DHCP router address Some might want to have an IP address handed out by a DHCP server but not want a default route to be installed. This can be done using the CLI command: "set interfaces ethernet eth2 dhcp-options no-default-route" --- interface-definitions/include/dhcp-options.xml.i | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'interface-definitions/include') diff --git a/interface-definitions/include/dhcp-options.xml.i b/interface-definitions/include/dhcp-options.xml.i index e33022361..df9c7a97a 100644 --- a/interface-definitions/include/dhcp-options.xml.i +++ b/interface-definitions/include/dhcp-options.xml.i @@ -6,17 +6,23 @@ - DHCP client identifier + Identifier used by client to identify itself to the DHCP server - DHCP client host name (overrides system host name) + Override system host-name sent to DHCP server - DHCP client vendor type + Identify the vendor client type to the DHCP server + + + + + Do not request routers from DHCP server + -- cgit v1.2.3