search the web

Saturday, December 12, 2015

Configuring RIPv2

Configuring RIP

-----------------------------------
R3
-----------------------------------
show ip protocol
!check that no other protocol is running

show ip route
!note the connected routes

conf t
router rip
!This command enables rip on this router

network 192.168.30.0
!The network command does two thing. one which network to advertise and second on which interface to advertise the networks. Aso enables rip on that interface.
network 192.168.0.0
exit

----------------------------------
BB
----------------------------------
show ip route
conf t
router rip
network 192.168.30.0
network 192.168.20.0
network 192.168.10.0
exit


----------------------------------
R2
----------------------------------
show ip route
conf t
router rip
network 192.168.20.0
exit


------------------------------------
R1
------------------------------------
show ip route
conf t
router rip
network 192.168.10.0
exit

show ip route
!you will see routes learnt through R which means RIP. You will also see something like [120/1] here 120 means the administrative distance which defines how believable a routing protocol is? lower is better. and 1 defines the metric which is hop count in case of RIP.

show ip protocols
it shows the RIP running on this router.

now lets run the troubleshooting command debug to check the way RIP speaking routers communicate

debug ip rip
RIP: received v1 update from 192.168.30.1 on Serial0/0
*Mar  1 03:29:44.617:      192.168.10.0 in 1 hops
*Mar  1 03:29:44.617:      192.168.20.0 in 1 hops
R3-2612#
*Mar  1 03:29:57.302: RIP: sending v1 update to 255.255.255.255 via Serial0/0 (1
92.168.30.2)
*Mar  1 03:29:57.302: RIP: build update entries - suppressing null update
R3-2612#
*Mar  1 03:30:10.419: RIP: received v1 update from 192.168.30.1 on Serial0/0
*Mar  1 03:30:10.419:      192.168.10.0 in 1 hops
*Mar  1 03:30:10.419:      192.168.20.0 in 1 hops
R3-2612#
*Mar  1 03:30:22.852: RIP: sending v1 update to 255.255.255.255 via Serial0/0 (1
92.168.30.2)
*Mar  1 03:30:22.852: RIP: build update entries - suppressing null update

u all
disables all the debugs

terminal monitors
!shows the log messages if you are connected to router or switch through telnet.

Changing RIP to VERSION 2
conf t
router rip
version 2
exit

Go on each router and change the version to version 2


Thanks for visiting if there is any doubt or question about RIP v2 (routing information protocol) please write down in comments

for initial configuration of Router, switch or AP visit link below

initial configuration of Router, Switch or AP

No comments: