Default Route and Classless Routing


By default, if a router receives a packet destined for a subnet it does not recognize, the router discards the packet. However when classless routing is enabled, instead of discarding the packet, the router forwards the packet to the best supernet route.

There are three ways to define gateway of last resort:

ip defaul-gateway
ip default-network
ip route 0.0.0.0 0.0.0.0

The ip default-gateway command differs from the other two commands. It should only be used when ip routing is disabled on the Cisco router.

The ip default-network command is classful. It must be issued using the major net, in order to flag the candidate default route. RIP, IGRP and EIGRP understand default-network, and will automatically redistribute it out.

More information can be found at:

Route Selection in Cisco Routers

Comments:

Puja shaha said :

CCIE Rack Rental

Welcome To The BEST CCIE RACK RENTAL Site! CCIE Rack Time has 24 hour access to the variety of labs. You will find our labs will complement your workbooks. We want you to succeed and Count on us to be your main lab rack time company. We provide the latest hardware and software which meets Cisco standards to get you ready for your certification test. please visit: www.ccieracktime.com

 
Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?