Community discussions

MikroTik App
 
mafiosa
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 64
Joined: Fri Dec 09, 2016 8:10 pm

OSPF routes marked invalid

Fri Jul 03, 2020 8:30 pm

I have established ospf neighborship with other mikrotik routers yet the ospf routes learnt are marked as invalid on the router running rosv7 beta 8
You do not have the required permissions to view the files attached to this post.
 
oreggin
Member Candidate
Member Candidate
Posts: 110
Joined: Fri Oct 16, 2009 9:21 pm

Re: OSPF routes marked invalid

Wed Jul 22, 2020 1:30 pm

Hi!
I have a ROS v7.1ß1 test setup with CHR on qemus and I have the same issue with OSPFv2. All of my ipv4 ospf routes duplicated and inactive:
[admin@rtr1.CPE] > routing/ospf/interface-state/print 
Flags: D - dynamic; V - virtual-interface 
 0 D  address=fe80::d012:2bff:fe83:2e99%Loopback0 area=backbone6 instance-id=0 state="DR" dr=10.0.10.11 bdr=0.0.0.0 

 1 D  address=10.0.10.11%Loopback0 area=backbone4 instance-id=0 state="DR" dr=10.0.10.11 bdr=0.0.0.0 

 2 D  address=fe80::a00:27ff:fe00:5102%ether2 area=backbone6 instance-id=0 state="Point-to-Point" 

 3 D  address=10.0.1.2%ether2 area=backbone4 instance-id=0 state="Point-to-Point" 
[admin@rtr1.CPE] > routing/ospf/neighbor-state/print  
Flags: X - disabled, I - inactive, D - dynamic 
 0 D address=fe80::a00:27ff:fe00:4101%ether2 router-id=10.0.10.1 state="Full" 

 1 D address=10.0.1.1 router-id=10.0.10.1 state="Full" 
[admin@rtr1.CPE] > ip route/print detail where ospf     
Flags: D - dynamic; X - disabled, I - inactive, A - active; C - connect, S - static, r - rip, b - bgp, o - ospf, d - dhcp, v - vpn, m - modem; + - ecmp 
   DIo  dst-address=10.0.0.0/30 routing-table=main gateway=ether2 type=unicast distance=110 scope=20 target-scope=10 

   DIo  dst-address=10.0.0.0/30 routing-table=main gateway="" type=unicast distance=110 scope=20 target-scope=10 

   DIo  dst-address=10.0.0.4/30 routing-table=main gateway=ether2 type=unicast distance=110 scope=20 target-scope=10 

   DIo  dst-address=10.0.0.4/30 routing-table=main gateway="" type=unicast distance=110 scope=20 target-scope=10 

   DIo  dst-address=10.0.0.8/30 routing-table=main gateway=ether2 type=unicast distance=110 scope=20 target-scope=10 

   DIo  dst-address=10.0.0.8/30 routing-table=main gateway="" type=unicast distance=110 scope=20 target-scope=10 

   DIo  dst-address=10.0.0.12/30 routing-table=main gateway=ether2 type=unicast distance=110 scope=20 target-scope=10 

   DIo  dst-address=10.0.0.12/30 routing-table=main gateway="" type=unicast distance=110 scope=20 target-scope=10 

