create_dhcp_server
Create a DHCP server on a specified MikroTik interface, setting lease time and optional address pool to allocate IP addresses dynamically.
Instructions
Creates a DHCP server bound to the specified interface on the MikroTik device.
Notes: lease_time: duration e.g. "1d", "12h", "30m", "1h30m"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| device | No | ||
| comment | No | ||
| disabled | No | ||
| interface | Yes | ||
| lease_time | No | 1d | |
| address_pool | No | ||
| authoritative | No | yes | |
| delay_threshold | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |