pt_auto_address
Assigns IP subnets and routing to a live Packet Tracer topology from actual cabling, with DHCP, loopbacks, and plan-only previews.
Instructions
Address the live topology and generate routing, computed from the actual cabling: each L3 segment (router/host ports joined through switches) gets a subnet: LANs from lan_pool (/lan_prefix, or right-sized when null), router-only links get /30s from p2p_pool. Routers take the first host addresses (gateway), hosts .10+ (or DHCP pools on the router with dhcp=true). Existing addresses are kept unless overwrite=true. apply=false only shows the plan and configs.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pt_auto_address"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dns | No | ||
| dhcp | No | ||
| apply | No | ||
| routing | No | ospf | |
| lan_pool | No | 192.168.0.0/16 | |
| p2p_pool | No | 10.0.0.0/24 | |
| loopbacks | No | ||
| overwrite | No | ||
| lan_prefix | No |