Hi everyone,
I’m trying to get CAPsMAN working on a CRS326 with VLANs. I have had a working CAPsMAN configuration using bridges before, now I wanted to configure it with VLANs properly. I followed exactly the instructions on https://wiki.mikrotik.com/wiki/Manual:CRS_Router. The VLANs work perfectly.
All my MTs have long-term firmware 6.42.9 (CRS326-24G-2S+RM, hAP ac^2, wAP ac).
My problem is, that the wirelesse clients won’t get an IP-address. The log says: ****
offering lease for with no success
The wired network works as expected.
Basic part of my configuration:
/interface bridge
add name=bridge vlan-filtering=yes
/interface vlan
add interface=bridge name=VLAN10 vlan-id=10
add interface=bridge name=VLAN19 vlan-id=19
add interface=bridge name=VLAN21 vlan-id=21
add interface=bridge name=VLAN30 vlan-id=30
add interface=bridge name=VLAN90 vlan-id=90
/interface bridge port
add bridge=bridge interface=eth01
add bridge=bridge interface=eth02
add bridge=bridge interface=eth03
add bridge=bridge interface=eth04
/interface bridge vlan
add bridge=bridge tagged=bridge,eth01,eth02,eth03,eth04 untagged=eth17,eth18,eth19,eth20,eth21,eth22,bond_01 vlan-ids=10
add bridge=bridge tagged=bridge,eth01,eth02,eth03,eth04 untagged=eth05,eth06 vlan-ids=19
add bridge=bridge tagged=bridge,eth01,eth02,eth03,eth04 untagged=eth09,eth10,eth11,eth12,eth13,eth14,eth15,eth16 vlan-ids=21
add bridge=bridge tagged=bridge,eth01,eth02,eth03,eth04 untagged=eth07,eth08 vlan-ids=30
add bridge=bridge tagged=bridge,eth01,eth02,eth03,eth04 vlan-ids=90
/ip address
add address=10.0.0.1/16 interface=VLAN10 network=10.0.0.0
add address=10.19.0.1/16 interface=VLAN19 network=10.19.0.0
add address=10.21.0.1/16 interface=VLAN21 network=10.21.0.0
add address=10.30.0.1/16 interface=VLAN30 network=10.30.0.0
add address=10.90.0.1/16 interface=VLAN90 network=10.90.0.0
/ip dhcp-server
add address-pool=dhcp_pool_10 disabled=no interface=VLAN10 name=VLAN10_DHCP
add address-pool=dhcp_pool_19 disabled=no interface=VLAN19 name=VLAN19_DHCP
add address-pool=dhcp_pool_21 disabled=no interface=VLAN21 name=VLAN21_DHCP
add address-pool=dhcp_pool_30 disabled=no interface=VLAN30 name=VLAN30_DHCP
add address-pool=dhcp_pool_90 disabled=no interface=VLAN90 name=VLAN90_DHCP
/caps-man configuration
add channel=channel-2.4GHz country=germany datapath.bridge=bridge datapath.vlan-id=90 datapath.vlan-mode=use-tag mode=ap name="Gast" security=Gast ssid=Gast
The hAP ac^2 has only minimal configuration and uses VLANs on certain ports. So the CRS and HAP are connected over a trunk port (eth04 on CRS326).
I wanted to use CAPsMAN Forwarding Mode as described here: https://wiki.mikrotik.com/wiki/Manual:CAPsMAN_with_VLANs
Looks like the communication back to the wireless clients is not working. What is the missing part, that my wireless clients can connect?