etc...
Intersting is OSPFv3 works fine:
[admin@rtr1.CPE] > ipv6/route/print detail where ospf
Flags: D - dynamic; X - disabled, I - inactive, A - active; C - connect, S - static, r - rip, b - bgp, o - ospf, d - dhcp, v - vpn, m - modem; + - ecmp 
   DAo  dst-address=b00b::10:0:10:1 routing-table=main gateway=fe80::a00:27ff:fe00:4101%ether2 immediate-gw=fe80::a00:27ff:fe00:4101%ether2 type=unicast distance=110 scope=20 
        target-scope=10 

   DAo  dst-address=b00b::10:0:10:2 routing-table=main gateway=fe80::a00:27ff:fe00:4101%ether2 immediate-gw=fe80::a00:27ff:fe00:4101%ether2 type=unicast distance=110 scope=20 
        target-scope=10 

   DAo  dst-address=b00b::10:0:10:3 routing-table=main gateway=fe80::a00:27ff:fe00:4101%ether2 immediate-gw=fe80::a00:27ff:fe00:4101%ether2 type=unicast distance=110 scope=20 
        target-scope=10 

   DAo  dst-address=b00b::10:0:10:4 routing-table=main gateway=fe80::a00:27ff:fe00:4101%ether2 immediate-gw=fe80::a00:27ff:fe00:4101%ether2 type=unicast distance=110 scope=20 
        target-scope=10 

   DAo  dst-address=b00b::10:0:10:5 routing-table=main gateway=fe80::a00:27ff:fe00:4101%ether2 immediate-gw=fe80::a00:27ff:fe00:4101%ether2 type=unicast distance=110 scope=20 
        target-scope=10 

   DAo  dst-address=b00b::10:0:10:6 routing-table=main gateway=fe80::a00:27ff:fe00:4101%ether2 immediate-gw=fe80::a00:27ff:fe00:4101%ether2 type=unicast distance=110 scope=20 
        target-scope=10 

   DIo  dst-address=b00b::10:0:10:11 routing-table=main gateway=Loopback0 type=unicast distance=110 scope=20 target-scope=10 

   DAo  dst-address=b00b::10:0:10:12 routing-table=main gateway=fe80::a00:27ff:fe00:4101%ether2 immediate-gw=fe80::a00:27ff:fe00:4101%ether2 type=unicast distance=110 scope=20 
        target-scope=10 

   DAo  dst-address=b00b::10:0:10:13 routing-table=main gateway=fe80::a00:27ff:fe00:4101%ether2 immediate-gw=fe80::a00:27ff:fe00:4101%ether2 type=unicast distance=110 scope=20 
        target-scope=10 

   DAo  dst-address=b00b::10:0:10:14 routing-table=main gateway=fe80::a00:27ff:fe00:4101%ether2 immediate-gw=fe80::a00:27ff:fe00:4101%ether2 type=unicast distance=110 scope=20 
        target-scope=10 

   DAo  dst-address=b00b::10:0:10:15 routing-table=main gateway=fe80::a00:27ff:fe00:4101%ether2 immediate-gw=fe80::a00:27ff:fe00:4101%ether2 type=unicast distance=110 scope=20 
        target-scope=10 

   DAo  dst-address=b00b::10:0:10:16 routing-table=main gateway=fe80::a00:27ff:fe00:4101%ether2 immediate-gw=fe80::a00:27ff:fe00:4101%ether2 type=unicast distance=110 scope=20 
        target-scope=10 
[admin@rtr1.CPE] >
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 6080
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: OSPF routes marked invalid

Wed Jul 22, 2020 3:00 pm

Does it start to work if you change interface type from point-to-point to broadcast?
 
mafiosa
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 64
Joined: Fri Dec 09, 2016 8:10 pm

Re: OSPF routes marked invalid

Thu Jul 23, 2020 12:05 am

Does it start to work if you change interface type from point-to-point to broadcast?
No same issue even with point to point and broadcast!
Also for bgp nexthop is getting changed to :: which is invalid as a result all routes become invalid.
 
mducharme
Trainer
Trainer
Posts: 998
Joined: Tue Jul 19, 2016 6:45 pm

Re: OSPF routes marked invalid

Thu Jul 23, 2020 11:03 am

I am having this issue with only some of my OSPFv2 routes.

I have OSPFv2 routes across an L2TP tunnel to a RouterOS 6 device - these all show as invalid. I also have OSPFv2 routes to a RouterOS 6 device across an EoIP tunnel - these seem to work.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 6080
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: OSPF routes marked invalid

Thu Jul 23, 2020 5:15 pm

FYI problem is only on P2P interfaces (not ospf interface type but actual P2P interfaces like l2tp etc. )
We will fix the problem as soon as possible.
 
oreggin
Member Candidate
Member Candidate
Posts: 110
Joined: Fri Oct 16, 2009 9:21 pm

Re: OSPF routes marked invalid

Fri Jul 24, 2020 11:39 am

Does it start to work if you change interface type from point-to-point to broadcast?
Yes, thanks mrz for workaround.
 
mafiosa
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 64
Joined: Fri Dec 09, 2016 8:10 pm

Re: OSPF routes marked invalid

Sat Jul 25, 2020 3:20 pm

FYI problem is only on P2P interfaces (not ospf interface type but actual P2P interfaces like l2tp etc. )
We will fix the problem as soon as possible.
Yes problem is with p2p as interface types and p2p tunnel interfaces
 
mafiosa
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 64
Joined: Fri Dec 09, 2016 8:10 pm

Re: OSPF routes marked invalid

Sat Aug 01, 2020 3:00 pm

FYI problem is only on P2P interfaces (not ospf interface type but actual P2P interfaces like l2tp etc. )
We will fix the problem as soon as possible.
Hello I can confirm that with gre tunnel interface if I set network type to broadcast then the ospf routes work. However on enabling ospfv3 the cou usage increates to 50-70% and sometimes lan interfaces stop processing traffic (ipv4)

Who is online

Users browsing this forum: No registered users and 16 guests