Community discussions

MikroTik App
 
Pmillard
just joined
Topic Author
Posts: 5
Joined: Thu Feb 15, 2018 9:22 am

CapsMan not providing DHCP addresses when virtual WLAN Interface changes.

Thu Mar 29, 2018 1:13 pm

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
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7038
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

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

Thu Mar 29, 2018 1:22 pm

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.
 
49er
Member
Member
Posts: 409
Joined: Tue Sep 27, 2011 7:55 am

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

Thu Mar 29, 2018 1:58 pm

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
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7038
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

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

Thu Mar 29, 2018 2:03 pm

As I mentioned already there is "bridge" setting.
https://wiki.mikrotik.com/wiki/Manual:C ... figuration
 
Pmillard
just joined
Topic Author
Posts: 5
Joined: Thu Feb 15, 2018 9:22 am

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

Thu Mar 29, 2018 2:07 pm

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?
 
User avatar
iaskakho
just joined
Posts: 17
Joined: Sun Sep 05, 2021 9:27 pm
Location: New York, USA
Contact:

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

Thu Sep 09, 2021 7:56 pm

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?
 
gotsprings
Forum Guru
Forum Guru
Posts: 2087
Joined: Mon May 14, 2012 9:30 pm

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

Thu Sep 09, 2021 11:14 pm

Add it to bridge in interfaces.

Who is online

Users browsing this forum: blejzu and 40 guests