vyos_configure_dhcp_server
Configure a VyOS DHCP server subnet within a shared network in one commit, setting options like default router, name server, and address ranges, with optional save to persist changes.
Instructions
Configure a DHCP server shared-network subnet in one commit.
Args: shared_network: Shared-network name, e.g. "LAN". subnet: Subnet CIDR, e.g. "192.168.0.0/24". settings: {space-separated path: value} under the subnet, e.g. {"subnet-id": "1", "option default-router": "192.168.0.1", "option name-server": "192.168.0.1", "range 0 start": "192.168.0.100", "range 0 stop": "192.168.0.200"}. save: Persist after commit (default False).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"shared_network": "<shared_network>",
"subnet": "<subnet>",
"settings": "<settings>"
},
"name": "vyos_configure_dhcp_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| subnet | Yes | ||
| settings | Yes | ||
| shared_network | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |