Default routes are used to send traffic to destinations that do not match the routing tables of devices in the network. The most common case for deployment would be the network with Internet access as it would be impossible to contain in the routing tables of all devices that comprise routes.
The default routes, as well as static routes common, are configured using the ip route command in Global Configuration mode.
Router (config) # ip route “0.0.0.0 0.0.0.0″ “IP next hop or output interface”
0.0.0.0 0.0.0.0: last one AND with the destination address and not coincide with the routes in the routing table sends the IP packet to the next hop or output interface.
IP next-hop: The IP of the router interface directly connected to the router where you are configuring the static route.
Interface output: This is the IP of the router where you are configuring the static route. It is used in the case of ignoring the next hop IP. Read the rest of this entry »