Static routing is a method of entering routes into the device’s routing table stored in a configuration file manually which is loaded when the Cisco router starts up. These routes can be configured manually by network administrators.
There are some things that need to be considered when using a static routing
- Static routing is commonly known as the simplest form of routing, however this can only be done manually
- Since routing is static, changes must be made manually
- Use static routing when having few routers to configure
- Use static routing when routes does not constantly change
- In the event of failure in the external networks, manual configuration must be made to repair any lost connectivity
CCNA Video Tutorial: Static Routing Configuration Using Packet Tracer
Steps to configure static routing on Cisco routers
There are two (2) cisco routers in the network diagram and each of which must be configured properly in order for packets to travel and pass across a different network
R1 Cisco Router Static Routing Configuration Steps
Step 1: Specify Cisco routers Lan interface
Every lan interface of a router can be a gateway of the network. It is important to specify the router’s interface IP address. In this problem, we will be using ip address: 192.168.0.1 and subnet: 255.255.255.0 for Fa0/0 and ip address: 188.8.131.52 subnet: 255.255.0.0 for Fa1/0. To configure the router’s Lan Interface see manually assign ip address to routers lan interface
Step 2: Identify the networks of the neighbouring Cisco routers
Every network (except those networks that considered to be directly connected to the router’s interface) must be identified and should be added as a static route to the current configured router. In this example, network 184.108.40.206 and 192.168.0.0 must be excluded from adding to route because both are directly connected to R1’s interface. Whereas network 10.0.0.0 must be added for it is connected to another router which is not directly connected to R1’s LAN interface.
Step 3: Specify and add as static route to the Router’s routing table
As soon as you have identified the entire necessary route, you can already add it route information to the router’s table. You can do this using the command ip route <network> <subnet> <next hop>. In this example, we used the command ip route 10.0.0.0 255.0.0.0 220.127.116.11 where 18.104.22.168 is the ip address of the interface and is considered the next hop address of the packet coming from R1.
Step 4: Check the ip routing table
Before saving the running configuration, check the current ip routing table by issuing the command show ip route. It will summarize the routers ip routing table and classified according to C – directly connected and S – static route. The S is the newly added route with 10.0.0.0/8 via 22.214.171.124.
Step 5: Save your settings
Issue the command copy source destination , in this example, use copy run start to copy the running configuration to the startup configuration.
R2 Cisco Router Static Routing Configuration Steps
Follow step 1 to 5 of R1 Cisco Router Static Routing Configuration Steps, however, the interface Fa1/0 is configured to 126.96.36.199 subnet: 255.255.0.0 and Fa0/0 with an IP address of 10.0.0.1 subnet: 255.0.0.0.
Add the static route to the routers routing table thru ip route 192.168.0.0 255.255.255.0 188.8.131.52. Copy the current running configuration to the startup configuration
Note: routers refresh requires some time. you might encounter some failed attempts for a couple or more upon issuing ICMP from adjacent network. Try until all routers are completely refreshed.
Download Static Routing CCNA Tutorial Packet Tracer Practice Exam
Command Summary: Configure Static Routing in Cisco Router
Configuration for R1
Router# conf t
Router(config)# hostname R1
R1(config)# ip route 10.0.0.0 255.0.0.0 184.108.40.206
R1# show ip route
R1# copy run start
Configuration for R2
Router# conf t
Router(config)# hostname R2
R2(config)# ip route 192.168.0.0 255.255.255.0 220.127.116.11
R2# show ip route
R2# copy run start