From 4b37accdbbdd62278c6abe604df9af6f35eaf3a2 Mon Sep 17 00:00:00 2001 From: Charles Surett Date: Mon, 5 Apr 2021 09:59:59 -0400 Subject: interfaces: dhcp-client: T3454: add reject option --- docs/_include/interface-dhcp-options.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'docs/_include') diff --git a/docs/_include/interface-dhcp-options.txt b/docs/_include/interface-dhcp-options.txt index 2030ae3d..27a80acd 100644 --- a/docs/_include/interface-dhcp-options.txt +++ b/docs/_include/interface-dhcp-options.txt @@ -59,3 +59,18 @@ .. code-block:: none set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} dhcp-options default-route-distance 220 + +.. cfgcmd:: set interfaces {{ var0 }} {{ var2 }} {{ var3 }} + {{ var5 }} {{ var6 }} dhcp-options reject
+ + Reject DHCP leases from a given address or range. + This is useful when a modem gives a local IP when first starting. + + * **address** can be specified multiple times, + e.g. 192.168.100.1 and/or 192.168.100.0/24 + + Example: + + .. code-block:: none + + set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} dhcp-options reject 192.168.100.0/24 -- cgit v1.2.3