Introduction Of RIP
The Routing Information Protocol (RIP) is one of the Distance Vector Routing Protocol. The maximum number of hop count in this protocol is 15. Originally, each RIP router transmitted full updates every 30 seconds. It is easy to configure, because RIP does not require any parameters on a router unlike other protocols.
RIP uses the User Datagram Protocol (UDP) as its transport protocol, and is assigned the reserved port number 520.
For more details go to this link http://en.wikipedia.org/wiki/Routing_Information_Protocol
RIP in cisco router
Here I will show you how to configure RIP in cisco router and create routing between two networks
one is 172.16.0.0/16 and other 172.17.0.0/16 , Using cisco packet tracer software.
Networking Diagram:
Configuration For Cisco Router A for Network 1
Router>EN
Router#CONF T
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#HOSTNAME NETWORK1
NETWORK1(config)#ENABLE PASSWORD 12345
NETWORK1(config)#ENABLE SECRET CISCO
NETWORK1(config)#LINE CON 0
NETWORK1(config-line)#PASSWORD 12345
NETWORK1(config-line)#LOGIN
NETWORK1(config)#LINE VTY 0 4
NETWORK1(config-line)#PASSWORD 12345
NETWORK1(config-line)#LOGIN
NETWORK1(config)#INT FA0/0
NETWORK1(config-if)#IP ADD 172.16.0.1 255.255.0.0
NETWORK1(config-if)#NO SHUT
NETWORK1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
NETWORK1(config-if)#INT S0/0/0
NETWORK1(config-if)#IP ADD 192.168.0.1 255.255.255.0
NETWORK1(config-if)#CLOCK RATE 9600
NETWORK1(config-if)#NO SHUT
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
NETWORK1(config-if)#ROUTER RIP
NETWORK1(config-router)#NETWORK 172.16.0.0
NETWORK1(config-router)#NETWORK 192.168.0.0
NETWORK1(config-router)#^Z
NETWORK1#
%SYS-5-CONFIG_I: Configured from console by console
NETWORK1#WR
Building configuration…
[OK]Configuration For Cisco Router A for Network 2
Router>EN
Router#CONF T
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#HOSTNAME NETWORK2
NETWORK2(config)#ENABLE PASS 12345
NETWORK2(config)#ENABLE SECRET CISCO
NETWORK2(config)#LINE CON 0
NETWORK2(config-line)#PASSWORD 123456
NETWORK2(config-line)#LOGIN
NETWORK2(config-line)#LINE VTY 0 4
NETWORK2(config-line)#PASSWORD 12345678
NETWORK2(config-line)#LOGIN
NETWORK2(config-line)#INT FA0/0
NETWORK2(config-if)#IP ADDRESS 172.17.0.1 255.255.0.0
NETWORK2(config-if)#NO SHUT
NETWORK2(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
NETWORK2(config-if)#INT S0/0/0
NETWORK2(config-if)#IP ADDRESS 192.168.0.2 255.255.255.0
NETWORK2(config-if)#NO SHUT
NETWORK2(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
NETWORK2(config)#ROUTER RIP
NETWORK2(config-router)#NETWORK 172.17.0.0
NETWORK2(config-router)#NETWORK 192.168.0.0
NETWORK2(config-router)#^Z
NETWORK2#
%SYS-5-CONFIG_I: Configured from console by console
NETWORK2#WR
Building configuration…
[OK]CONNECTION CHECKING:
NETWORK1#PING 172.17.0.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.17.0.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 2/25/32 ms
NETWORK2#PING 172.16.0.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.0.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 2/25/32 ms.