Installation Guide: Cisco Router - Static Routing

Static routing describes a system that does not implement adaptive routing. In these systems, routes through a data network are described by fixed paths 
(statically). These routes are usually entered into the router by the system administrator. 

An entire network can be configured using static routes but this type of configuration is not fault tolerant. When there is a change in the network or a failure occurs between two statically defined nodes, traffic will not be rerouted. This means that anything that wishes to take an affected path will either have to wait for the failure to be repaired or the static route to be updated by the administrator before restarting its journey. Most requests will time out (ultimately failing) before these repairs can be made. There are, however, times when static routes make sense and can even improve the performance of a network. Some of these include stub networks and default routes


CISCO STATIC ROUTING SAMPLE CONFIGURATION

Router-A Configuration
RouterA>enable
RouterA>Password
Configure Ethernet0 RouterA#Configure Terminal
RouterA(Config)#interface ethernet0
RouterA(Config-if)#ip address 172.1.1.1 255.255.255.240
RouterA(Config-if)#no shutdown
RouterA(Config-if)#end
Configure Serial0
RouterA#Configure Terminal
RouterA(Config)#interface serial0
RouterA(Config-if)#ip address 192.168.1.1 255.255.255.252
RouterA(Config-if)#no shutdown
RouterA(Config-if)#end
Configure Routing Protocol
RouterA#Configure Terminal
RouterA(Config)#ip route 172.2.1.0 255.255.255.240 192.168.1.2
RouterA(Config-router)#end


Router-B Configuration
RouterB>enable
RouterB>Password
Configure Ethernet0
RouterB#Configure Terminal
RouterB(Config)#interface ethernet0
RouterB(Config-if)#ip address 172.2.1.1 255.255.255.240
RouterB(Config-if)#no shutdown
RouterB(Config-if)#end
Configure Serial0
RouterB#Configure Terminal
RouterB(Config)#interface serial0
RouterB(Config-if)#ip address 192.168.1.2 255.255.255.252
RouterB(Config-if)#no shutdown
RouterB(Config-if)#end
Configure Routing Protocol
RouterB#Configure Terminal
RouterB(Config)#ip route 172.1.1.0 255.255.255.240 192.168.1.1
RouterB(Config-router)#end

No comments:

Post a Comment