Knowledge Base

Our knowledge base for your self-education

 

Design & Configure

Static routing (Cisco)

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

Setting static routing on the Layer 3 device  is the fastest way to achieve communication in routed IP networks. To configure static route 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. Rember 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 a note that network mask is provided using decimal dotted ntation. Also never forget about the routing for returning traffic !! Think like a packet. For better understanding why static routing may have serious limitations in your environment read the article about static vs dynamic routing.

 
PreviousNext ?>
 

Newsletter