Tue Mar 08, 2011 1:57 pm
How? Can you give an example?
Every OSPF route that Mikrotik advertises is seen by every other OSPF-speaking router on my network as distance 110, metric 20. Like this:
rtr-1.mntwwi-1.mercury.net#show ip route 172.16.0.2
Routing entry for 172.16.0.0/18
Known via "ospf 1", distance 110, metric 20, type extern 2, forward metric 1
Last update from 74.203.172.4 on Port-channel1.3, 00:24:28 ago
Routing Descriptor Blocks:
* 74.203.172.4, from 74.203.172.4, 00:24:28 ago, via Port-channel1.3
Route metric is 20, traffic share count is 1
rtr-1.mntwwi-1.mercury.net#show ip route 172.16.64.2
Routing entry for 172.16.64.0/18
Known via "ospf 1", distance 110, metric 20, type extern 2, forward metric 1
Last update from 74.203.172.11 on Port-channel1.3, 00:24:34 ago
Routing Descriptor Blocks:
* 74.203.172.11, from 74.203.172.11, 00:24:34 ago, via Port-channel1.3
Route metric is 20, traffic share count is 1
I have used the /routing filter to try and change these values and nothing I do seems to work. I can filter the route, so I know my matching settings are working, but I cannot change the distance or metric of particular routes that get announced via OSPF. Here's my discard filter on one of the routers:
/routing filter
add action=discard chain=ospf-out disabled=no invert-match=no prefix=172.16.0.0/18 prefix-length=0-128
The two netblocks above, 172.16.0.0/18 and 172.16.64.0/18 are both available through the two Mikrotik routers above, 74.203.172.4 and 74.203.172.11. I have /routing filters configured to filter the announcement of one netblock on each router, but to fail over, I must remove that filter. What I want is for both netblocks to be announced from both routers at all times and but one from each router with a higher distance or metric.
We are running ROS 5.0rc11.
Thank you in advance for your configuration assistance.
Dave