Routing Table arrangment

eng_ahmedaseng_ahmedas Member Posts: 69 ■■□□□□□□□□
Dear Friends
i wish u r all in very goo health ... I wish u could help me to understand something. I am very confused about how router arrange networks in the routing table ....

For example, if i have directly connected network (10.0.0.0/icon_cool.gif and route to network (172.16.0.0/16) learned via RIP and route to network (192.168.1.0 /24) learned via ospf and finally default route ...... How would the router arrange this route in the routing table and on what basis will it arrange them (according to the route with least mask to the route with the large mask or according to longest match or according to the smallest network ID to the greater network ID or according to the adminstrative distance of the the routes or according to what ??????? )

I wish i u could help me

Thanks in advance

Bye

Comments

  • blackmage439blackmage439 Member Posts: 163
    I think that a router organizes routes in the order it "learns" them. For example, if you enable RIP on a router, and it learns a route that way, it will place it at the end of the list, right behind all of your operational interfaces. If you next manually enter a static, default route, it should place that route below the RIP-learned route.

    Again, I'm not sure about this, but this is my best guess...
    "Facts are meaningless. They can be used to prove anything!"
    - Homer Simpson
Sign In or Register to comment.