ping doesn't work inter area(OSPF)

  • 0
  • 1
  • Problem
  • Updated 2 years ago
  • Solved
Hi,

I am running EXOS VM's in Oracle VirtualBox,I have a topology in this order: R1,R2 and R3. I configured OSPF in one area(0.0.0.0) and all things goes well.But when i tried to make every node in area (R1: area 1.1.1.1 , R2: 2.2.2.2, R3: 0.0.0.0) i could not reach the hole topology
Photo of Ala Eddine Chhima

Ala Eddine Chhima

  • 414 Points 250 badge 2x thumb

Posted 2 years ago

  • 0
  • 1
Photo of Supermac7

Supermac7

  • 132 Points 100 badge 2x thumb
configs?
Photo of Paul Russo

Paul Russo, Alum

  • 9,694 Points 5k badge 2x thumb
Hello  Ala

What do you see in the route table?  Show IPRoute  Do you see the other areas?  I am assuming that all 3 routers are part of area 0.0.0.0 with another area 1.1.1.1 or 2.2.2.2 on another port on the switch?  In order for the other routes to show up or to be able to ping another interface that VLAN has to be up.  You can do this either by enabling loopback on the VLAN or having an active port on the VLAN.


If you can provide a diagram and the show IPR command that would be helpful.

Thanks
P
Photo of Ala Eddine Chhima

Ala Eddine Chhima

  • 414 Points 250 badge 2x thumb
when i execute "sh ospf lsdb" on R1,R2 and R3 i have these results
Photo of Grosjean, Stephane

Grosjean, Stephane, Employee

  • 12,552 Points 10k badge 2x thumb
Hi,

configs would help, as well as "sh ospf neighbors", "sh ospf interfaces", even a "sh vlan".
Photo of Paul Russo

Paul Russo, Alum

  • 9,694 Points 5k badge 2x thumb
Hello Ala

The config shots you sent are very confusing.  I see that you are creating VLANs which from what I can gather are part of other areas.  However I don't see that all 3 of your switches are connected to area 0.  In addition I don't see any of the VLANs on the same subnet so they can't talk to one another.

The design should have areas 0 connecting to all three switches on port 1 for example.  You can then have a VLAN on each switch that is part of another area.  So for example port 2 on Sw 1 can be in area 2.2.2.2 port 2 on switch 3 can be on area 3.3.3.3.  If those other ports are connected to another device or the VLAN has loopback on them then those routes for those VLANs should be propagated.

Does that help?

P
Photo of Ala Eddine Chhima

Ala Eddine Chhima

  • 414 Points 250 badge 2x thumb
thank you sir , it helped me a lot :)
Photo of Erik Auerswald

Erik Auerswald, Embassador

  • 12,782 Points 10k badge 2x thumb
Hi Ala,

you need to connect every area to area 0.0.0.0 for OSPF to work. As I understand your question, you connected area 2.2.2.2 to 1.1.1.1 and 1.1.1.1 to 0.0.0.0. OSPF does not support this configuration.

Best regards,
Erik
Photo of Colatuno, Joe

Colatuno, Joe, Escalation Support Engineer

  • 1,096 Points 1k badge 2x thumb
Ala,

If any of the areas cannot reach your backbone area 0.0.0.0, you can configure a virtual link.  This will provide a logical path between the ABR of the disconnected area and the ABR of the normal area that connects to backbone. 

Command:

configure ospf add virtual-link router-identifier area-identifier

Please review the concept guide and or the command reference guides for further information
Photo of Ala Eddine Chhima

Ala Eddine Chhima

  • 414 Points 250 badge 2x thumb
thank you it worked :)