[FS#3517] isolate '1' is being applied to whole radio device instead of an individual wifi network

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Thu Dec 17 04:46:09 EST 2020


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - goodness-from-me (goodness-from-me) 

Attached to Project - OpenWrt/LEDE Project
Summary - isolate '1' is being applied to whole radio device instead of an individual wifi network
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Very Low
Reported Version - openwrt-19.07
Due in Version - Undecided
Due Date - Undecided
Details - **Device:** Xiaomi Mi Router 3G v1
**OpenWrt release:** 19.07.5

//**This is a regression I found out after upgrading from 19.07.4 (with all configs being wiped).**//

**Description:**
Having two wireless networks for one radio interface and setting isolate '1' for one of them actually applies it to all the networks in that interface so all wireless clients are isolated from each other.

My wireless config looks like this:
config wifi-device 'radio1'
        option type 'mac80211'
        option hwmode '11a'
        option path 'pci0000:00/0000:00:01.0/0000:02:00.0'
        option htmode 'VHT80'
        option channel '100'
        option legacy_rates '0'
        option country 'UA'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option wpa_disable_eapol_key_retries '1'
        option key '123123123'
        option ssid 'NETWORK1'
        option encryption 'psk2+ccmp'

config wifi-iface 'wifinet2'
        option network 'lan'
        option wpa_disable_eapol_key_retries '1'
        option ssid 'NETWORK2'
        option encryption 'psk2+ccmp'
        option device 'radio1'
        option mode 'ap'
        option isolate '1'
        option key '123123123'

Note that isolation is only set to the "NETWORK2", but actually it is applied to the "NETWORK1" as well and my devices can't reach each other being in "NETWORK1".

**Steps to reproduce:**

1. Assuming you have 19.07.5 with a clean configuration.
2. Set up two wireless networks for the same radio device, call one "NETWORK1" and second - "NETWORK2".
3. For "NETWORK2" add "option isolate '1'" to the wireless config.
4. Apply the settings.
5. Connect two devices to the "NETWORK1".
6. Giving device one, try to ping device 2, having both devices connected to "NETWORK1".

**Actual result:** device 2 can't be reached from device 1 in the "NETWORK1".
**Expected result:** device 2 can be reached from device 1 in the "NETWORK1".


More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3517

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list