cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1832
Views
0
Helpful
2
Replies

[Solved]Simple OSPF inter-area routing not working

fans_cisco
Level 1
Level 1
1. Three cisco routers are connected tandemly.

R1(e0/0)-------------(e0/1)R2(e0/0)------------(e0/1)R3

2. OSPF intra-area routing is configured below,

R1:
configure terminal
int e0/0
ip address 10.0.1.1 255.255.255.0
no shutdown
configure terminal
router ospf 1
network 10.0.1.1 0.0.0.0 area 1

R2:
configure terminal
int e0/1
ip address 10.0.1.2 255.255.255.0
no shutdown
configure terminal
int e0/0
ip address 10.0.2.1 255.255.255.0
no shutdown
configure terminal
router ospf 1
network 10.0.1.2 0.0.0.0 area 1
network 10.0.2.1 0.0.0.0 area 1

R3:
configure terminal
int e0/0
ip address 10.0.2.2 255.255.255.0
no shutdown
configure terminal
router ospf 1
network 10.0.2.2 0.0.0.0 area 1

3. OSPF intra-area routing works corretly below,

R1:
show ip route ospf
-> O 10.0.2.0 via 10.0.2.1

R3:
show ip route ospf
-> O 10.0.1.0 via 10.0.1.2

4. Re-configure it as OSPF inter-area routing below,

R2:
configure terminal
router ospf 1
network 10.0.2.1 0.0.0.0 area 2

R3:
configure terminal
router ospf 1
network 10.0.2.2 0.0.0.0 area 2

5. But, OSPF inter-area routing doesn't work below,

R1:
show ip route ospf
-> (empty)

R3:
show ip route ospf
-> (empty)

What's wrong above?

Thanks a lot!
2 Replies 2

fans_cisco
Level 1
Level 1

Renumbering area 2 to 0 solved the problem.

Disclaimer

The     Author of this posting offers the information contained within this     posting without consideration and with the reader's understanding  that    there's no implied or expressed suitability or fitness for any   purpose.   Information provided is for informational purposes only and   should not   be construed as rendering professional advice of any kind.   Usage of  this  posting's information is solely at reader's own risk.

Liability Disclaimer

In     no event shall Author be liable for any damages whatsoever   (including,   without limitation, damages for loss of use, data or   profit) arising  out  of the use or inability to use the posting's   information even if  Author  has been advised of the possibility of  such  damage.

Posting

Yes it would because OSPF different numbered area won't exchange routes except for area zero which will exchange routes with any other numbered area.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card