Hi All,
I've just purchased cAP ac and trying to configure it to my needs.
What I'm hoping to achieve is to have a AP with two distinct WiFi networks, each in each band (wlan1 in 2.4GHz, wlan2 in 5.0GHz), each having different security profiles (done) and connected to a different VLANs. The AP is behind a switch. The switch is connected to a router, which is also serving as a DHCP server for each VLAN.
The problem is that when I manage to have the wifi working as I expect, I don't have access to the AP. If I do have access to AP, I don't have both wlans working (only one assings correct DHCP adress, while the other is not).
So far, I tried using /interfaces configuration such that VLAN Mode is enabled (for both wlans) and VLAN ID is set to an appropriate value (e.g. for the sake of completeness: wlan1 is to be on VLAN ID 10, while wlan2 - VLAN ID 20).
I can have the wifi working (on both interfaces!) when I set PVID to the respecitve VLAN ID for each of the ports in the bridge port settings (i.e. wlan1 - PVID = 10, wlan2 - PVID=20). However, this seems to work only if both VLAN's are marked as "tagged" on the switch port connected to AP (that is the the switch between AP and the router). However, if both wlans work, I loose access to the AP itself (via ether1) - the AP itself should get an IP from the DHCP server from the VLAN ID 10, but is not reachable.
Alternativelly, I am able to access the AP (via ether1), but then I don't seem to have any IP assigned for a client on wlan1 (this happens when I set VLAN 10 as untagged on the switch - the switch between AP and the router). In this case wlan2 works (it has the switch port for VLAN 20 set as `tagged`), but wlan1 - does not.
What am I missing?
I don't consider myself an expert in networking, but I hope to learn something along the way.
Any help would be much appreciated.