This ia Cisco paper about Configuring a Gateway of Last Resort Using IP Commands. This paper will help you during practice.
Default routes are used to direct packets addressed to networks not explicitly listed in the routing table.
Default routes are invaluable in topologies where learning all the more specific networks is not desirable, as in case of stub networks, or not feasible due to limited system resources such as memory and processing power.
This document explains how to configure a default route, or gateway of last resort. These IP commands are used:
- ip default−gateway
- ip default−network
- and ip route 0.0.0.0 0.0.0.0
Use the ip default−gateway command when ip routing is disabled on a Cisco router. Use the ip default−network and ip route 0.0.0.0 0.0.0.0 commands to set the gateway of last resort on Cisco routers that have ip routing enabled. The way in which routing protocols propagate the default route information varies for each protocol.
Download Cisco – Configuring a Gateway of Last Resort Using IP Commands: