RIP (Routing Information Protocol)

 

This is much faster and easier than using static routes.  Simply type “router rip” and “network xxx.xxx.xxx.xxx” which is the entire network – in this case, our network is a Class B 172.16.0.0

 

Therefore, login to each router, get into config mode “config t”, and enter :

 

router rip

network 172.16.0.0  (the router asks “which of my interfaces have an IP address with the same network number – only the interfaces that match will advertise routes)

 

NOTE1:  after the word “network”, you use the classful network boundary instead of the subnet address.  The router may have multiple /24 address networks connected to it, but with RIP, you want to define the entire network, which is 172.16.0.0  -  do this for each router on the network

 

 

To remove RIP:            no router rip

 

NOTE:  when you type “router rip” the prompt will change from:

Router1(config)#

 to

Router1(config-router)#

 

CTRL-Z will bring you all the way back to priveledged mode

 

Passive Interface  (for both RIP and IGRP)

To listen but not advertise your own network, put the the interface into passive interface mode.  The interface will still advertise it’s connected subnet, but will not send out RIP or IGRP updates:

 

                                    passive interface ethernet 0

 

Verify both RIP and IGRP:  in priviledged  mode:  #sh ip route

 

Debugging RIP and IGRP:   to see debug messages in syslog: 

#debug ip rip     

#debug ip igrp events  or  #debug ip igrp transactions

  ***  to turn off debug syslog messages:  #undebug all

 

Debug IPX:                #debug ipx routing activity

 

IPX RIP vs IP RIP

 

both are distance vector and are on based on the XNS RIP protocol

 

Novell IPX RIP

IP RIP

60 sec update timer

30 sec update timer

timer ticks as primary metric, hop count as secondary metric

hop count is the only metric

advertises IPX Network numbers

advertises IP subnet numbers

 

Two Important Netware Services :

 

SAP (Service Advertising Protocol) – used by Netware IPX networks to advertise services (printer servers, file servers, etc).  Similar to RIP, with updates every 60 seconds.

 

GNS (Get Nearest Server) – IPX broadcast requesting which router should be used to forward packets to the nearest server.  Both routers and Netware servers respond to the request !!

 

NOTE:  these services are automatically enable with the two commands :

ipx routing                                (enables IPX)

ipx network networknumber    (assign network number)

 

            Then, to view the IPX servers :

            sh ipx servers