diff options
author | Charles Surett <surettcharles@gmail.com> | 2021-04-05 09:59:59 -0400 |
---|---|---|
committer | Charles Surett <surettcharles@gmail.com> | 2021-04-05 10:11:01 -0400 |
commit | 4b37accdbbdd62278c6abe604df9af6f35eaf3a2 (patch) | |
tree | 4c69d1234b9b4a3513e7fe958810fb820125ed23 | |
parent | 4a26755f132646e4fc66afa94fd98f54fc7cad14 (diff) | |
download | vyos-documentation-4b37accdbbdd62278c6abe604df9af6f35eaf3a2.tar.gz vyos-documentation-4b37accdbbdd62278c6abe604df9af6f35eaf3a2.zip |
interfaces: dhcp-client: T3454: add reject option
-rw-r--r-- | docs/_include/interface-dhcp-options.txt | 15 |
1 files changed, 15 insertions, 0 deletions
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 }} <interface> {{ var2 }} {{ var3 }} + {{ var5 }} {{ var6 }} dhcp-options reject <address> + + 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 |