Configure a default route on a Cisco router

Contributor Icon Contributed by qmchenry Date Icon September 18, 2003  
Tag Icon Tagged: Cisco router

The default route is the IP address of the next hop when no other routes are known.


To configure the default route to be 192.168.1.1:

config t
ip route 0.0.0.0 0.0.0.0 192.168.1.1

An interface can be used as an alternative to and IP address. To use serial0/0 for destinations not in the routing table, use:

ip route 0.0.0.0 0.0.0.0 serial 0/0

Previous recipe | Next recipe |
 
  • Sridhar V
    Sir I have two serial ports with 2 MB internet connectivity with static IP given by the ISP.
    At the local LAN the router has one ethernet port which i am using for local lan. How can i configure default route on both the serial ports
blog comments powered by Disqus