Community discussions

MikroTik App
 
aneroid
just joined
Topic Author
Posts: 9
Joined: Fri Dec 30, 2016 1:07 pm

ROS7: OSPF dropping all routes

Sun Aug 06, 2023 1:01 pm

Hi guys,

i went through other topics, but not found any idea how to solve my issue :)

Till now, i was using OSPF on ROS6.x for couple years now, and it works like a charm.
Recently i upgraded to ROS7 and "things" started, but it looks like a config issue for me. I did inplace upgrade, so everything(config) should stays the same, but in ROS7 there are slightly different UI / CLI for OSPF than it was in ROS6.

So, my situation: From NW perspective, i have one central router with static IP and several remote routers in different locations (always 1 rb in 1 location) with dynamic IP. I am using SSTP to connect all those remotes to central.

Running version of all RBs is 7.10.2 - different platforms tested - chr, arm, mmips, mipsbe

Central config:
/ppp/profile/print  
 1   name="vpn_ring" bridge=br_vpn bridge-learning=default use-ipv6=no 
     use-mpls=default use-compression=default use-encryption=required 
     only-one=default change-tcp-mss=default use-upnp=default address-list="" 
     on-up="" on-down="" 

/interface/bridge/print 
Flags: X - disabled, R - running 
 0 R name="br_vpn" mtu=auto actual-mtu=1500 l2mtu=65535 arp=enabled 
     arp-timeout=auto mac-address=FA:64:9F:3A:A7:B0 protocol-mode=rstp 
     fast-forward=yes igmp-snooping=no auto-mac=yes ageing-time=5m 
     priority=0x8000 max-message-age=20s forward-delay=15s 
     transmit-hold-count=6 vlan-filtering=no dhcp-snooping=no 

And bridge have static IP assigned (172.20.1.1/28)
So anytime sstp is established, it is automatically assigned to this bridge as slave. Client remotes have different accounts, so different sstp tunnels are established and all of them are in this bridge.
Clients have same bridge with static adresses from 172.20.1.0/28 range.

As all the sites have several subnets (no overlaping), i decided to run ospf several years ago. But what started to happen after upgrade to ROS7 is, that anytime there is a change state on any tunnel (down/up ... disconnect, connect), all the ospf routes are dropped from all tables, i mean, also those which are not relevant/affected by the tunnel which is changing state.

OSPF config after upgrade:
area/print 
Flags: X - disabled, I - inactive, D - dynamic; T - transit-capable 
 0    name="backbone-v2" instance=default-v2 area-id=0.0.0.0 type=default 
 
instance/print 
Flags: X - disabled, I - inactive 
 0   name="default-v2" version=2 vrf=main router-id=172.20.1.1 redistribute=connected
 
interface-template/print 
Flags: X - disabled, I - inactive 
 0   area=backbone-v2 interfaces=br_vpn instance-id=0 networks=172.20.1.0/28 type=broadcast 
     retransmit-interval=5s transmit-delay=1s hello-interval=10s dead-interval=40s priority=1 cost=10 auth=md5 
     auth-key="*********" auth-id=3  
I've tried also different types in interface-template, ptmp, etc. But no differences in behaviour.

When everything is stable, it is working. Anytime there is state change on interface, everything is dropped and recalculated - so it tooks several seconds without any routes.

Any ideas?
Thank you
 
aneroid
just joined
Topic Author
Posts: 9
Joined: Fri Dec 30, 2016 1:07 pm

Re: ROS7: OSPF dropping all routes

Wed Aug 09, 2023 12:35 pm

any idea, please?
let me know, if you need more information, please.

Thank you
 
snehasharma
just joined
Posts: 4
Joined: Sat Jul 01, 2023 4:52 pm
Location: india
Contact:

Re: ROS7: OSPF dropping all routes

Mon Aug 14, 2023 1:06 am

The redistribute=connected setting in your OSPF instance configuration might be causing OSPF route recalculations whenever there is a change in connected interfaces.
Consider adjusting this setting based on your network's requirements.
For exam:you can redistribute only specific interfaces or networks if necessary.

Who is online

Users browsing this forum: No registered users and 0 guests