Community discussions

MikroTik App
 
User avatar
vittore
just joined
Topic Author
Posts: 22
Joined: Tue Jan 26, 2021 8:33 am

Simplest OSPF network not working with v7.1

Mon Dec 20, 2021 10:09 pm

I did the following simple network
ospf.png


Router R1:
/system identity set name=R1
/routing id
add disabled=no id=0.0.0.2 name=ospf select-dynamic-id=""
/routing ospf instance
add name=ospf-instance out-filter-chain=ospf_out redistribute=\
    connected,static,ospf router-id=ospf
/routing ospf area
add instance=ospf-instance name=backbone
/ipv6 settings
set disable-ipv6=yes
/ip address
add address=192.168.100.251/24 interface=ether1 network=192.168.100.0
add address=192.168.101.254/24 interface=ether2 network=192.168.101.0
/routing filter rule
add chain=ospf_out disabled=no rule=accept
/routing ospf interface-template
add area=backbone interfaces=ether1 networks=192.168.100.0/24

Router R2:
/system identity set name=R2
/routing id
add disabled=no id=0.0.0.2 name=ospf select-dynamic-id=""
/routing ospf instance
add name=ospf-instance out-filter-chain=ospf_out redistribute=\
    connected,static,ospf router-id=ospf
/routing ospf area
add instance=ospf-instance name=backbone
/ipv6 settings
set disable-ipv6=yes
/ip address
add address=192.168.100.252/24 interface=ether1 network=192.168.100.0
add address=192.168.102.254/24 interface=ether2 network=192.168.102.0
/routing filter rule
add chain=ospf_out disabled=no rule=accept
/routing ospf interface-template
add area=backbone interfaces=ether1 networks=192.168.100.0/24

Router R3:
/system identity set name=R3
/routing id
add disabled=no id=0.0.0.3 name=ospf select-dynamic-id=""
/routing ospf instance
add name=ospf-instance out-filter-chain=ospf_out redistribute=\
    connected,static,ospf router-id=ospf
/routing ospf area
add instance=ospf-instance name=backbone
/ipv6 settings
set disable-ipv6=yes
/ip address
add address=192.168.100.253/24 interface=ether1 network=192.168.100.0
add address=192.168.103.254/24 interface=ether2 network=192.168.103.0
/routing filter rule
add chain=ospf_out disabled=no rule=accept
/routing ospf interface-template
add area=backbone interfaces=ether1 networks=192.168.100.0/24

Simple. But in IP > Routes I don't find any OSPF routes. Where is my mistake?
Thanks for your support.

v.
You do not have the required permissions to view the files attached to this post.
 
User avatar
jprietove
Trainer
Trainer
Posts: 221
Joined: Fri Jun 03, 2016 3:00 pm
Location: Cádiz, Spain
Contact:

Re: Simplest OSPF network not working with v7.1

Tue Dec 21, 2021 9:52 am

You missed the networks you want to publish. In R1:
add area=backbone networks=192.168.101.0/24
And so on...
 
User avatar
vittore
just joined
Topic Author
Posts: 22
Joined: Tue Jan 26, 2021 8:33 am

Re: Simplest OSPF network not working with v7.1

Wed Dec 22, 2021 12:13 pm

You missed the networks you want to publish. In R1:
add area=backbone networks=192.168.101.0/24
And so on...

Added in R1 (and so on):
/routing ospf interface-template
add area=backbone networks=192.168.101.0/24 passive
add area=backbone networks=192.168.100.0/24
(with or without passive)

But there aren't OSPF routes.

v.
 
User avatar
vittore
just joined
Topic Author
Posts: 22
Joined: Tue Jan 26, 2021 8:33 am

Re: Simplest OSPF network not working with v7.1

Thu Dec 23, 2021 9:20 am

Upgrade to v7.2.rc1 don't resolve the problem.

v.
You do not have the required permissions to view the files attached to this post.
 
User avatar
jprietove
Trainer
Trainer
Posts: 221
Joined: Fri Jun 03, 2016 3:00 pm
Location: Cádiz, Spain
Contact:

Re: Simplest OSPF network not working with v7.1

Thu Dec 23, 2021 10:42 am

Well, it cost me a lot to see that both R1 and R2 has the same Router-ID: 0.0.0.2. And no, there is no need to publish 192.168.10x.0/24 as you have selected 'redistribute connected' in your instance
 
