Community discussions

MikroTik App
 
anuser
Long time Member
Long time Member
Topic Author
Posts: 601
Joined: Sat Nov 29, 2014 7:27 pm

OSPF: no routes get inserted

Fri Jan 12, 2018 11:52 am

Hello,

I´m running OSPF with 6.41 on a 1100 router. I don´t not why but with this version it doesn´t work
ospf has full state but the routes don´t get it into the link state database

On the router

/routing ospf instance
set [ find default=yes ] router-id=10.11.5.19
/routing ospf interface
add interface=vlan81 network-type=broadcast
add interface=vlan82 network-type=broadcast
add interface=vlan83 network-type=broadcast
add interface=vlan84 network-type=broadcast
/routing ospf network
add area=backbone network=10.11.208.0/30
add area=backbone network=10.11.208.4/30
add area=backbone network=10.11.208.8/30
add area=backbone network=10.11.208.12/30
add area=backbone network=10.11.5.19/32

[admin@MikroTik] /interface bridge> print brief
Flags: X - disabled, R - running
# NAME MTU ACTUAL-MTU L2MTU
0 R loopback-main-vrf auto 1500 65535

[admin@MikroTik] /ip route> print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 ADC 10.11.208.0/30 10.11.208.2 vlan81 0
1 ADC 10.11.208.4/30 10.11.208.6 vlan82 0
2 ADC 10.11.208.8/30 10.11.208.10 vlan83 0
3 ADC 10.11.208.12/30 10.11.208.14 vlan84 0
4 ADC 10.11..5.19/32 10.11.5.19 loopback-main-vrf 0

Within ospr instance, there´s no difference setting redistribute connected to anything, i.e.:
[admin@MikroTik] /routing ospf instance> print
Flags: X - disabled, * - default
Flags: X - disabled, * - default
0 * name="default" router-id=10.11.5.19 distribute-default=never redistribute-connected=no/as-type-1/as-type-2 redistribute-static=no redistribute-rip=no
redistribute-bgp=no redistribute-other-ospf=no metric-default=1 metric-connected=20 metric-static=20 metric-rip=20 metric-bgp=auto
metric-other-ospf=auto in-filter=ospf-in out-filter=ospf-out

ospf state is full:
0 instance=default router-id=10.11.253.21 address=10.11.208.13 interface=vlan84 priority=1 dr-address=0.0.0.0 backup-dr-address=0.0.0.0 state="Full"
state-changes=8 ls-retransmits=0 ls-requests=0 db-summaries=0 adjacency=1h41m54s

1 instance=default router-id=10.11.253.21 address=10.11.208.9 interface=vlan83 priority=1 dr-address=0.0.0.0 backup-dr-address=0.0.0.0 state="Full"
state-changes=7 ls-retransmits=0 ls-requests=0 db-summaries=0 adjacency=1h44m5s

2 instance=default router-id=10.11.253.21 address=10.11.208.5 interface=vlan82 priority=1 dr-address=0.0.0.0 backup-dr-address=0.0.0.0 state="Full"
state-changes=7 ls-retransmits=0 ls-requests=0 db-summaries=0 adjacency=1h47m6s

3 instance=default router-id=10.11.253.21 address=10.11.208.1 interface=vlan81 priority=1 dr-address=0.0.0.0 backup-dr-address=0.0.0.0 state="Full"
state-changes=8 ls-retransmits=0 ls-requests=0 db-summaries=0 adjacency=1h47m35s

What am I missing?
 
airbanduk
newbie
Posts: 45
Joined: Mon Jun 12, 2017 2:30 pm

Re: OSPF: no routes get inserted  [SOLVED]

Fri Jan 12, 2018 1:25 pm

You seem to have the same router-id on all neighbours, is this router connected to only one other by four interfaces? You also have a network type of broadcast, yet there have been no DR/BDR elections.

Check the config on the neighbour router - is it even set to send non-mutually connected prefixes (i.e loopback or other ospf-enabled router)?

Who is online

Users browsing this forum: anav and 48 guests