Menu

US Region

Grandmetric LLC
Brookfield Place Office
200 Vesey Street
New York, NY 10281
EIN: 98-1615498
Phone: +1 302 691 94 10

info@grandmetric.com

EMEA Region

GRANDMETRIC Sp. z o.o.
ul. Metalowa 5, 60-118 Poznań, Poland
NIP 7792433527
+48 61 271 04 43
info@grandmetric.com

How to configure static routing on Cisco

Design & Configure

How to configure static routing on Cisco

Technology: Routing
Area: Static routing
Vendor: Cisco
Software: 12.X , 15.X
Platform: ISR, ASR, Catalyst Switches, Most platforms

Setting static routing on Cisco Layer 3 device  is the fastest way to achieve communication in routed IP networks. How to configure static routing to particular network? You must precise this network and point the next hop router which is on the way to reach destination.

How to configure static routing

In our case the destination prefix will be 192.168.1.0/24 and next hop router has address of 10.1.1.2. Remember that your router needs to know how to reach the next hop and in our case both routers should be directly connected! This is something people often forget configuring static route for the first time.

Specify the static route:

Router(config)#ip route 192.168.1.0 255.255.255.0 10.1.1.2

 

 

 

Take note that the network mask is provided using decimal dotted notation. Also never forget about the routing for returning traffic !! Think like a packet 🙂

 

More on our blog:
For a better understanding of why static routing on Cisco may have serious limitations in your environment read the article about static vs dynamic routing

 

Author: Marcin Bialy
 
Previous Next
Grandmetric