What is a default route and why to use them?

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.

In the network below there are a total of three routers and two end-user computers. In order to reach remote networks not explicitly listed in the routing table a default route must be set on R1, R2, and R3. Without a default route every router must have a explicitly defined route to every network that devices need to traverse to reach remote systems. Similarly every router would need a route back to the originating network in order to return traffic. Default routes are the mechanism to simplify that process.

Steps to configure default routes

Step 1: Configure all applicable router interfaces.

R1(config)#interface FastEthernet0/0
R1(config-if)#ip address
R1(config)#interface FastEthernet0/1
R1(config-if)#ip address

Step 2: Configure a default route that encompasses all networks not explicitly listed in the routing table. This route will direct all traffic to the immediate up stream router. Each upstream router will also need a default as well for default routing to be possible.

R1(config)#ip route

Step 3: Repeat the same steps on all remaining routers with the applicable interface and routing configurations.

Verify the configuration

Now that the configuration is finished lets verify our routes. Using the show ip route command you can verify the expected routes in the routing table. Use the ping command to verify connectivity.

Related Posts

Cisco Networking

BGP Load Sharing

Load balancing with BGP is not possible in a multihomed environment with two ISPs. BGP selects only the single best path to a destination among the BGP paths that are learned from different ASs, which Read more…

Cisco Firewall

Configuring Dynamic Multipoint VPN and Zone Based Firewall

DMVPN provides the capability for creating a dynamic-mesh VPN network without having to pre-configure (static) all possible tunnel end-point peers, including IPsec (Internet Protocol Security) and ISAKMP (Internet Security Association and Key Management Protocol) peers. Read more…

Cisco Networking

Configuring Layer 2 MPLS VPN

Layer 2 VPNs are a type of Virtual Private Network (VPN) that uses MPLS labels to transport data. The communication occurs between routers that are known as Provider Edge routers (PEs), as they sit on Read more…