markom
Member Candidate
Member Candidate
Posts: 112
Joined: Thu Dec 17, 2009 10:42 pm

Re: Simplest OSPF network not working with v7.1

Thu Dec 23, 2021 11:17 am

Why mikrotik change OSPF configuration syntax in so radical way?
I have no intention do upgrade core routers to 7.x even if I wish to do so.
Now routing filters working something as scripting and that decision is awful.

Thanks, but no thanks. I will use existing 6.49 or secondhand (refurbished) cisco routers.
This, what mikrotik done is absolutely not allowed in 21. century.
 
User avatar
vittore
just joined
Topic Author
Posts: 22
Joined: Tue Jan 26, 2021 8:33 am

Re: Simplest OSPF network not working with v7.1

Thu Dec 23, 2021 11:28 am

I sent this case to Mikrotik support.
Screenshot at Dec 23 10-27-41.png
v.
You do not have the required permissions to view the files attached to this post.
 
User avatar
jprietove
Trainer
Trainer
Posts: 221
Joined: Fri Jun 03, 2016 3:00 pm
Location: Cádiz, Spain
Contact:

Re: Simplest OSPF network not working with v7.1

Thu Dec 23, 2021 11:49 am

Why mikrotik change OSPF configuration syntax in so radical way?
Thanks, but no thanks. I will use existing 6.49 or secondhand (refurbished) cisco routers.
Not related with topic. Please, don't disturb
 
User avatar
jprietove
Trainer
Trainer
Posts: 221
Joined: Fri Jun 03, 2016 3:00 pm
Location: Cádiz, Spain
Contact:

Re: Simplest OSPF network not working with v7.1

Thu Dec 23, 2021 12:02 pm

I sent this case to Mikrotik support.
Well, it works with v.7.1.1
Selección_860.png
You do not have the required permissions to view the files attached to this post.
 
User avatar
vittore
just joined
Topic Author
Posts: 22
Joined: Tue Jan 26, 2021 8:33 am

Re: Simplest OSPF network not working with v7.1

Thu Dec 23, 2021 4:25 pm

Yes, I confirm that. It's a GNS3 problem: the switch (nor the links?) cut-off DD frame.
The same configuration in a real environment it's working fine. The same problem occurs using ZTE-ONU to connect Mikrotik RouterOS.
Thanks a lot for you tests.

Besta regards.
VZ
 
User avatar
jprietove
Trainer
Trainer
Posts: 221
Joined: Fri Jun 03, 2016 3:00 pm
Location: Cádiz, Spain
Contact:

Re: Simplest OSPF network not working with v7.1

Thu Dec 23, 2021 4:49 pm

Well, I use gns3 also, latest version in Ubuntu 20.04LTS
Works good, switch also
 
User avatar
vittore
just joined
Topic Author
Posts: 22
Joined: Tue Jan 26, 2021 8:33 am

Re: Simplest OSPF network not working with v7.1

Thu Dec 23, 2021 4:54 pm

Well, I use gns3 also, latest version in Ubuntu 20.04LTS
Works good, switch also
Screenshot at Dec 23 15-53-40.png
You do not have the required permissions to view the files attached to this post.
 
User avatar
vittore
just joined
Topic Author
Posts: 22
Joined: Tue Jan 26, 2021 8:33 am

Re: Simplest OSPF network not working with v7.1

Mon Dec 27, 2021 8:21 am

Well, I use gns3 also, latest version in Ubuntu 20.04LTS
Works good, switch also
Can I contact in PM for this? I just want to ask what kind of network card is set in the mikrotik configuration in gns3.

V.
 
User avatar
jprietove
Trainer
Trainer
Posts: 221
Joined: Fri Jun 03, 2016 3:00 pm
Location: Cádiz, Spain
Contact:

Re: Simplest OSPF network not working with v7.1

Mon Dec 27, 2021 11:17 am

I use X86 architecture with e1000 network card. This way I can test performance, queues... Also I use CHR with virtio when I don't mind about 1Mbps limit

I use gns3 gui and server locally installed on my laptop: i don't use Gns3 VM

You can get to me using my username at Gmail or DM with Tweeter

Who is online

Users browsing this forum: No registered users and 9 guests