Title: RIP Basics (RIP picture book-1 from VisualLand Animations)
1RIP BasicRIP tutorial with pictures
-1www.visualland.net
- Watch animation to learn networking.
- It shows how to configure RIP at two routers and
the process of synchronizing routing information
with Request, Response. - This pictured tutorial takes screenshots from
RIP Basic Animation. - OK to republish this slide. Please use hyperlink
to point to its source.
2RIP animations
- RIP basic It shows how to configure RIP at two
routers and the process of synchronizing routing
information with Request, Response. - Split Horizon Observe RIP operations in
details Request and Response packet structure,
split horizon, periodical flooding routing
info.. - Link Failover It animates the steps of finding
new routes upon a link down event. - Router poison RIP routers floods Response
every 30 seconds. If a router has not heard
from a neighbor for 180 seconds, it thinks the
nieghbor is unreachble. It floods a Response to
announce (with route metric 16.) Neighbors
propagate this Response to spread out through
the RIP network. This is called route poisoning.
- Equal cost - route poison When receivingg a
route poison, a router does not re-flood route
poison if it has other paths to reach the
unreachable router. - Garbage Collection After 180 second of silence
from a neighbor, the router declares the
neighbor is unreachable and floods route poison.
However, this obsolete route stays in RIP
database for another 60 seconds (Garbage
Collection Timer). When this timer expires,
RIP removes the router from RIP datase. - Pinghole Congestion RIP uses hop count to
calculate path cost, not bandwidth. If a router
has two equal cost paths to reach a destination,
it load balances traffic. However, if one path
has a slower link, it is congested and becomes a
bottleneck. This is called RIP pinhole
congestion.
2019/9/21
www.visualland.net
2
3Overview RIP Basics Animation link
Goal Visualize RIP configuration and exchanging
of Request and Reponse to discover new
routes. Topology Two hosts H1 and G2 are
connected to two RIP routers as
H1-R1-R2-H2. Steps 1) Configure R1 IP address
and start RIP. (R2 has already started RIP. )
2) R1 and R2 flood Request and R2 to
exchange routing information. 3)H1
ping H2 is successful.
4Configure IP address
- First, configure the IP addresses for R1 and R2's
interfaces. - See actual commands in R1's command line window.
5R1 Start RIP, flood Request
Start RIP at R1. It floods Request to all ports
immediately. Yjere are two types of RIP packets
- Request. R1 sends Request to ask its neighbors
their routing information. - Response. A RIP
router sends Response periodically to neighbors
of its routing information.
6R2 Return Response
When R2 receives R1's Request, it sends its
routing data in a Response to R1.
7R1 update routing table
When R1 receives Response from R2, it discovers a
new destination 192.168.1.0 and adds a new entry
(R, 192.168.1.0/24, E0/0) to its rotuing
tabe. Note In the routing table, Type is C for
directly connected networks. Type is R for RIP
routes.
8R1 flood Response
Now R1 floods a Response which contains R1's
routing data. Note In real wirkd, after starting
RIP, the router floods a Request and a Response
at the same time. In this scenario, we flood
Request first to ckarify the transaction.
9R2 update routing table
When R2 recevies Response from R1, it adds a new
route (R, 192.168.1.0/24, E0/0) to its routing
table.
10H1 Ping H2
??R1?R2??????????H1 ping H2,Ping???
11FAQ
- What is RIP?
- How does RIP work?
- How does RIP calculate routes?
- ( answers in the Comments box )
12What is Vlabvisualland.net
- VLAB Virtual Lab
- Theory Visualize key points of network protocols
to help beginners grasp the basic ideas quickly. - Lab Visualize network activities with packets
and router states captured from network
simulators (dynamips, packet tracer, and ns2. - Interactively control animation packet headers,
protocol state tables. - Vlab usage
- Self learning, teaching aids, lab book.