Manage IP Pool
manage_ip_poolAdd or remove an IP address pool on a MikroTik router. Idempotent by name to avoid duplicates.
Instructions
Add or remove an IP address pool. Idempotent by name: add returns already_exists if a pool with the same name and ranges already exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routerId | No | Router ID; omit to use the default router. | |
| action | Yes | Action to perform | |
| name | Yes | Pool name — idempotency key | |
| ranges | No | IP range (e.g. '192.168.1.100-192.168.1.200'; required for add) | |
| nextPool | No | Next pool name for overflow | |
| dryRun | No | Preview changes without applying. |