I just spent 3 hours trying to find out why wireless wds mesh behaves strange and does not work for some hosts. If someone can give me an explanation and show errors in configuration, I will be really greatful.
The setup is quite simple (ROS 5.14 everywhere on MTs):
[laptop-10.20.40.101/24] -- ethernet -- [mt 411U as Wds slave] -- wireless mesh -- [mt 433 uah-10.20.40.5/24]
MT411 is called "B" and MT433 "M"
When I try to ping M on 10.20.40.5 from laptop, ARP does not receive ARP response. I see ARP response leaving M, but it never reaches Laptop. My configuration is as below, I also include some logs from the sniffer:
Sniffer on B
Code: Select all
[admin@B] > /tool sniffer quick mac-protocol=arp interface=mlabs_bbone_mesh
INTERFACE TIME NUM DI SRC-MAC DST-MAC VLAN SRC-ADDRESS
mlabs_... 6.165 1 <- 00:16:D3:B1:ED:94 FF:FF:FF:FF:FF:FF 10.20.40.101: who has 10.20.40.5?
mlabs_... 7.165 2 <- 00:16:D3:B1:ED:94 FF:FF:FF:FF:FF:FF 10.20.40.101: who has 10.20.40.5?
mlabs_... 8.165 3 <- 00:16:D3:B1:ED:94 FF:FF:FF:FF:FF:FF 10.20.40.101: who has 10.20.40.5?
mlabs_... 9.181 4 <- 00:16:D3:B1:ED:94 FF:FF:FF:FF:FF:FF 10.20.40.101: who has 10.20.40.5?
mlabs_... 10.181 5 <- 00:16:D3:B1:ED:94 FF:FF:FF:FF:FF:FF 10.20.40.101: who has 10.20.40.5?
mlabs_... 11.181 6 <- 00:16:D3:B1:ED:94 FF:FF:FF:FF:FF:FF 10.20.40.101: who has 10.20.40.5?
Code: Select all
[admin@M] > /tool sniffer quick mac-protocol=arp interface=mesh-mlabs_bbone
INTERFACE TIME NUM DI SRC-MAC DST-MAC VLAN SRC-ADDRESS
mesh-m... 3.003 1 <- 00:16:D3:B1:ED:94 FF:FF:FF:FF:FF:FF 10.20.40.101: who has 10.20.40.5?
mesh-m... 3.003 2 -> 02:9E:5D:BF:EF:55 00:16:D3:B1:ED:94 10.20.40.5: at 02:9E:5D:BF:EF:55
mesh-m... 4.003 3 <- 00:16:D3:B1:ED:94 FF:FF:FF:FF:FF:FF 10.20.40.101: who has 10.20.40.5?
mesh-m... 4.003 4 -> 02:9E:5D:BF:EF:55 00:16:D3:B1:ED:94 10.20.40.5: at 02:9E:5D:BF:EF:55
mesh-m... 5.003 5 <- 00:16:D3:B1:ED:94 FF:FF:FF:FF:FF:FF 10.20.40.101: who has 10.20.40.5?
mesh-m... 5.003 6 -> 02:9E:5D:BF:EF:55 00:16:D3:B1:ED:94 10.20.40.5: at 02:9E:5D:BF:EF:55
mesh-m... 6.019 7 <- 00:16:D3:B1:ED:94 FF:FF:FF:FF:FF:FF 10.20.40.101: who has 10.20.40.5?
mesh-m... 6.019 8 -> 02:9E:5D:BF:EF:55 00:16:D3:B1:ED:94 10.20.40.5: at 02:9E:5D:BF:EF:55
mesh-m... 7.019 9 <- 00:16:D3:B1:ED:94 FF:FF:FF:FF:FF:FF 10.20.40.101: who has 10.20.40.5?
mesh-m... 7.019 10 -> 02:9E:5D:BF:EF:55 00:16:D3:B1:ED:94 10.20.40.5: at 02:9E:5D:BF:EF:55
mesh-m... 8.019 11 <- 00:16:D3:B1:ED:94 FF:FF:FF:FF:FF:FF 10.20.40.101: who has 10.20.40.5?
mesh-m... 8.019 12 -> 02:9E:5D:BF:EF:55 00:16:D3:B1:ED:94 10.20.40.5: at 02:9E:5D:BF:EF:55
config on B
Code: Select all
[admin@B] > /interface wireless print
Flags: X - disabled, R - running
0 R name="wlan_b_08-5" mtu=1500 mac-address=00:0C:42:62:D3:37 arp=enabled interface-type=Atheros 11N
mode=wds-slave ssid="mlabsb" frequency=5180 band=5ghz-a/n channel-width=20mhz scan-list=default
wireless-protocol=unspecified wds-mode=dynamic-mesh wds-default-bridge=mlabs_bbone_mesh
wds-ignore-ssid=no bridge-mode=enabled default-authentication=yes default-forwarding=yes
default-ap-tx-limit=0 default-client-tx-limit=0 hide-ssid=no security-profile=mlabsb compression=no
[admin@B] > /interface wireless wds print
Flags: X - disabled, R - running, D - dynamic
0 RD name="wds1" mtu=1500 l2mtu=2290 mac-address=00:0C:42:62:D3:37 arp=enabled
master-interface=wlan_b_08-5 wds-address=00:0C:42:62:CA:D7
1 RD name="wds2" mtu=1500 l2mtu=2290 mac-address=00:0C:42:62:D3:37 arp=enabled
master-interface=wlan_b_08-5 wds-address=00:0C:42:65:07:9E
[admin@B] > /interface mesh print
Flags: X - disabled, R - running
0 R name="mlabs_bbone_mesh" mtu=1500 arp=enabled mac-address=00:0C:42:62:D3:37 auto-mac=yes
admin-mac=00:00:00:00:00:00 mesh-portal=no hwmp-default-hoplimit=32 hwmp-preq-waiting-time=4s
hwmp-preq-retries=2 hwmp-preq-destination-only=yes hwmp-preq-reply-and-forward=yes
hwmp-prep-lifetime=5m hwmp-rann-interval=10s hwmp-rann-propagation-delay=0.5 hwmp-rann-lifetime=22s
reoptimize-paths=no
[admin@B] > /interface mesh port print
Flags: X - disabled, I - inactive, D - dynamic
# INTERFACE MESH
0 wlan_b_08-5 mlabs_bbone_mesh
1 ether1 mlabs_bbone_mesh
2 D wds1 mlabs_bbone_mesh
3 D wds2 mlabs_bbone_mesh
[admin@B] > /interface mesh fdb print
Flags: A - active, R - root
MESH TYPE MAC-ADDRESS ON-INTERFACE LIFETIME AGE
A mlabs_bbone_mesh local 00:0C:42:4D:1B:81 16m7s
A mlabs_bbone_mesh neighbor 00:0C:42:62:CA:D7 wds1 16m8s
A mlabs_bbone_mesh local 00:0C:42:62:D3:37 16m8s
A mlabs_bbone_mesh neighbor 00:0C:42:65:07:9E wds2 16m8s
mlabs_bbone_mesh larval 00:12:13:14:15:16 4m39s 15m51s
A mlabs_bbone_mesh outsider 00:16:D3:B1:ED:94 ether1 5m 16m7s
mlabs_bbone_mesh larval 02:08:F6:10:4F:C8 4m5s 15m55s
AR mlabs_bbone_mesh mesh 02:96:E5:E3:3C:6E wds2 21s 1s
mlabs_bbone_mesh larval 02:9E:5D:BF:EF:55 4m38s 15m22s
Code: Select all
[admin@M] > /interface wireless print
Flags: X - disabled, R - running
0 R name="wlan_r52hn_panel" mtu=1500 mac-address=00:0C:42:62:CA:D7 arp=enabled interface-type=Atheros 11N
mode=ap-bridge ssid="mlabsb" frequency=5180 band=5ghz-a/n channel-width=20mhz scan-list=default
wireless-protocol=unspecified wds-mode=dynamic-mesh wds-default-bridge=mesh-mlabs_bbone
wds-ignore-ssid=no bridge-mode=enabled default-authentication=yes default-forwarding=yes
default-ap-tx-limit=0 default-client-tx-limit=0 hide-ssid=no security-profile=mlabsb compression=no
1 name="wlan_ar5413-2.4G-a8" mtu=1500 mac-address=00:15:6D:67:60:20 arp=enabled
interface-type=Atheros AR5413 mode=ap-bridge ssid="secpl-baki" frequency=2422 band=2ghz-b/g
channel-width=20mhz scan-list=default wireless-protocol=any antenna-mode=ant-a wds-mode=disabled
wds-default-bridge=mesh-mlabs_bbone wds-ignore-ssid=no bridge-mode=enabled default-authentication=yes
default-forwarding=yes default-ap-tx-limit=0 default-client-tx-limit=0 hide-ssid=no
security-profile=baki compression=no
2 R name="wlan_r52Hn_dookolna" mtu=1500 mac-address=00:0C:42:65:07:9E arp=enabled interface-type=Atheros 11N
mode=ap-bridge ssid="mlabsb" frequency=5180 band=5ghz-a/n channel-width=20mhz scan-list=default
wireless-protocol=unspecified wds-mode=dynamic-mesh wds-default-bridge=mesh-mlabs_bbone
wds-ignore-ssid=no bridge-mode=enabled default-authentication=yes default-forwarding=yes
default-ap-tx-limit=0 default-client-tx-limit=0 hide-ssid=no security-profile=mlabsb compression=no
[admin@M] > /interface wireless wds print
Flags: X - disabled, R - running, D - dynamic
0 RD name="wds1" mtu=1500 l2mtu=2290 mac-address=00:0C:42:62:CA:D7 arp=enabled
master-interface=wlan_r52hn_panel wds-address=00:0C:42:62:D3:37
1 RD name="wds2" mtu=1500 l2mtu=2290 mac-address=00:0C:42:65:07:9E arp=enabled
master-interface=wlan_r52Hn_dookolna wds-address=00:0C:42:62:D3:37
[admin@M] > /interface mesh print
Flags: X - disabled, R - running
0 R name="mesh-mlabs_bbone" mtu=1500 arp=enabled mac-address=02:9E:5D:BF:EF:55 auto-mac=yes
admin-mac=00:00:00:00:00:00 mesh-portal=no hwmp-default-hoplimit=32 hwmp-preq-waiting-time=4s
hwmp-preq-retries=2 hwmp-preq-destination-only=yes hwmp-preq-reply-and-forward=yes
hwmp-prep-lifetime=5m hwmp-rann-interval=10s hwmp-rann-propagation-delay=0.5 hwmp-rann-lifetime=22s
reoptimize-paths=no
[admin@M] > /interface mesh port print
Flags: X - disabled, I - inactive, D - dynamic
# INTERFACE MESH
0 eoip-mtl-mta8-mlabsb mesh-mlabs_bbone
1 wlan_r52hn_panel mesh-mlabs_bbone
2 ether2 mesh-mlabs_bbone
3 I ether3 mesh-mlabs_bbone
4 I wlan_ar5413-2.4G-a8 mesh-mlabs_bbone
5 wlan_r52Hn_dookolna mesh-mlabs_bbone
6 D wds1 mesh-mlabs_bbone
7 D wds2 mesh-mlabs_bbone
[admin@M] > /interface mesh fdb print
Flags: A - active, R - root
MESH TYPE MAC-ADDRESS ON-INTERFACE LIFETIME AGE
A mesh-mlabs_bbone local 00:0C:42:44:A1:71 23m42s
A mesh-mlabs_bbone local 00:0C:42:62:CA:D7 18m34s
A mesh-mlabs_bbone neighbor 00:0C:42:62:D3:37 wds2 18m34s
A mesh-mlabs_bbone local 00:0C:42:65:07:9E 18m34s
A mesh-mlabs_bbone outsider 00:12:13:14:15:16 ether2 4m42s 23m23s
mesh-mlabs_bbone larval 00:16:D3:B1:ED:94 4m32s 18m33s
mesh-mlabs_bbone larval 02:08:F6:10:4F:C8 4m38s 23m21s
AR mesh-mlabs_bbone neighbor 02:96:E5:E3:3C:6E eoip-mtl-mta8-mlabsb 23m35s
A mesh-mlabs_bbone local 02:9E:5D:BF:EF:55 23m47s
Code: Select all
mesh-mlabs_bbone larval 00:16:D3:B1:ED:94 4m32s 18m33s
On B, it looks like this:
Code: Select all
A mlabs_bbone_mesh outsider 00:16:D3:B1:ED:94 ether1 5m 16m7s
Any help please?