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
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
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: 126.96.36.199 subnet: 255.255.0.0 for Fa1/0. To configure the router’s Lan Interface see manually assign ip address to routers lan interface
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 188.8.131.52 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.
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 184.108.40.206 where 220.127.116.11 is the ip address of the interface and is considered the next hop address of the packet coming from R1.
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 18.104.22.168.
Issue the command copy source destination , in this example, use copy run start to copy the running configuration to the startup configuration.
Follow step 1 to 5 of R1 Cisco Router Static Routing Configuration Steps, however, the interface Fa1/0 is configured to 22.214.171.124 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 126.96.36.199. 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
Router# conf t
Router(config)# hostname R1
R1(config)# ip route 10.0.0.0 255.0.0.0 188.8.131.52
R1# show ip route
R1# copy run start
Router# conf t
Router(config)# hostname R2
R2(config)# ip route 192.168.0.0 255.255.255.0 184.108.40.206
R2# show ip route
R2# copy run start