Tag - rip

1
Routing Information Protocol
2
What is the difference between OSPF and RIP?

Routing Information Protocol

1:What port does RIP use?

* RIP uses UDP port 520.

2:What metric does RIP use? How is the metric used to indicate an
unreachable network?

* RIP uses a hop count metric. An unreachable network is indicated by setting
the hop count to 16, which RIP interprets as an infinite distance.

Routing Information Protocol

3:What is the update period for RIP?

* RIP sends periodic updates every 30 seconds minus a small random variable to
prevent the updates of neighboring routers from becoming synchronized.

4:How many updates must be missed before a route entry will be marked
as unreachable?

* A route entry is marked as unreachable if six updates are missed.

5:What is the purpose of the garbage collection timer?

* The garbage collection timer, or flush timer, is set when a route is declared
unreachable. When the timer expires, the route is flushed from the route table.
This process allows an unreachable route to remain in the routing table long
enough for neighbors to be notified of its status

Back

What is the difference between OSPF and RIP?

RIP and OSPF are both routing protocols likely you have used without even knowing it. A routing protocol describes the way your data (or signals) get from your PC on a network to another PC or device on the network.

RIP = Hop count Algorithm

The only metric used to calculate the cost of a path (path is from point A to destination B) is the hop count from router A to router B, even if you have a path with more hops and more bandwidth available.

OSPF = Link State Algorithm

This is a more intelligent algorithm, tha build a topology of network and build the cost regarding some characteristics of path like bandwidth, load, reliability, etc.A real life example would be like when work is done and its time to drive home. You have multiple routes usually to choose from to get home. The shortest way home would obviously be a straight line from work to home. Unfortunately no magic road exists from where ever you are directly to where ever you need to go. So if you were using RIP to get home you would drive in a straight line (or take the roads that would more or less offer you a straight route home). Thing is, these roads may be BUSY, very busy in fact, you can sit in traffic for a half hour moving less than 1km sometimes. So technically the shortest way (straight line) may not be the most efficient way. Now if you were using OSPF, you would take into account traffic and other variables to decide how to get home. The quickest route home may not be the direct path, it may be a back road that has less traffic on it, through a sub division, and then to your house. However because you were using OSPF you got home quicker than if you were to use RIP as RIP didn’t really look at what the traffic was like. Now in the above paragraph turn the word “work” into “client” and the word “home” into “server” and replace the word “you” with “the packet” – magically we turn the above paragraph into tecnobabble

Back

Copyright © 2024. Created by IT Learning. Powered by DumpsForAll | Terms of Use | Privacy Policy