Here we are going to see how to configure default route in a routers ,we can configure default route for stub network. i.e dead end router we can point an ip address  or exit interface for all packets that came to that router.Here we go..


Steps 1:Her e, in our topology we have two stub network .

Apply basic configurations ip address to all interfaces and pc's

Step 2:Configure static route on R2 to route packets for and networks like this

R2(config)#ip route Destination Network| Destination N/W SubnetMask |Next Hop Address or Exit Interface

In Router R2

R2(config)#ip route
R2(config)#ip route

Step 3:Now we are going to configure default route on R1 and R3.So the routers forward packets to assigned ip address next hop address or exit interface

In Router R1

R1(config)#ip route

In Router R3

R3(config)#ip route

Here, represents any network any subnetmask. i.e any packet that came to router R1 will be forwarded to next hop address check the routing table of R1

R1#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is to network

C is directly connected, FastEthernet0/0
C is directly connected, Serial2/0
S* [1/0] via
               is directly connected, Serial2/0

S* represents Static default route .Now Ping from to you will get reply as


Pinging with 32 bytes of data:

Reply from bytes=32 time=141ms TTL=125
Reply from bytes=32 time=187ms TTL=125
Reply from bytes=32 time=172ms TTL=125
Reply from bytes=32 time=125ms TTL=125

Ping statistics for
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 125ms, Maximum = 187ms, Average = 156ms

we can also configure exit interface instead of next hop address like this 

R1(config)#ip route serial 2/0

R3(config)#ip route serial 3/0

Administrative distance if configure with next hop address is 1,for exit interface is 0....

Post a Comment

  1. Great job and very nice content... i read this blog, this blog is very helpful for me...
    I am very thankful to share this post.. I hope you have more information about this post.. So, Please share me.. Thanks..
    Visit my site:- Linksys Router Support

  2. Thank for sharing

  3. Thanks for sharing your views.
    click here for technical support services http://resolit.us
    1-877-778-8969 our toll free number.

  4. This comment has been removed by a blog administrator.