Config Router

  • Google Sheets
  • CCNA Online training
    • CCNA
  • CISCO Lab Guides
    • CCNA Security Lab Manual With Solutions
    • CCNP Route Lab Manual with Solutions
    • CCNP Switch Lab Manual with Solutions
  • Juniper
  • Linux
  • DevOps Tutorials
  • Python Array
You are here: Home / CCNA / Default Routes

Default Routes

March 3, 2020 by Marques Brownlee

Default Routes

Objective:

  • Perform and verify routing configuration tasks for a static or default route given specific routing requirements

Static routes have proved their usefulness in situations where you want to add a network entry in a routing table when the network is reachable via a single path. This can turn into a daunting administrative task when there are a large number of networks in which you must configure static routes. This is especially true when you are connecting to your ISP because you do

not want to configure a static route for every network on the Internet. In these situations, you might be better served using something called a default route, as illustrated in Figure 10.6. This entry is a gateway of last resort for routers in that if a destination IP address does not have a network entry in the routing table, this route is used. The syntax for a default route is similar to a static route except that the destination and subnet mask are both 0.0.0.0: Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.10

NOTE
Again, you can specify the local interface as opposed to the next-hop IP address on a point-to-point link.

EXAM ALERT
Be sure to look closely at the wording in a question regarding a default route (gateway of last resort). When used in a router, the command is ip route 0.0.0.0 0.0.0.0; however, to configure a default route in a Layer 2 switch, it is ip default-gateway because Layer 2 switches do not have Layer 3 routing entries.

NOTE
In some situations a default route may appear dynamically in a routing table. Specifically, if you have con figured your interface to dynamically be assigned an IP address and default gateway from a DHCP server using the ip address dhcp command, the router automatically places a default route in its routing table using the default gateway as the next hop.

Configuring Static and Default Routes with SDM

Using the Security Device Manager web-based configuration interface, you can easily configure static and default routes with just a few clicks of the mouse. Specifically, from the Configure screen, select the Routing task to display routing configuration options. At the top of the screen shown in Figure 10.7 is a section dedicated to Static Routing. Here, when you click the Add button, a pop-up window displays the parameters that you can configure for static or default routes.

In the pop-up window, you specify the destination network and subnet mask, as you did for the IOS CLI command. The next hop defaults to a drop-down box that lists the interfaces, but you can select the IP Address option and specify the next-hop address. Also notice that there is a checkbox to make this route a default route, as well as a checkbox to make this a permanent
static route entry. If you wanted to make this route a floating route, you could also put the distance metric for this route to an administrative distance value other than 1. After you click the OK button, the route is added to the running configuration of the IOS.

  • CCNA Study Guide

Related

Filed Under: CCNA Tagged With: Configuring Static and Default Routes with SDM, Default Routes, Verifying Static and Default Routes

Recent Posts

  • How do I give user access to Jenkins?
  • What is docker volume command?
  • What is the date format in Unix?
  • What is the difference between ARG and ENV Docker?
  • What is rsync command Linux?
  • How to Add Music to Snapchat 2021 Android? | How to Search, Add, Share Songs on Snapchat Story?
  • How to Enable Snapchat Notifications for Android & iPhone? | Steps to Turn on Snapchat Bitmoji Notification
  • Easy Methods to Fix Snapchat Camera Not Working Black Screen Issue | Reasons & Troubleshooting Tips to Solve Snapchat Camera Problems
  • Detailed Procedure for How to Update Snapchat on iOS 14 for Free
  • What is Snapchat Spotlight Feature? How to Make a Spotlight on Snapchat?
  • Snapchat Hack Tutorial 2021: Can I hack a Snapchat Account without them knowing?

Copyright © 2023 · News Pro Theme on Genesis Framework · WordPress · Log in