2011-07-29

Step by Step Configure RIP Routing on Cisco Routers

Objectives:
This tutorial aims to provide an overview / router configuration instructions. Configuration includes the standard configuration and the configuration of routing protocols (routing). Routing protocol used is RIP.

Scenario:
There are two LANs are interconnected through a router GAD and BHM routers .. Configure each router must be able to connect both the LAN. (BHM LAN and LAN GAD). Configuration declared successful if PC1 on the LAN BHM got reply from PC2 on the LAN GAD and vice versa.

Topology:

Configuration:Router BHM
Router>
Router> enable {Log into the mode privillege}
Router # conf t {Enter configuration mode global}
Router (config) # hostname BHM {router Naming}
BHM (config) # enable password cisco {Enable password for EXEC}
BHM (config) # enable secret class {Activating the command enable secret word}
BHM (config) # service password-encryption {For enable password encryption}
BHM (config) # banner motd # For Authrorized access ONLY! # {Enabling Message / Banner}
BHM (config) # line console 0 {Configure line console}
BHM (config-line) # password cisco
BHM (config-line) # login
BHM (config-line) # exit
BHM (config) # line vty 0 4 {Configure virtual line / line telnet}
BHM (config-line) # password cisco
BHM (config-line) # login
BHM (config-line) # exit
BHM (config) # line aux 0 line aux {Configure}
BHM (config-line) # password cisco
BHM (config-line) # login
BHM (config-line) # exit
BHM (config) # int Fa0/0 {Configuring interface FastEthernet0/0}
BHM (config-if) # ip add 192.168.4.1 255.255.255.0
BHM (config-if) # no shut
BHM (config-if) # exit
BHM (config) # int s0/0 {Configuring interface FastEthernet0/0}
BHM (config-if) # ip add 192.168.3.1 255.255.255.0
BHM (config-if) # no shut
BHM (config-if) # exit
BHM (config) # router rip {Configure Routing Protocol RIP}
BHM (config-router) # net 192.168.4.0
BHM (config-router) # net 192.168.3.0
BHM (config-router) # exit
BHM (config) # exit
BHM # copy run start {Saves the configuration to NVRAM}


Router GAD


Router>
Router> enable
Router # conf t
Router (config) # hostname GAD
GAD (config) # enable password cisco
GAD (config) # enable secret class
GAD (config) # service password-encryption
GAD (config) # banner motd # This is a secure system, access Authrorized ONLY! #
GAD (config) # line console 0
GAD (config-line) # password cisco
GAD (config-line) # login
GAD (config-line) # exit
GAD (config) # line vty 0 4
GAD (config-line) # password cisco
GAD (config-line) # login
GAD (config-line) # exit
GAD (config) # line aux 0
GAD (config-line) # password cisco
GAD (config-line) # login
GAD (config-line) # exit
GAD (config) # int Fa0 / 0
GAD (config-if) # ip add 192.168.5.1 255.255.255.0
GAD (config-if) # no shut
GAD (config-if) # exit
GAD (config) # int s0 / 0
GAD (config-if) # ip add 192.168.3.3 255.255.255.0
GAD (config-if) # clock rate 56000 {Just for DCE serial interface}
GAD (config-if) # no shut
GAD (config-if) # exit
GAD (config) # router rip
GAD (config-router) # net 192.168.4.0
GAD (config-router) # net 192.168.3.0
GAD (config-router) # exit
GAD (config) # exit
GAD # copy run start 


Command to check the configuration
sh run {checking running configuration /on RAM}
Sh ip protocol {Checking the active routing protocol} 
Sh ip route   {Checking the routing table entries}

Testing:

Test with a ping from PC1 to PC2 and vice versa, ping through command prompt on each PC.

example:

From PC1 to PC2
                 ping 192.168.5.5

From PC2 to PC1
                 ping 192.168.4.5

No comments:

Post a Comment