cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
732
Views
0
Helpful
3
Replies

OSPF path choose

acbenny
Level 1
Level 1

hi Expert,

I would like to ask

If there are two way (via area 0 with metric 100, via area 10 with metric 10)

to learn the ip address 1.1.1.1 (In area 0) from Router A where Router A is ABR (area0 and area 10).

The Router A will choose via route with area 0 with metric 100 or area 10 with metric 10

3 Replies 3

Richard Burts
Hall of Fame
Hall of Fame

Jack

There are some aspects of your question that I do not understand. But it is clear that if the destination is in area 0 then RouterA will choose the route through area 0 and not the route through area 1. OSPF always prefers an intra-area route over an inter-area route.

HTH

Rick

HTH

Rick

Hi Rick,

Maybe I attach the diagram so that you can easily understand.

According to the diagram

R27,R28,R5,R6 loopback address is in Area 0

Sw27,Sw28 loopback address is Area 20

Sw5,Sw6 loopback address is Area 10

My question is normally R28 's routing table route to 1.1.1.1 will be via 10.10.30.29. However once 10.10.30.28 link down. R28 go 1.1.1.1 will via R5 (larger metric) or Sw28 and Sw27 ( less metric) As I know both

AD of O and O IA also 110

Hello Jack,

Rick's answer is absolutely correct and provides the answer you are looking for:

until an intra-area path exists it is used regardless of metric.

So if the link between RTR27_1 and RTR28_1 fails and if prefix 1.1.1.1 is in area 0, a new path within area 0 topology is used if available.

OSPF has a detailed hierarchy of preferences:

O > O IA > O E1 > O E2

all these routes have the same AD, but AD is used by the process that mantains the ip routing table not by OSPF itself.

OSPF process doesn't use AD at all, but it compares the LSA types.

If only one OSPF process is involved, it makes its own choices before passing the proposed prefix to the ip routing table manager process.

If multiple OSPF processes are involved each of them makes its own decisions and proposes its best path for a given prefix. ("ships in the night").

But this is not your scenario.

Hope to help

Giuseppe

Review Cisco Networking for a $25 gift card