Static
Static
Static
You can configure two types of routing on the router- static and dynamic to send the traffic to destination. Static route tell the network devices about exact location (hard-coded destination). Static routers can work well with small network but in large scale network dynamic routing is the best choice. Configure static routes between routers to allow data transfer between routers without the use of dynamic routing protocols. From the global configuration mode, configure the hostname then configure the console and enable passwords on each router.
To configure static routes, first enter global configuration mode to run the following commands.
First run the command show ip route to view the IP routing table for router A before defining static routes
RouterA#configure terminal
RouterA(config)#exit
RouterA#
Now run the command show ip route on router A to view the IP routing table (directly connected + static routes) detail.
First run the command show ip route to view the IP routing table for router B before defining static routes
RouterB#configure terminal
RouterB(config)#exit
RouterB#
Now run the command show ip route on router B to view the IP routing table (directly connected + static routes) detail.
First run the command show ip route to view the IP routing table for router C before defining static routes
RouterC#configure terminal
RouterC(config)#exit
RouterC#
Now run the command show ip route on router C to view the IP routing table (directly connected + static routes) detail.
To configure RIP v2, first enter global configuration mode to run the following commands.
Configure the routing protocol on Router A. First run the command show ip route to view the IP routing table for router A before RIP v2.
RouterA(config)#configure terminal
RouterA(config)#router rip
(enable RIP)
RouterA(config-router)#version 2
RouterA(config-router)#network 10.0.0.0
RouterA(config-router)#network 20.0.0.0
RouterA(config-router)#exit
RouterA(config)#
First run the command show ip route to view the IP routing table for router B before RIP v2.
RouterB(config)#configure terminal
RouterB(config)#router rip
(enable RIP)
RouterB(config-router)#version 2
RouterB(config-router)#network 10.0.0.0
RouterB(config-router)#network 15.0.0.0
RouterB(config-router)#exit
RouterB(config)#
First run the command show ip route to view the IP routing table for router C before RIP v2.
RouterC(config)#configure terminal
RouterC(config)#router rip
(enable RIP)
RouterC(config-router)#version 2
RouterC(config-router)#network 20.0.0.0
RouterC(config-router)#network 15.0.0.0
RouterC(config-router)#exit
RouterC(config)#
From the enable mode, examine the routing table entries using the show ip route command on each router.