diff options
Diffstat (limited to 'docs')
-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 |