create_dhcp_pool
Create DHCP address pools on MikroTik devices using defined IP ranges. Specify one or multiple hyphen-separated ranges to allocate addresses.
Instructions
Creates a DHCP address pool with the given IP ranges on the MikroTik device.
Notes: ranges: hyphen-separated range(s) e.g. "192.168.1.1-192.168.1.100" Multiple ranges comma-separated: "10.0.0.1-10.0.0.50,10.0.0.100-10.0.0.120"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| device | No | ||
| ranges | Yes | ||
| comment | No | ||
| next_pool | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |