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.











Wadegerencser said on October 12, 2010
Yea, it’s called Administrative Distance. The route may not be “better” but more believable to the router itself. You can manually input that or it will be learned dynamically.
MnChris612 said on February 4, 2011
stfu. The best way to learn is to do it yourself. If you break it, you will learn that much better because you will never forget what you did to fix it, and that knowledge will carry on into future projects.
Udayjoshi22 said on March 3, 2011
router A and router B are in same network connect with switch. router B serial interface connected with different network router C. how to configure static route on router A.