option
ip/dhcp-server/option
Type: Directory
Additional options the DHCP server can send. Assign them with dhcp-option to a network, a server or a lease, or group them in option sets. When the same option is set on several levels, the lease takes precedence over the server, and the server over the network. For examples, see DHCP Server.
| Argument | Type | Description |
|---|---|---|
| name ( mandatory ) | string | Name of the option, used where options are assigned. |
| code ( mandatory ) | alt { number: num [1 .. 254] , option: enum (vendor-specific) { vendor-specific:43 } } | DHCP option code (1-254). |
| value | string | Value of the option. The value is converted according to how it is written:
Parts can be combined, for example
|
| force | bool | Whether to send the option even when the client did not ask for it in its parameter request list (option 55). Without it, the option is sent only to clients that ask for it. Default: no. |
| Read-only Argument | Type | Description |
|---|---|---|
| raw-value | string | The option value as it is sent, in hex. Variables that depend on the client or network are filled in only when the option is sent. |