Page 1 of 1

CapsMan not providing DHCP addresses when virtual WLAN Interface changes.

Posted: Thu Mar 29, 2018 1:13 pm
by Pmillard
Hi there,

I am complete newby to Mikrotik and Capsman.

I have managed to get Capsman configured and working on a hAP ac2 with a cap ac,

I have it all configured, SSID'd being broadcast and I can connect the problem I have is that the devices don't get a DHCP address.
When I go and check the config I can see in interface lists that there is a new WLAN interface created WLAN4 and this is not on the bridge.
If I go and add this WLAN4 to the bridge, or whatever virtual WLAN has been created then IP addresses are given and the clients can access the network again.

How do I go about configuring this so that I don't need to go in every so often and add the WLAN to the bridge?

Many thanks,

Peter

Re: CapsMan not providing DHCP addresses when virtual WLAN Interface changes.

Posted: Thu Mar 29, 2018 1:22 pm
by mrz
Of course you need wlan interface in the bridge, if DHCP server is reachable on the bridge.
There is an option to add automatically created interfaces in the bridge.

Re: CapsMan not providing DHCP addresses when virtual WLAN Interface changes.

Posted: Thu Mar 29, 2018 1:58 pm
by 49er
I use CAPsMAN in my test lap.
Use Local forwarding for the CAPs.
Have the configuration below.
I need to add the virtual interfaces by hand on the bridge vlan on the CAPs. (very frustrating because it is not nice. If you make some changes. the name of the virtual AP wil change and you have to manualy add it again.

/interface bridge
add name=BRIDGE vlan-filtering=yes
/interface bridge port
add bridge=BRIDGE interface=ether1
add bridge=BRIDGE interface=ether5
/interface bridge vlan
add bridge=BRIDGE tagged=ether1,ether5,BRIDGE vlan-ids=9,10,12,14,15,19,900
/interface vlan
add name=VLAN_LAN_MGMT interface=BRIDGE vlan-id=9
add name=VLAN_LAN_DATA interface=BRIDGE vlan-id=10
add name=VLAN_WLAN_DATA interface=BRIDGE vlan-id=12
add name=VLAN_WLAN_GUEST interface=BRIDGE vlan-id=14
add name=VLAN_WLAN_IOT interface=BRIDGE vlan-id=15
add name=VLAN_LAN_CAMERA interface=BRIDGE vlan-id=17
add name=VLAN_WLAN_SP interface=BRIDGE vlan-id=19
add name=VLAN_LAN_SERVER interface=BRIDGE vlan-id=900

Re: CapsMan not providing DHCP addresses when virtual WLAN Interface changes.

Posted: Thu Mar 29, 2018 2:03 pm
by mrz
As I mentioned already there is "bridge" setting.
https://wiki.mikrotik.com/wiki/Manual:C ... figuration

Re: CapsMan not providing DHCP addresses when virtual WLAN Interface changes.

Posted: Thu Mar 29, 2018 2:07 pm
by Pmillard
I think I managed to fix it by going to Wireless Tables - Wireless Interfaces - CAP and ticking static virtual.

The only other change I made was to go to Bridge - Ports click add and select interface - And select dynamic.

I made those 2 changes and it now seems to work.

If anyone knows better than me, is there any reason why either of those changes would be bad?

Re: CapsMan not providing DHCP addresses when virtual WLAN Interface changes.

Posted: Thu Sep 09, 2021 7:56 pm
by iaskakho
Should you add the wlan virtual interface on the CAP to the bridge OR add the virtual interfaces on the CAPsMAN to the bridge?

and the automatic setting is called datapath.bridge?

Re: CapsMan not providing DHCP addresses when virtual WLAN Interface changes.

Posted: Thu Sep 09, 2021 11:14 pm
by gotsprings
Add it to bridge in interfaces.