Monday, March 28, 2011

notes: RIP Operation

RIP Operation:

All RIP messages are encapsulated in UDP with source/destination ports being 520.

2 Message types:

1. Request: Used to ask neighboring routers to send an updates.
2. Response: Carries the update/routing entries.

- If a router must send an update with more than 25 route entries, multiple RIP messages will be produced.

- If more than one route exists to the same destination with equal hop counts, equal-cost load balancing will be performed.

- RIP sees a secondary IP addresses on a interfaces as separate data links, and can exchange routes with a secondary IP. But take note tha tall traffic generated by a router will always have the primary address as a source.
- RIP performs a soure-validation check, where the source IP address of incoming routing updates must be on the same IP network as one of the addresses defined for the receiving interface.

- Another instance where it might be needed to disable the source-validation, is when the source address is on a different subnet that, the locally configured address, ie local has a /32 and remote side a /24. This can be seen with "debug ip rip events".

- Output-delay

Can be used to sets a inter-packet gap between 8 and 50ms (default=0).
Can be used when a high-speed router is sending updates to a low-speed router.


-----------
COMMANDS
-----------

1. enable the RIP process:

router rip

2.
Disables the validation of the source address in updates

no validate-update source

3. Sets an inter-packet gap (value 8-50), (Default=0)

output-delay {ms}


------------------
verification
------------------

1. All RIPv2 enabled routers will answer the ping and respond

ping 224.0.0.9


2. Displays RIP protocol events

debug ip rip events


3. to show which interface is participating

show ip protocols


No comments:

Post a Comment