Implement and Troubleshoot Default Routing
Ip route 0.0.0.0 0.0.0.0 [next-hop ip]
- Not dependent on any routing protocol
- Ip routing must be enabled
- Sharing default route with EIGRP
- Route must be redistributed into EIGRP to be shared
- RIP
- Route must be redistributed into RIP to be shared
Ip default-gateway
- Only used when ip routing is DISABLED on the router
- Router acting as a host in IP world
Ip default-network
- Can be used when ip routing is enabled
- Installed as gateway of last resort
- Independent of any routing protocol
- Gateway of last report in dynamic routing protocols
- EIGRP
- Must be a EIGRP derived network in the routing table or the static redistributed into EIGRP
- Network command
- RIP
- Advertises a to 0.0.0.0 if gateway of last resort is selected
- Does not need to be explicitly advertised under the RIP process
- OSPF
- Not propagated in OSPF
- OSPF has it’s own process for injecting a default route
- ISIS
- Not propagated in ISIS
- EIGRP