MikroTik RouterOS v2.9 Reference Manual page 133

Reference manual
Table of Contents

Advertisement

We should change cost value in both routers: OSPF_peer_1 and OSPF_peer_2 to 50. To do this,
we need to add a following interface:
[admin@OSPF_peer_1] routing ospf interface> add interface=backup cost=50
[admin@OSPF_peer_1] routing ospf interface> print
0 interface=backup cost=50 priority=1 authentication-key=""
retransmit-interval=5s transmit-delay=1s hello-interval=10s
dead-interval=40s
[admin@OSPF_peer_2] routing ospf interface> add interface=to_peer_1 cost=50
[admin@OSPF_peer_2] routing ospf interface> print
0 interface=to_peer_1 cost=50 priority=1 authentication-key=""
retransmit-interval=5s transmit-delay=1s hello-interval=10s
dead-interval=40s
After changing the cost settings, we have only one equal cost multipath route left - to the network
10.3.0.0/24 from OSPF_MAIN router.
Routes on OSPF_MAIN router:
[admin@OSPF_MAIN] ip route> print
Flags: X - disabled, I - invalid, D - dynamic, J - rejected,
C - connect, S - static, r - rip, o - ospf, b - bgp
#
DST-ADDRESS
0 Io 192.168.0.0/24
1 DC 192.168.0.0/24
2 Do 10.3.0.0/24
3 Io 10.2.0.0/24
4 DC 10.2.0.0/24
5 Io 10.1.0.0/24
6 DC 10.1.0.0/24
On OSPF_peer_1:
[admin@OSPF_peer_1] > ip route pr
Flags: X - disabled, I - invalid, D - dynamic, J - rejected,
Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.
Other trademarks and registred trademarks mentioned herein are properties of their respective owners.
G GATEWAY
r 0.0.0.0
r 10.2.0.1
r 10.1.0.1
r 0.0.0.0
r 0.0.0.0
DISTANCE INTERFACE
110
0
main_gw
110
to_peer_2
to_peer_1
110
0
to_peer_2
110
0
to_peer_1
Page 119 of 695

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RouterOS v2.9 and is the answer not in the manual?

Table of Contents

Save PDF