Lan ports aren’t accessible for WiFi client if VLAN’s enabled
Hi guys, I have a very weird issue which prevents the communication between WiFi clients and clients connected via LAN ports.
This only happens if VLAN's
are enabled.
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fdbb:d3bf:b681::/48'
config interface 'wan'
option device 'eth2'
option proto 'dhcp'
option ipv6 '1'
config interface 'wan6'
option device '@wan'
option proto 'dhcpv6'
config device 'dev_wan'
option name 'eth2'
config device
option type 'bridge'
option name 'br-devilan'
option ipv6 '0'
option igmp_snooping '1'
list ports 'lan0'
list ports 'lan1'
list ports 'lan2'
config interface 'DEVILAN'
option proto 'static'
option ipaddr '192.168.66.1'
option netmask '255.255.255.0'
option device 'br-devilan.66'
config bridge-vlan
option device 'br-devilan'
option vlan '66'
list ports 'lan0:t'
list ports 'lan1:u*'
list ports 'lan2:u*'
config device
option vid '66'
option ifname 'br-devilan'
option name 'br-devilan.66'
option ipv6 '0'
option type '8021q'
config device
option igmp_snooping '1'
option type 'bridge'
option name 'br-iot'
list ports 'lan3'
list ports 'lan4'
option ipv6 '0'
config interface 'iot'
option device 'br-iot'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.33.1'
I also have configured corresponding wifi networks.
config wifi-device 'radio0'
option type 'mac80211'
option path 'soc/soc:pcie/pci0000:00/0000:00:02.0/0000:02:00.0'
option channel '36'
option band '5g'
option country 'CH'
option cell_density '0'
option htmode 'HE160'
config wifi-device 'radio1'
option type 'mac80211'
option path 'soc/soc:pcie/pci0000:00/0000:00:03.0/0000:03:00.0'
option channel '1'
option band '2g'
option country 'CH'
option cell_density '0'
option htmode 'HT40'
config wifi-iface 'wifinet0'
option ssid 'House of Ping'
option encryption 'psk2'
option device 'radio0'
option mode 'ap'
option network 'DEVILAN'
option key '*******'
config wifi-iface 'wifinet1'
option ssid 'House of Ping'
option encryption 'psk2'
option device 'radio1'
option mode 'ap'
option network 'DEVILAN'
option key '*******'
config wifi-iface 'wifinet2'
option ssid 'iot'
option encryption 'psk2'
option device 'radio1'
option mode 'ap'
option network 'iot'
option key '********'
config wifi-iface 'wifinet3'
option ssid 'iot'
option encryption 'psk2'
option device 'radio0'
option mode 'ap'
option network 'iot'
option key '******'
Now here comes the strange part, as long as my clients are connected to the WiFi anything works like a charm, I can connect to clients within the respective vlan.
For example: My desktop is connect via wifi in the DEVILAN
and gets the IP 192.168.66.54 and can ping my notebook, which is also connected via WiFi and got the IP 192.168.66.55.
If I connect my Notebook directly on port 1 (which untaggs DEVILAN
) however, I'm unable to communicate with WiFi devices in the same VLAN. I successfully get an IP like 192.168.66.42 and can also access the internet. I can even communicate with other devices on on port 2 (which untaggs DEVILAN
).
I'm quite sure this must be a bug and is probably somehow related to DSA, what did I miss? Any ideas?