Static routes — fix hub-and-spoke
- Routing
- Beginner
- 12 min
- 3 steps
- Cisco IOS-style
Three spokes hang off a hub on /30 links. Connected routes give you spoke ↔ hub for free, but spoke ↔ spoke needs static routes. Configure them and verify end-to-end.
Open this lab in your browser →
Free · no install · no account
Scenario
A router only knows about subnets it has an interface in (connected routes). Anything else needs either a routing protocol or static routes. This lab takes the static path.
Topology
4 × router · Cisco IOS-style
Hub— routerSpoke1— routerSpoke2— routerSpoke3— router
What you will do
Sanity check: from spoke S1 (10.0.1.2) ping the hub H (10.0.1.1).
On S1, add a static route to S2's /30 (10.0.2.0/30) via the hub at 10.0.1.1.
Symmetric on S2: a route to S1's /30 (10.0.1.0/30) via 10.0.2.1.
Open this lab in your browser →
More labs on this topic
- Syntax delta — static route (Extreme EXOS)Beginner · 4 min
- Syntax delta — static route (Cisco IOS)Beginner · 4 min
- Syntax delta — static route (Juniper Junos)Beginner · 5 min
- Syntax delta — static route (VyOS)Beginner · 5 min
- Static routes — egress-interface form (point-to-point)Beginner · 8 min
- EIGRP: AS 100 across a three-router chainIntermediate · 14 min
This lab in other languages
Statische Routen - Hub-and-Spoke fixenRutas estáticas — arreglar hub-and-spokeRotas estáticas — corrigindo hub-and-spokeRoutes statiques — corriger un hub-and-spokeStatic routes — hub-and-spoke ठीक करें静态路由 — 修复 hub-and-spokeRotte statiche — sistemare hub-and-spoke静的ルート — hub-and-spoke を直す정적 경로 — hub-and-spoke 수정하기Статические маршруты — починить hub-and-spokeStatik rotalar — hub-and-spoke düzeltmekTuyến tĩnh — sửa hub-and-spoke