Capsman manager not a router - VLANs

Hi,

Small problem that I’m trying to overcome.

I usually use Mikrotik that acts as a router (NATting, DHCP etc) as well as CapsMan manager and with this scenario my setups always work.

Right now I have a scenario were unifi gateway is the main device and a mikrotik router connected on LAN side acts purely as CapsMan manager. There are 100+ cAPs and it all works, they are getting IP from Unifi, all fine with local forwarding (each cAP has separate Wifi name, local DHCP etc)

The problem starts when I want to create a global guest network with tagged VLAN. Let’s say VLAN 50. This only works if I create a VLAN on CapsManager but all the traffic is routed via this device, it’s not routed directly to the unifi router.

Is there any way to get around it?

/caps-man datapath
add bridge=bridge_Internet client-to-client-forwarding=no name=datapath1 vlan-id=50 vlan-mode=use-tag

This works only if the CapsMan manager has:

/interface vlan
add interface=bridge_Internet name=vlan50 vlan-id=50

Is the guest network on the UniF–k router?

If so… use local forwarding.

Yes but then it will be getting IP from cAP, not from the Unifi, right?

No… put the DHCP server on VLAN 50 of the UniF–k router.

:laughing: :laughing: :laughing: :laughing: :laughing: :laughing: :laughing: I didn’t know Ubiquiti rebranded their equipment.

I named it that back when I was working with Ubiquiti engineers and they couldn’t get their Midwest Distributors branches connected.

I said “UNIF–K”… and it stuck.

I had been calling it that since the good old days, when they actually told us to put the original UAP’s POE injectors into lamp timers!

Well it does not work.

If I turn on local forwarding with vlan tag I do not get IP from Ubiquiti.

If I do local forwarding + no tag I get IP from cap router (as expected).

Might be because the caps are routers with NATting, not a APs?

ADDED LATER:
Yup, tested with cap in bridge mode it works. So now the question:

Is there any way to configure capsman without reconfiguring each CAP?