09-22-2006 02:42 AM - edited 03-03-2019 02:05 PM
Hi,
If I have ospf E1 and E2 routes for the same destination with E2 route having lower cost(metric) which one router will prefer to route the packet.
Regards,
Rajesh
09-22-2006 02:55 AM
According to
http://www.cisco.com/en/US/tech/tk365/technologies_white_paper09186a0080094e9e.shtml#t33
"A type 1 route is always preferred over a type 2 route for the same destination."
//Mikhail Galiulin
09-22-2006 03:54 AM
Hello,
in addition to Mikhail's post, have a look at this Q&A:
Q. How can I give preference to OSPF interarea routes over intra-area routes?
A. According to section 11 of RFC 2328 , the order of preference for OSPF routes is:
intra-area routes, O
interarea routes, O IA
external routes type 1, O E1
external routes type 2, O E2
This rule of preference cannot be changed. However, it applies only within a single OSPF process. If a router is running more than one OSPF process, route comparison occurs. With route comparison, the metrics and administrative distances (if they have been changed) of the OSPF processes are compared. Route types are disregarded when routes supplied by two different OSPF processes are compared.
Regards,
GNT
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide