Cisco Static Routing Lab on GNS3 | Static Routes with GNS3

How to configure the static routes on GNS3

 Static routing is a core technology that any network engineer must understand.  With static Routing you can configure your network without using any dynamic routing protocol like RIP, OSPF etc. Commonly static routes are used for floating routes and a default route. A well designed network should have very few static routes because when you configure a static routes and in case of network changes, you’ll then potentially need to reassess and reconfigure the static route to ensure network connectivity.
With static routes, for successful IP communication it is necessarily you configure bi-directional static routes on each router. Consider the following figure, suppose you want to access R3 from R1, in such case you need two static routes one from R1 to R3 and other R3 to R1.
Static routing configuration is very simple and easy, you just need to advertise the remote network with defining the next hope address. Syntax of static route Cisco command is as under:
Router(config)#ip route <destination network> <mask> <next hope address>
Learn more Basic Cisco commands from here.

In above Gns3 lab you  have three routers on which we will configure routing using static routes. All required configuration are as following, you all also download the full configurations of these routers from links which are given under the configuration of each router.

R1 Configuration:
On router R1 one we have one directly connected network ( and two remote networks & For static routing you need to configure two static routes for remote network and next hope address will interface f0/0 of R2 which have the IP address Next hope address is like a gateway and IP address of neighbor router which is connected to remote network, if you want to access R3 from R1 you will access it through next hope address 
R1#conf t
R1(config)#interface f0/0
R1(config-if)#ip address
R1(config-if)#no shut
R1(config)#ip route
R1(config)#ip route
Download R1 configuration
R2 Configuration:
On router R2 we have two directly connected network & and remote network Therefore you need to configure the only static route for with next hope address

R2#configure terminal
R2(config)#interface f0/0
R2(config-if)#ip address
R2(config-if)#no shutdown
R2(config)#interface f1/0
R2(config-if)#ip address
R2(config-if)#no shutdown
R2(config)#ip route
R3 Configuration
Remote Network=
Directly connected networks= &
Next hope address=

R3#configure terminal
R3(config)#interface f0/0
R3(config-if)#ip address
R3(config-if)#no shutdown
R3(config)#interface loopback 1
R3(config-if)#ip address
R3(config-if)#no shutdown
R3(config)#ip route

Download R3 configuration

After the successful configuration show ip route on R1 will have the following output.

No comments:

Post a Comment