The minimum configuration required for the RadioLAN interfaces of both routers is:
1.
Setting the Service Set Identifier (up to alphanumeric characters). In our case we use SSID
"ba72"
2.
Setting the distance parameter, in our case we have 6km link.
The IP addresses assigned to the wireless interface of Router#1 should be from the network
10.1.0.0/30, e.g.:
[admin@MikroTik] ip address> add address=10.1.0.1/30 interface=radiolan1
[admin@MikroTik] ip address> print
Flags: X - disabled, I - invalid, D - dynamic
#
ADDRESS
0
10.1.1.12/24
1
10.1.0.1/30
[admin@MikroTik] ip address>
The default route should be set to the gateway router 10.1.1.254. A static route should be added for
the network 192.168.0.0/24:
[admin@MikroTik] ip route> add gateway=10.1.1.254
comment
copy-from
[admin@MikroTik] ip route> add gateway=10.1.1.254 preferred-source=10.1.0.1
[admin@MikroTik] ip route> add dst-address=192.168.0.0/24 gateway=10.1.0.2 \
\... preferred-source=10.1.0.1
[admin@MikroTik] 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
S 0.0.0.0/0
1
S 192.168.0.0/24
2 DC 10.1.0.0/30
3 DC 10.1.1.0/24
[admin@MikroTik] ip route>
The Router#2 should have addresses 10.1.0.2/30 and 192.168.0.254/24 assigned to the radiolan and
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
10.1.1.0
10.1.0.0
disabled
distance
G GATEWAY
u 10.1.1.254
r 10.1.0.2
r 0.0.0.0
r 0.0.0.0
BROADCAST
INTERFACE
10.1.1.255
ether1
10.1.0.3
radiolan1
dst-address
netmask
DISTANCE INTERFACE
1
radiolan1
1
radiolan1
0
radiolan1
0
ether1
preferred-source
Page 237 of 695
Need help?
Do you have a question about the RouterOS v2.9 and is the answer not in the manual?
Questions and answers