configure_network_container
Set IP, gateway, bridge, VLAN, and firewall options for an LXC container's network interface.
Instructions
Configure network adapter settings for an LXC container.
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": {
"node": "<node>",
"vmid": "<vmid>"
},
"name": "configure_network_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gw | No | ||
| ip | No | dhcp | |
| gw6 | No | ||
| ip6 | No | ||
| tag | No | ||
| name | No | eth0 | |
| node | Yes | ||
| rate | No | ||
| vmid | Yes | ||
| bridge | No | vmbr0 | |
| hwaddr | No | ||
| net_id | No | net0 | |
| firewall | No |