MCP Packet Tracer generates complete, ready-to-paste IOS routing configurations for every router in a topology automatically. You never write a singleDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Mats2208/MCP-Packet-Tracer/llms.txt
Use this file to discover all available pages before exploring further.
ip route or router ospf command by hand — just name the protocol in your request and the IP planner calculates all network addresses, wildcard masks, next-hop IPs, and router IDs from the assigned addressing plan, then emits the exact IOS command blocks required for each device.
Supported Protocols
| Protocol | Key | When to Use |
|---|---|---|
| Static | static | Small topologies, deterministic paths, CCNA labs |
| OSPF | ospf | Multi-area or redundant topologies; link-state convergence |
| EIGRP | eigrp | Cisco-proprietary; fast convergence, hub-and-spoke designs |
| RIP v2 | rip | Legacy or classroom environments; distance-vector |
| None | none | Manual config; custom template with no routing |
Specifying the Protocol
Setrouting when calling pt_plan_topology or pt_full_build. You can also pass ospf_process_id (default 1) and eigrp_as (default 100) for fine-grained control.
Static Routing
Static routes are the default for most templates. The IP planner runs a BFS traversal of the router adjacency graph to compute the correct next-hop for every destination — even in topologies with 4+ routers in a chain, all intermediate hops are resolved correctly.Generated IOS Commands
Floating Static Routes
Floating static routes serve as backup paths. They have an administrative distance of254 — higher than any dynamic protocol — so they only activate when the primary route disappears.
Enable them by passing floating_routes=True to pt_plan_topology or pt_full_build:
Floating routes are only generated when an alternate physical path exists. In a simple 2-router chain with no redundant link, no floating routes will be added.
OSPF
OSPF is the default protocol for thethree_router_triangle template and a popular choice for star topologies. All networks are placed in area 0 and a router-id is set to the first interface IP of each router for deterministic adjacency.
Generated IOS Commands
/24 it is 0.0.0.255, for a /30 it is 0.0.0.3.
EIGRP
EIGRP is a natural fit for thehub_spoke template, though you must specify it explicitly (routing="eigrp"). The AS number defaults to 100 and is configurable via eigrp_as. no auto-summary is always emitted to ensure classless operation.
Generated IOS Commands
RIP v2
RIP v2 advertises classless networks.no auto-summary is always added and version 2 is always set. Network statements use the network address (no wildcard in RIP).
Generated IOS Commands
RIP v2 uses classful network statements (no wildcard mask), which differs from OSPF and EIGRP. The generator correctly emits just the network address without a wildcard.
Protocol Comparison
| Feature | Static | OSPF | EIGRP | RIP v2 |
|---|---|---|---|---|
| IOS keyword | ip route | router ospf | router eigrp | router rip |
| Admin distance | 1 | 110 | 90 | 120 |
| Wildcard mask | — | ✅ | ✅ | ❌ |
no auto-summary | — | — | ✅ | ✅ |
| Floating backup | ✅ (AD 254) | — | — | — |
| Default template | most | three_router_triangle | — (specify explicitly) | manual |