cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1638
Views
4
Helpful
2
Replies

How a routing protocol fill the routing table?

alex_gomez
Level 1
Level 1

I saw that question online and I couldn't answer it. The site don't give the right answer.

2 Replies 2

Routing protocol runs basing on the algorithm.

Directly connected routes will be learnt by router with out any routing protocol, else other will be learnt by the protocol you use and advertise with the help of them.

Hope the answer to question.

Regards
Thanveer
"Everybody is genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is a stupid."

Please also find the below explanation by cisco

There are three processes involved in building and maintaining the routing table in a Cisco router:

  • Various routing processes, which actually run a network (or routing) protocol, such as Enhanced Interior Gateway Routing Protocol (EIGRP), Border Gateway Protocol (BGP), Intermediate System-to-Intermediate System (IS-IS), and Open Shortest Path First (OSPF).


  • The routing table itself, which accepts information from the routing processes and also replies to requests for information from the forwarding process.


  • The forwarding process, which requests information from the routing table to make a packet forwarding decision.


Let's examine the interaction between the routing protocols and the routing table to understand how the routing table is built.

Building the Routing Table

The main considerations while building the routing table are:

  • Administrative distance - This is the measure of trustworthiness of the source of the route. If a router learns about a destination from more than one routing protocol, administrative distance is compared and the preference is given to the routes with lower administrative distance. In other words, it is the believability of the source of the route.


  • Metrics - This is a measure used by the routing protocol to calculate the best path to a given destination, if it learns multiple paths to the same destination. Each routing protocol uses a different metric.


  • Prefix length


Please follow the link

http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094823.shtml

for frequently asked questions

http://www.cisco.com/en/US/tech/tk365/technologies_q_and_a_item09186a008012d8f7.shtml

Please rate the helpful posts

Regards
Thanveer
"Everybody is genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is a stupid."

Review Cisco Networking for a $25 gift card