diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-11-07 21:30:31 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-11-07 21:30:31 +0100 |
commit | ed6e1f556b290231f1683a06ec366dbeb4c0776a (patch) | |
tree | 4c6c711dbb18de8ca9485fe12efa1d785cf8881d /interface-definitions/include/dhcp-options.xml.i | |
parent | d1b68af630b20c0d66f2f0a840c91dcb5823e829 (diff) | |
download | vyos-1x-ed6e1f556b290231f1683a06ec366dbeb4c0776a.tar.gz vyos-1x-ed6e1f556b290231f1683a06ec366dbeb4c0776a.zip |
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"
Diffstat (limited to 'interface-definitions/include/dhcp-options.xml.i')
-rw-r--r-- | interface-definitions/include/dhcp-options.xml.i | 12 |
1 files changed, 9 insertions, 3 deletions
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 @@ <children> <leafNode name="client-id"> <properties> - <help>DHCP client identifier</help> + <help>Identifier used by client to identify itself to the DHCP server</help> </properties> </leafNode> <leafNode name="host-name"> <properties> - <help>DHCP client host name (overrides system host name)</help> + <help>Override system host-name sent to DHCP server</help> </properties> </leafNode> <leafNode name="vendor-class-id"> <properties> - <help>DHCP client vendor type</help> + <help>Identify the vendor client type to the DHCP server</help> + </properties> + </leafNode> + <leafNode name="no-default-route"> + <properties> + <help>Do not request routers from DHCP server</help> + <valueless/> </properties> </leafNode> </children> |