AT-WR4500 Series - IEEE 802.11abgh Outdoor Wireless Routers

 

105

 

RouterOS v3 Configuration and User Guide

 

 

 

 

 

 

 

 

 

 

 

Now let's setup the OSPF_MAIN router.

 

 

 

 

 

The router should have 3 NICs:

 

 

 

 

 

 

[admin@OSPF_MAIN] interface> print

 

 

 

 

 

Flags: X - disabled, D - dynamic, R - running

 

 

 

 

 

#

NAME

 

TYPE

RX-RATE

TX-

 

 

RATE

MTU

 

 

 

 

 

 

0

R main_gw

 

ether

0

0

 

 

1500

 

 

 

 

 

 

 

1

R to_peer_1

 

ether

0

0

 

 

1500

 

 

 

 

 

 

 

2

R to_peer_2

 

ether

0

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

NETWORK

BROADCAST

INTERFACE

 

 

 

0

192.168.0.11/24

192.168.0.0

192.168.0.255

main_gw

 

 

 

1

10.1.0.2/24

10.1.0.0

10.1.0.255

to_peer_1

 

 

 

2

10.2.0.2/24

10.2.0.0

10.2.0.255

to_peer_2

 

 

 

 

 

 

 

 

 

 

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 router-id: 0.0.0.0

distribute-default: if-installed-as-type-2 redistribute-connected: as-type-1

redistribute-static: as-type-2 redistribute-rip: no redistribute-bgp: no

metric-default: 1 metric-connected: 0 metric-static: 0 metric-rip: 0 metric-bgp: 0

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

AREA-ID

STUB

DEFAULT-COST

AUTHENTICATION

 

 

 

0

backbone

 

 

0.0.0.0

none

 

 

 

 

1

local_10

0.0.0.1

no

1

none

 

 

 

 

 

 

 

 

 

Add connected networks with area local_10 in ospf network:

[admin@OSPF_MAIN] routing ospf network> print Flags: X - disabled, I - invalid

#

NETWORK

AREA

0

10.1.0.0/24

local_10

1

10.2.0.0/24

local_10

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

TYPE

RX-RATE

TX-RATE

MTU

0

R

backup

ether

0

0

1500

1

R

to_main

ether

0

0

1500

 

 

 

 

 

 

 

Page 105
Image 105
Allied Telesis AT-WR4500 Define new Ospf area named local10 with area-id, Name Type RX-RATE Rate MTU, Name AREA-ID Stub