WAN connectivity
Cheat sheet · https://pcornel.dk/topic.php?topic=847
Answer
WAN connectivity is the router's job at the edge of a site: it terminates the provider circuit or internet link and runs the routing — static, BGP or SD-WAN — and often NAT that connect the site to the rest of the world.
Remember
Check in order: WAN interface up with an address, the provider's next hop reachable, the route (default or BGP) installed, NAT translating, and the backup path's tracking. A link can be up while the provider path beyond it is down — that is what IP SLA tracking is for.
First checks
show ip interface brief— WAN interface state and address.show interfaces <wan>— errors and drops on the circuit.ping <provider next hop> source <wan>— the first hop.show ip route 0.0.0.0— the default route and where it points.show bgp ipv4 unicast summary— the provider session, where BGP is used.show ip nat translations/show track— NAT and failover tracking.
Commands
show interfacesshow ip bgp summaryshow policy-map interfaceip route 0.0.0.0 0.0.0.0 <next-hop>ip default-networkip route ... track <n>
Verify in this order
circuit up → address on the WAN interface → provider next hop reachable → default or BGP routes installed → NAT translating inside traffic → tracking keeps the backup ready
Where it usually breaks
underlay IP/transport → control/session registration → route/endpoint distribution → policy/segment → encapsulation/tunnel state → decapsulation/egress → return path
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=847