If the routes were equal (length), it would only have the eigrp route to chose from, because that's the only route that would be in the table because of the lower AD. The router would still have the route learned from OSPF in it's osopf database, but it wouldn't enter it into the RIB unless it lost the eigrp route.
But since the routes aren't equal (length), it will enter both into RIB, and choose longest match, which in your scenario is OSPF. -- RFC 1149 Compliant. Get in my head: http://sar.dynu.com ""Sean Wolfe"" wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Quick question, hope it's not too trivial: > > When a router decides to forward a packet based on the longest match > principle, does this supersede other factors? > > For example, if there is a route to network A via EIGRP, but a more specific > route available via OSPF, does it choose OSPF because of longest match, or > EIGRP because of lower administrative distance (90 vs. 110)? > > Thanks folks, fun reading your posts as always. Wish me luck as I take BCSN > this week. -Sean. Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=41695&t=41692 -------------------------------------------------- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]