Orbit-Computer Solutions.Com

Computer Training & CCNA Networking Solutions
Chika Nwokeoma, EzineArticles.com Basic Author
 
 
 
 
Add to Favorite

How To Configure Default Routes

What is Default Route?

You can configure or use default routes to direct packets addressed to destinations or networks not found or listed in the routing table. This is more workable in a stub network (networks with one exit path). To configure a default route, you will use wildcards in the network address and mask. Using default route helps to reduce the complex work of configuring all the assigned routes

When you as the network administrator create a static route to network 0.0.0.0 0.0.0.0, this is another way of setting the gateway of last resort on a router. However, ip routing must be enabled on the router, if not; it’s advisable to use the ip default gateway command:

Gateway#ip default-gateway 200.165.199.1

In the following topology and configuration command examples, helps to explains how to configure a default route, or gateway of last resort:

 orbit-computer-solutions.com/how to configure default routes
 
 
Use the following command to configure a default route on the gateway router:
 
Gateway(config)#ip route 0.0.0.0 0.0.0.0 200.165.199.1
Gateway(config)#
 
Verify your configuration
 
Gateway#show ip route

[Output omitted]

Gateway of last resort is 200.165.199.1 to network 0.0.0.0

     10.0.0.0/30 is subnetted, 1 subnets
C       10.10.11.0 is directly connected, Serial0/0/0
     172.16.0.0/24 is subnetted, 1 subnets
S       172.16.10.0 [1/0] via 10.10.11.2
 C    192.168.30.0/24 is directly connected, FastEthernet0/0
S*   0.0.0.0/0 [1/0] via 200.165.199.1
HQ#
 
You can check the routing table using the show ip route command as above, you will find directed connected networks plus the S*, this shows the entry for the default route. you can also notice that the gateway of last resort is now set in the routing table as shown above.
What the default network invariably saying is to forward any packet for an unknown network out 200.165.199.1, which is the next hop router.
 
 

 
 
Custom Search
 
 
 
 
 
 Resources
 

        

  
 
(c) Copywrite 2012. Orbit-Computer-Solutions.Com. All rights reserved.   Web Links  Privacy Policy   
 
The information provided on this website is for informational purposes only. Orbit-computer-solutions.com makes no warranties, either expressed or implied,
 with respect to any information contained on this website.
Orbit -computer-solutions.com reserves the right to change this policy at any time without prior notice.
Cisco and All related product mentioned in any portion of this website are the registered trademarks of Cisco.com their respective owners.
Microsoft Windows and All related products mentioned in any portion of this website are registered trademark of Microsoft Corporation.