Friday, December 20, 2024
HomeCisco networkingCisco routerConfigure a default route on a Cisco router

Configure a default route on a 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

Quinn McHenry
Quinn McHenry
Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

LATEST REVIEWS

Recent Comments

error: Content is protected !!