OSPF Help

Hello guys,

I have a problem with OSPF I tried every possible way I have gone through a lot of articles located here but I still cannot get OSPF working. On the devices when I do a monitor it shows that is running but I cannot see any added routes or any relevant information travelling in the net.

My config is as follows.

R1(3.9)(10.200.1.1)<-------->(10.200.1.2)R2(3.9)(10.200.2.1)<--------->(10.200.2.2)R3(10.200.3.1)
| | |
subnet(10.200.1.0/24) subnet(10.200.2.0/24) subnet(10.200.3.0/24)

The routing tables do not update.
I should mention this is a lab where I test routers before deployment and their capabilities.
Is ther any bug in OSPF or some kind of limitation???
I have also read the MT manual but no help in there…

Can anyone help me or has tried any step by step manual that can help the situation???

Thanks

Sotiris

Probably you forgot to set to redistribute routes.

For example:
/routing ospf
set redistribute-connected=as-type-1

I did that and I have setup the main OSPF router properly but again no luck. Am I missing something here???
Like setting up filters and all those things???

Sotiris

can you see neighbors in ‘/routing ospf neighbor’ list?

What are ospf configurations for all three routers?

No I cannot see the neighbors.

Main OSPF router

add area-id=0.0.0.0 authentication=none disabled=no name=“backbone” type=default
add area-id=0.0.0.1 authentication=none disabled=no name=“local_area” type=default
/routing ospf
set distribute-default=if-installed-as-type-2 metric-bgp=20 metric-connected=20 metric-default=1 metric-rip=20
metric-static=20 mpls-te-area=unspecified mpls-te-router-id=unspecified redistribute-bgp=no
redistribute-connected=as-type-1 redistribute-rip=no redistribute-static=as-type-1 router-id=0.0.0.0
/routing ospf network
add area=local_area disabled=no network=10.200.2.0/24

R2

add area-id=0.0.0.0 authentication=none disabled=no name=“backbone” type=default
add area-id=0.0.0.1 authentication=none disabled=no name=“local_area” type=default
/routing ospf
set distribute-default=never metric-bgp=20 metric-connected=20 metric-default=1 metric-rip=20
metric-static=20 mpls-te-area=unspecified mpls-te-router-id=unspecified redistribute-bgp=no
redistribute-connected=as-type-1 redistribute-rip=no redistribute-static=no router-id=0.0.0.0
/routing ospf network
add area=local_area disabled=no network=10.200.1.0/24
add area=local_area disabled=no network=10.200.3.0/24

R3


add area-id=0.0.0.0 authentication=none disabled=no name=“backbone” type=default
add area-id=0.0.0.1 authentication=none disabled=no name=“local_area” type=default
/routing ospf
set distribute-default=never metric-bgp=20 metric-connected=20 metric-default=1 metric-rip=20
metric-static=20 mpls-te-area=unspecified mpls-te-router-id=unspecified redistribute-bgp=no
redistribute-connected=as-type-1 redistribute-rip=no redistribute-static=no router-id=0.0.0.0
/routing ospf network
add area=local_area disabled=no network=10.200.2.0/24

I think that you have set incorrect networks.

According to your drawing networks should be:
On R1
10.200.1.0/24

On R2
10.200.1.0/24
10.200.2.0/24

On R3
10.200.2.0/24

Also make sure you are not blocking broadcasts between your routers. Some rules or radio links block broadcasts and that will not allow ospf to work.

Scott

How do I find out if my routers are blocking broadcasts or not???

enable ospf logs and you will see if hello messages are sent and received.
or run sniffer and look for received multicast packages.

Add a log rule before drop rule and watch logs. Or disable firewall for testing.

Stefan

Guys thanks for your help I got the OSPF up and running. My problem as you specified was that it was a missconfiguration about the networks each router is connected.

Thanks for the help.

:laughing: :laughing: :laughing: :laughing: :laughing: :laughing: :laughing:

Sotiris