reserve_client_ip
Assign a fixed IP address to a client by creating a DHCP reservation, ensuring it retains the same address across leases.
Instructions
Create a DHCP reservation pinning an IP to a client.
Mutating operation: reserves the client's current IP (when ip is omitted) or the given IPv4 address, so the client keeps it across leases. Requires the client to be known; use list_clients to find the current IP if needed.
Args: client: Client MAC address or name to reserve an IP for. ip: Optional IPv4 address to reserve; omit to keep the client's current IP. site: Site to operate on. Defaults to "default". device: Optional device name to target a specific console; omit for default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | Optional IPv4 address to reserve; omit to keep the client's current IP. | |
| site | No | Site to operate on. Defaults to "default". | default |
| client | Yes | Client MAC address or name to reserve an IP for. | |
| device | No | Optional device name to target a specific console; omit for default. |