Menu

US Region

Grandmetric LLC
Lewes DE 19958
16192 Coastal Hwy USA
EIN: 98-1615498
+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

UK

Grandmetric LTD
Office 584b
182-184 High Street North
London
E6 2JA
+44 20 3321 5276
info@grandmetric.com

  • en
  • pl
  • 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
     
    Grandmetric