Wireless mesh Network

Hi all,

i try to make a mesh network configuring 4 nodes. Here is my configuartion:

Setup mesh interface

Mesh1 / Mesh2 / Mesh3 / Mesh4 /…

add mesh interface

/interface mesh
add name="Mesh-interface"

assign ports to the mesh interface

/interface mesh port
add interface=wlan1 mesh="Mesh-interface"
/interface mesh port
add interface=ether1 mesh="Mesh-interface"

Setup IP on the Mesh-Nodes

Mesh1

add ip to the mesh interface

/ip address
add address=192.168.0.1/24 interface="Mesh-interface" comment=”Mesh addresses”

Mesh2

add ip to the mesh interface

/ip address
add address=192.168.0.2/24 interface="Mesh-interface" comment=”Mesh addresses”

Mesh3

add ip to the mesh interface

/ip address
add address=192.168.0.3/24 interface="Mesh-interface" comment=”Mesh addresses”

Mesh4

add ip to the mesh interface

/ip address
add address=192.168.0.4/24 interface="Mesh-interface" comment=”Mesh addresses”
#...

Setup wireless interface

Mesh1 / Mesh2 / Mesh3 / Mesh4 /…

dynamic-mesh creates WDS entries for you

/interface wireless security-profiles
add authentication-types=wpa-psk,wpa2-psk eap-methods="" management-protection=allowed mode=dynamic-keys name=profile1 supplicant-identity="" wpa-pre-shared-key=mykey wpa2-pre-shared-key=mykey

/interface wireless
set [ find default-name=wlan1 ] disabled=no l2mtu=2290 mode=ap-bridge security-profile=profile1 ssid=Mesh-Network tx-power=3 tx-power-mode=all-rates-fixed wds-default-bridge=Mesh-interface wds-mode=dynamic-mesh

Tuning wireless settings

Mesh1 / Mesh2 / Mesh3 / Mesh4 /…

ban equipment with low signal strength (<-100)

/interface wireless access-list
add signal-range=-100..120

Setup default route

Mesh1 / Mesh2 / Mesh3 / Mesh4 /…

/
/ip route
add distance=1 gateway=192.168.0.254

\

Setup time synchronization

Mesh1 / Mesh2 / Mesh3 / Mesh4 /…

/system clock
set time-zone-autodetect=no time-zone-name=Australia/Hobart

Setup NTP Client

Mesh1 is getting ntp time from specific equipment

/system ntp client
set enabled=yes primary-ntp=192.168.0.10

Setup NTP Server

/system ntp server
set broadcast=yes broadcast-addresses=192.168.0.19 enabled=yes manycast=no

Mesh2 / Mesh3 / Mesh4 /…is getting ntp time from Mesh 1

/system ntp client
set enabled=yes primary-ntp=192.168.0.19

Create user for monitoring purpose

Mesh1 / Mesh2 / Mesh3 / Mesh4 /…

/user group
add name=monitoring policy=winbox,read comment="Group for monitoring purpose"
/user
add comment="system default user" group=full name=admin
/user
add name=dude password="dude" group=monitoring address=192.168.0.1/32 comment="User for Dude monitoring"

Make Leds as

Mesh1 / Mesh2 / Mesh3 / Mesh4 /…

/system leds
add interface=wlan1 leds=led1,led2,led3,led4,led5 type=wireless-status
add interface=ether1 leds=user-led type=interface-activity

Setup DHCP server

Mesh1

#addresses for equipment 192.168.0.20-192.168.0.250;
/ip pool
add name=dhcp-ip-pool ranges=192.168.0.20-192.168.0.250
/ip dhcp-server
add address-pool= dhcp-ip-pool always-broadcast=yes disabled=no interface=
"Mesh-interface" name= dhcp-server
/ip dhcp-server network
add address=192.168.0.0/24 dns-server=192.168.0.253 gateway=192.168.0.254

Setup DHCP Client

Mesh1 / Mesh2 / Mesh3 / Mesh4 /…

/ip dhcp-client
add default-route-distance=0 dhcp-options=hostname,clientid disabled=no interface=ether1

Setup address list on firewall

/ip firewall address-list
add address=192.168.0.1 comment=Mesh1 disabled=no list= Mesh-Nodes
/ip firewall address-list
add address=192.168.0.2 comment=Mesh2 disabled=no list= Mesh-Nodes
/ip firewall address-list
add address=192.168.0.3 comment=Mesh3 disabled=no list= Mesh-Nodes
/ip firewall address-list
add address=192.168.0.4 comment=Mesh4 disabled=no list= Mesh-Nodes

Other Equipment - dynamic via DHCP

/ip dns
set allow-remote-requests=yes servers=192.168.0.253
/ip dns static
add address=192.168.0.253 name="DNS Mesh Network"

Thank you!