Community discussions

MikroTik App
 
sjohnstone
just joined
Topic Author
Posts: 1
Joined: Tue Jul 23, 2019 5:47 pm

wds interfaces aren't being added to mesh interface

Wed Mar 24, 2021 3:22 am

I tried creating a mesh interface and using it as wds-default-gateway with wds-mode=dynamic-mesh but it runs into problems after the wds link is established.

Version number: 7.1beta5
Router model: hAP ac lite (also tried a wAP R ac and hAP ac2)
Steps:

Configure both devices with AP and mesh:
/interface/mesh/add name=mesh1
/interface/wireless/set 0 name=ap ssid=rb-mesh mode=ap-bridge wds-mode=dynamic-mesh wds-default-bridge=mesh1
/interface/mesh/port/add mesh=mesh1 interface=ap
Expected behaviour:

/interface/wireless/print shows ap and wds1
/interface/mesh/port shows ap and wds1

Actual behaviour:

/interface/wireless/print hangs for a few seconds then shows the wlan interface.
/interface/mesh/port shows the original wds interface was deleted:
[admin@rb2] > /interface/mesh/port/print
Flags: I - INACTIVE; D - DYNAMIC
Columns: INTERFACE, MESH
  #      INTE  MESH 
  0      ap    mesh1
  1  ID  *10   mesh1
  2   D  wds2  mesh1
Config export:
[admin@rb2] > /export hide-sensitive 
# mar/24/2021 00:58:49 by RouterOS 7.1beta5
# software id = CHWH-9X65
#
# model = RouterBOARD 952Ui-5ac2nD
# serial number = 665A05986ABE
/interface bridge
add name=bridge1
/interface mesh
add name=mesh1
/interface list
add name=external
add name=internal
/interface lte apn
set [ find default=yes ] ip-type=ipv4
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
add authentication-types=wpa2-psk mode=dynamic-keys name=wpa2 supplicant-identity=MikroTik
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-g/n channel-width=20/40mhz-XX country="united kingdom" \
    disabled=no distance=indoors hide-ssid=yes installation=indoor mode=ap-bridge multicast-helper=\
    full name=ap security-profile=wpa2 ssid=rb-mesh wds-default-bridge=mesh1 wds-mode=dynamic-mesh
set [ find default-name=wlan2 ] band=5ghz-a/n/ac channel-width=20/40/80mhz-XXXX country=\
    "united kingdom" disabled=no distance=indoors frequency=auto hide-ssid=yes installation=indoor \
    mode=ap-bridge name=ap-5ghz security-profile=wpa2 skip-dfs-channels=10min-cac ssid=rb-mesh
/ip pool
add name=pool0 ranges=192.168.11.128-192.168.11.254
/ip dhcp-server
add address-pool=pool0 disabled=no interface=mesh1 lease-time=1d name=dhcp1
/routing table
add fib name=""
/user group
set full policy="local,telnet,ssh,ftp,reboot,read,write,policy,test,winbox,password,web,sniff,sensitiv\
    e,api,romon,dude,tikapp"
/interface bridge port
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether4
add bridge=bridge1 interface=ether5
add bridge=bridge1 interface=ether1
/ip neighbor discovery-settings
set discover-interface-list=!dynamic
/interface list member
add interface=bridge1 list=internal
add interface=mesh1 list=internal
add list=external
/interface mesh port
add interface=ap mesh=mesh1
/ip address
add address=192.168.11.1/24 interface=mesh1 network=192.168.11.0
/ip dhcp-client
add disabled=no interface=bridge1
/ip dhcp-server network
add address=192.168.11.0/24 dns-server=192.168.11.1 gateway=192.168.11.1
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.11.1 name=rb2
/ip firewall filter
add action=accept chain=input connection-state=established,related
add action=accept chain=input in-interface-list=internal
add action=drop chain=input
add action=accept chain=forward connection-state=established,related
add action=accept chain=forward in-interface-list=internal
add action=drop chain=forward
/ip firewall mangle
add action=mark-connection chain=prerouting connection-state=new in-interface=mesh1 \
    new-connection-mark=from-mgmt
/ip firewall nat
add action=masquerade chain=srcnat out-interface-list=external
add action=masquerade chain=srcnat connection-mark=from-mgmt
/ipv6 nd
set [ find default=yes ] advertise-dns=no
/system clock
set time-zone-name=Europe/London
/system identity
set name=rb2
/system package update
set channel=development

Who is online

Users browsing this forum: No registered users and 28 guests