mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
interfaces: dhcp-client: T3454: add reject option
This commit is contained in:
parent
4a26755f13
commit
4b37accdbb
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user