Introduction to Default Routing

The gateway of last resort is the term applied to a routing entry in the Cisco routing table that the router forwards packets to when it lacks a more specific route. The gateway of last resort can be learned from a route provided by another router that is tagged as candidate default by the advertising router. The ip default-network command is one way to make a router tag a route as a gateway of last resort.

The ip default-network xxx.xxx.xxx.xxx command causes a router to treat xxx.xxx.xxx.xxx as a gateway of last resort. A router can have multiple IP default networks entered.

The ip default-gateway command is used with routers that have IP routing disabled. It gives them an address to which they can ...

Get IP Routing Primer now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.