Route/Ospf Metric/Distance

Hi,

I’m about to do a cleanup of my network and have a look into ospf
and route selection process in my network.

What I am missing is some information in ROS what metrices
my routes actually have.

I see distance, scope and target scope as route attributes.

Distance seems to be the same as on cisco: A parameter
to priorize Routingprotocols. So all ospf learned routes have
the same distance. But where is the actual distance/metrik to
my target ip.

What are these scopes?

Using routing-test on 2.9.42.

Stefan

MikroTik RouterOS default distances are the following,
protocol default distance

connected 0
static 1
BGP (external) 20
OSPF 110
RIP 120
BGP (iBGP) 200
It is possible to change distance by using ‘routing filter’ feature.

i’d guess one will see different distances only, when exporting routes from one routing protocol into another.

Thanks. But what I’m missing is:

---------------------->8---------------------
gw2>sh ip route 1.1.1.1
Routing entry for 1.1.1.1/32
Known via “ospf 1”, distance 110, metric 11, type intra area
Last update from 213.185.129.196 on FastEthernet0/0, 00:01:22 ago
Routing Descriptor Blocks:

  • 213.185.129.196, from 213.185.129.196, 00:01:22 ago, via FastEthernet0/0
    Route metric is 11, traffic share count is 1
    ----------------------8<----------------------

the metric field of the route.

My problem is to see why some routes with same distance
are installed via one router and not the other.

I’ve a complex installation with circles and want to
know exactly what will happen to my network when
one line goes down.

Stefan