MikroTik RouterOS v2.9 Reference Manual page 130

Reference manual
Table of Contents

Advertisement

2
R to_peer_2
0
1500
Add all needed ip addresses to interfaces as it is shown here:
[admin@OSPF_MAIN] ip address> print
Flags: X - disabled, I - invalid, D - dynamic
#
ADDRESS
0
192.168.0.11/24
1
10.1.0.2/24
2
10.2.0.2/24
You should set distribute-default as if-installed-as-type-2, redistribute-connected as as-type-1 and
redistribute-static as as-type-2. Metric-connected, metric-static, metric-rip, metric-bgp should be
zero
[admin@OSPF_MAIN] routing ospf> print
redistribute-connected: as-type-1
redistribute-static: as-type-2
Define new OSPF area named local_10 with area-id 0.0.0.1:
[admin@OSPF_MAIN] routing ospf area> print
Flags: X - disabled, I - invalid
#
NAME
AUTHENTICATION
0
backbone
none
1
local_10
none
Add connected networks with area local_10 in ospf network:
[admin@OSPF_MAIN] routing ospf network> print
Flags: X - disabled, I - invalid
#
NETWORK
0
10.1.0.0/24
1
10.2.0.0/24
For main router the configuration is done. Next, you should configure OSPF_peer_1 router
Enable followong interfaces on OSPF_peer_1:
[admin@OSPF_peer_1] interface> print
Flags: X - disabled, D - dynamic, R - running
#
NAME
TX-RATE
MTU
0
R backup
0
1500
1
R to_main
0
1500
Assign IP addresses to these interfaces:
[admin@OSPF_peer_1] ip address> print
Flags: X - disabled, I - invalid, D - dynamic
#
ADDRESS
0
10.1.0.1/24
1
10.3.0.1/24
Page 116 of 695
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.
NETWORK
192.168.0.0
10.1.0.0
10.2.0.0
router-id: 0.0.0.0
distribute-default: if-installed-as-type-2
redistribute-rip: no
redistribute-bgp: no
metric-default: 1
metric-connected: 0
metric-static: 0
metric-rip: 0
metric-bgp: 0
AREA
local_10
local_10
NETWORK
10.1.0.0
10.3.0.0
ether
BROADCAST
192.168.0.255
10.1.0.255
10.2.0.255
AREA-ID
0.0.0.0
0.0.0.1
TYPE
ether
ether
BROADCAST
10.1.0.255
10.3.0.255
0
INTERFACE
main_gw
to_peer_1
to_peer_2
STUB DEFAULT-COST
no
1
RX-RATE
0
0
INTERFACE
to_main
backup

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?

Questions and answers

Table of Contents

Save PDF