Saturday, September 18, 2010

Basic Rip Version 2 Configuration


Suppose a router is directly connected to networks 192.168.1.0 and 192.168.2.0.

To configure Rip on this router

From Global Config Mode

Type

router rip 

version 2

network 192.168.1.0

network 192.168.2.0

no auto-summary(this is to tell the router to publish the network not with say class c default subnet mask,rather the subnet mask specified by the administrator)

exit

Then from privileged mode

sh ip route(if any other routers are configured rip and send different network info we will see it here)

The result structure of sh ip route will be (if updates came from another rip configured router)

The administrative distance of RIP is 120(administrative distance is the reliability of a protocol and in case of a better protocol  it will be less for example for OSPF it will be 110 and for static routing it will be 1) and it will be specied as 120/x where x is the hop count

from exec mode 

type 

sh ip protocols

To see what protocols are running(in here it will be Rip)

To see the Rip updates in real time

debug ip rip

To disable debugging 

type 

no debug ip rip

or 

u all

Courtesy to Jeremy Cioara



No comments:

Post a Comment