#20466: WDS mode is not working on current trunks
-------------------------+------------------------
 Reporter:  duvi         |      Owner:  developers
     Type:  defect       |     Status:  new
 Priority:  normal       |  Milestone:
Component:  base system  |    Version:  Trunk
 Keywords:               |
-------------------------+------------------------
 On recent trunks, it's not possible to reach WDS STA from the WDS AP side
 of the network, or vica versa.
 Downgrading the WDS STA to r46160 solves the problem, having the exact
 same config. WDS AP can remain on current trunk.

 I have no idea, which changeset brakes things, I just started playing with
 new builds last week, but eventually had to downgrade WDS STA always back
 to the mentioned old build to make it work again.


 Device 1 - WDS AP: TL-MR3420v1

 {{{
 root@OpenWrt:~# cat /etc/config/network

 config interface 'loopback'
         option ifname 'lo'
         option proto 'static'
         option ipaddr '127.0.0.1'
         option netmask '255.0.0.0'

 config interface 'lan'
         option ifname 'eth0'
         option type 'bridge'
         option proto 'static'
         option ipaddr '192.168.1.1'
         option netmask '255.255.255.0'

 config interface 'pub'
         option ifname   'wlan0-1'
         option proto    'static'
         option ipaddr   '172.16.0.1'
         option netmask  '255.255.0.0'

 config interface 'wan'
         option ifname 'eth1'
         option proto 'dhcp'

 config switch
         option name 'switch0'
         option reset '1'
         option enable_vlan '1'

 config switch_vlan
         option device 'switch0'
         option vlan '1'
         option ports '0 1 2 3 4'

 config 'interface' 'vpn'
         option 'ifname'   'tun0'
         option 'proto'    'none'

 root@OpenWrt:~# cat /etc/config/wireless
 config wifi-device      'radio0'
         option disabled '0'
         option type     'mac80211'
         option path     'pci0000:00/0000:00:00.0'
         option hwmode   '11g'
         option htmode   'HT20'
         option noscan   '0'
         option channel  '1'
         option txpower  '10'

 config wifi-iface
         option disabled '0'
         option device   'radio0'
         option mode     'ap'
         option wds      '1'
         option network  'lan'
         option ssid     'private_ssid'
         option encryption       'psk-mixed'
         option key      'password'
         option wpa_group_rekey  '3600'

 config wifi-iface
         option disabled 0
         option device   radio0
         option network  pub
         option mode     ap
         option ssid     public_ssid
         option encryption none
 }}}

 Device 2 - WDS STA: TL-MR3220v1

 {{{
 root@OpenWrt:~# cat /etc/config/network

 config interface 'loopback'
         option ifname 'lo'
         option proto 'static'
         option ipaddr '127.0.0.1'
         option netmask '255.0.0.0'

 config interface 'lan'
         option ifname 'eth0 eth1'
         option type 'bridge'
         option proto 'static'
         option ipaddr '192.168.1.2'
         option netmask '255.255.255.0'
         option gateway '192.168.1.1'
         option dns '192.168.1.1'

 root@OpenWrt:~# cat /etc/config/wireless
 config wifi-device      'radio0'
         option disabled '0'
         option type     'mac80211'
         option path     'pci0000:00/0000:00:00.0'
         option hwmode   '11g'
         option htmode   'HT20'
         option noscan   '0'
         option channel  'auto'
         option txpower  '10'

 config wifi-iface
         option disabled '0'
         option device   'radio0'
         option mode     'sta'
         option wds      '1'
         option network  'lan'
         option ssid     'private_ssid'
         option encryption       'psk2'
         option key      'password'
 }}}


 After the WDS STA connects, the WDS AP log is flooded:

 {{{
 [ 1243.153661] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1245.054681] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1245.505126] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1247.545729] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1248.034752] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1254.062373] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1254.242020] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1254.253856] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1254.281912] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1254.471045] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1254.502013] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1254.526167] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1254.699495] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1254.793605] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1261.041235] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1261.049131] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1261.104864] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1261.337375] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1261.801865] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1262.731906] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1262.935705] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1262.943548] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1262.951467] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1262.959328] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1268.314307] net_ratelimit: 41 callbacks suppressed
 [ 1268.319144] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1273.315239] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1274.315243] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1309.660535] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1309.999803] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1310.578865] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1310.612479] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1310.988685] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1311.205992] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1311.225143] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1311.245432] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1311.262600] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1311.347295] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1316.825477] net_ratelimit: 19 callbacks suppressed
 [ 1316.830318] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1316.931563] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1316.939457] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1316.947320] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1317.322205] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1317.757680] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1317.952506] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1318.105358] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1318.171018] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1319.677328] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1321.982461] net_ratelimit: 3 callbacks suppressed
 [ 1321.987267] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1322.818304] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1322.985443] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1324.950526] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1324.989476] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1327.191229] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1329.002035] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1329.106715] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1329.490725] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1329.501902] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1330.188747] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1336.217876] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1339.211444] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1341.668556] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1342.214143] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1352.966338] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1352.974258] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1352.982076] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1352.989942] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1353.005932] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1353.013780] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1353.024187] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1353.032044] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1353.046943] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1353.054863] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1371.825006] net_ratelimit: 12 callbacks suppressed
 [ 1371.829843] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1372.825025] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1373.825015] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1374.847126] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1375.835527] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1376.835216] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1378.145425] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1382.985360] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1382.993208] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1383.005608] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1383.013457] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1383.039494] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1383.047394] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1383.055256] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1383.063075] br-lan: received packet on wlan0.sta1 with own address as
 source address
 [ 1383.070930] br-lan: received packet on wlan0.sta1 with own address as
 source address
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/20466>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to