dhcp_networks
List DHCP server networks on a MikroTik device to view per-subnet options like address, gateway, DNS server, netmask, and domain handed out to clients on lease.
Instructions
List DHCP server networks (/ip/dhcp-server/network): address,
gateway, dns-server, netmask, domain, comment - the
per-subnet options a DHCP server (see dhcp_servers) hands out to
clients on lease. No boolean fields here to normalize.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |