11-05-2016 07:32 AM - edited 03-05-2019 07:24 AM
Hi All,
I am working through some OSPF in my home network and looking for clarification on something.
Please see attached diagram for current setup. Ignore the unimportant details on there, bit messy.
Router ID
1.1.1.1
2.2.2.2
3.3.3.3
4.4.4.4
Basically I am redistributing loops backs from R2 into OSPF
2.2.3.0/24
2.2.4.0/24
2.2.5.0/24
2.2.6.0/24
When I look at the OSPF database on R1 I see (In bold below)
My query is - LSA 4 is telling me where the ASBR is?
R1 is directly connected to R2 (which is my ASBR) so why does the ADV Router for my ASBR show from R3, rather than from R2.
Summary ASB Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
2.2.2.2 3.3.3.3 259 0x80000001 0x00D84D
R1_2801#sh ip ospf data
OSPF Router with ID (1.1.1.1) (Process ID 12)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link count
1.1.1.1 1.1.1.1 475 0x8000000E 0x009423 3
2.2.2.2 2.2.2.2 1076 0x8000000B 0x006A2A 1
3.3.3.3 3.3.3.3 268 0x80000008 0x007A65 2
Net Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
10.1.2.2 2.2.2.2 1076 0x80000002 0x001FF6
Summary Net Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
10.2.4.0 2.2.2.2 1576 0x80000004 0x008A96
10.2.4.0 3.3.3.3 259 0x80000001 0x007CA2
10.3.4.0 2.2.2.2 253 0x80000001 0x008E93
10.3.4.0 3.3.3.3 259 0x80000001 0x0066B8
Summary ASB Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
2.2.2.2 3.3.3.3 259 0x80000001 0x00D84D
Type-5 AS External Link States
Link ID ADV Router Age Seq# Checksum Tag
2.2.3.0 2.2.2.2 1179 0x80000001 0x005839 0
2.2.4.0 2.2.2.2 1178 0x80000001 0x004D43 0
2.2.5.0 2.2.2.2 1178 0x80000001 0x00424D 0
2.2.6.0 2.2.2.2 1178 0x80000001 0x003757 0
Solved! Go to Solution.
11-05-2016 11:20 AM
Hi,
R1 is directly connected to R2 (which is my ASBR) so why does the ADV Router for my ASBR show from R3, rather than from R2.
R2 is at the same time ABR and ASBR, so R1 has an intra-area path to the ASBR R2. Type-4 LSAs are only needed to reach ASBRs via inter-area paths, so R2 in its role as an ABR doesn't need to generate a Type-4 LSA in such a case.
In the routing-table calculation intra-area paths are prefered over inter-area paths, so you should see the external routes with R2 as the next-hop on R1. In other words, the (alternate) path via R3 is in the database, but not in the routing-table.
HTH
Rolf
11-05-2016 11:20 AM
Hi,
R1 is directly connected to R2 (which is my ASBR) so why does the ADV Router for my ASBR show from R3, rather than from R2.
R2 is at the same time ABR and ASBR, so R1 has an intra-area path to the ASBR R2. Type-4 LSAs are only needed to reach ASBRs via inter-area paths, so R2 in its role as an ABR doesn't need to generate a Type-4 LSA in such a case.
In the routing-table calculation intra-area paths are prefered over inter-area paths, so you should see the external routes with R2 as the next-hop on R1. In other words, the (alternate) path via R3 is in the database, but not in the routing-table.
HTH
Rolf
11-05-2016 11:20 AM
Hi Rolf,
Many thanks for clearing that up. Makes sense now. You are correct in that R2 is indeed next hop for the loopbacks.
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