HomeCisco networkingCisco routerAdd a Static Route to a Cisco Router

Add a Static Route to a Cisco Router

A static route adds an entry to the routing table for a specific destination IP address or subnet.


To route traffic to the 10.10.20.0/24 subnet through the IP address 192.168.100.1:

conf t
ip route 10.10.20.0 255.255.255.0 192.168.100.1

The netmask 255.255.255.0 means the same as the subnet/24 notation.

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 !!