Following is my ospf networking topo.
R8
/ |
area2 R7 |10.0.0.12/30
/ |
/ |
------------------R1 R3---------------
/ |____|
area0 /
R2
In my lab,I ran R1,R2,R3 in OSPF area 0
R1,R3,R7,R8 in OSPF area 2,
the line between R1 and R3 is belong to area0
all routers connect together using same bandwidth/speed serial lines,R1 and R3 connect both area0 and area2.
From the topo,we can see intuitively that from R2 to destination net 10.0.0.12,path R2-R1-R3 should be the shortest way,and also we can prove this by using the following command:
R2#show ip ospf database summary 10.0.0.12
OSPF Router with ID (10.0.0.6) (Process ID 1)
Summary Net Link States (Area 0)
LS age: 1694
Options: (No TOS-capability, DC, Upward)
LS Type: Summary Links(Network)
Link State ID: 10.0.0.12 (summary Network Number)
Advertising Router: 10.0.0.9
LS Seq Number: 80000001
Checksum: 0x73E2
Length: 28
Network Mask: /30
TOS: 0 Metric: 192
Routing Bit Set on this LSA
LS age: 94
Options: (No TOS-capability, DC, Upward)
LS Type: Summary Links(Network)
Link State ID: 10.0.0.12 (summary Network Number)
Advertising Router: 10.0.0.13
LS Seq Number: 80000002
Checksum: 0x547D
Length: 28
Network Mask: /30
TOS: 0 Metric: 64
R2#
but in fact,we I ping or traceroute from R2 to 10.0.0.14,the path packets went through is R2-R1-R7-R8,So I am confused about this,Could some guys answer this question or give me some useful links?
Thanks
Best Regards!
R8
/ |
area2 R7 |10.0.0.12/30
/ |
/ |
------------------R1 R3---------------
/ |____|
area0 /
R2
In my lab,I ran R1,R2,R3 in OSPF area 0
R1,R3,R7,R8 in OSPF area 2,
the line between R1 and R3 is belong to area0
all routers connect together using same bandwidth/speed serial lines,R1 and R3 connect both area0 and area2.
From the topo,we can see intuitively that from R2 to destination net 10.0.0.12,path R2-R1-R3 should be the shortest way,and also we can prove this by using the following command:
R2#show ip ospf database summary 10.0.0.12
OSPF Router with ID (10.0.0.6) (Process ID 1)
Summary Net Link States (Area 0)
LS age: 1694
Options: (No TOS-capability, DC, Upward)
LS Type: Summary Links(Network)
Link State ID: 10.0.0.12 (summary Network Number)
Advertising Router: 10.0.0.9
LS Seq Number: 80000001
Checksum: 0x73E2
Length: 28
Network Mask: /30
TOS: 0 Metric: 192
Routing Bit Set on this LSA
LS age: 94
Options: (No TOS-capability, DC, Upward)
LS Type: Summary Links(Network)
Link State ID: 10.0.0.12 (summary Network Number)
Advertising Router: 10.0.0.13
LS Seq Number: 80000002
Checksum: 0x547D
Length: 28
Network Mask: /30
TOS: 0 Metric: 64
R2#
but in fact,we I ping or traceroute from R2 to 10.0.0.14,the path packets went through is R2-R1-R7-R8,So I am confused about this,Could some guys answer this question or give me some useful links?
Thanks
Best Regards!