Community discussions

MikroTik App
 
ChrisFre
just joined
Topic Author
Posts: 5
Joined: Tue May 17, 2022 1:43 am

Add vlan to AP in ap-bridge mode

Wed May 18, 2022 2:56 am

I have a simple hardware setup with a central router and two directly-connected cAP access points. I wish to set up a vlan for guests, which will comprise just one "station" (the 5Ghz one, in ap-bridge mode) of just one cAP, a trunk for the guest-vlan from that cAP to the router, and the guest ip services in the router.

What is the difference between attaching a specific vlan interface to the (entire 5GHz) wireless interface or, alternatively, setting the vlan-mode and vlan-id directly thru /interface wireless?
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11439
Joined: Thu Mar 03, 2016 10:23 pm

Re: Add vlan to AP in ap-bridge mode  [SOLVED]

Fri May 20, 2022 12:00 am

What is the difference between attaching a specific vlan interface to the (entire 5GHz) wireless interface or, alternatively, setting the vlan-mode and vlan-id directly thru /interface wireless?

Attaching vlan interface to wireless interface won't do the job ... if you mean something like this
/interface vlan
add name=fu_interface interface=wlan1 vlan-id=666
because this means that wireless interface is tagged while in reality wireless is untagged in all but very special use cases.

There are two ways of dealing with VLAN tags for wireless: setting vlan attributes on wireless interface as you mentioned or setting wireless interface as access port of vlan-aware bridge. From functionality point of view, most of times they are identical. However, setting vlan attributes on wireless interfaces seems to becoming obsolete, wifiwave2 drivers currently don't support it. So it seems it's safer to go with vlan-enabled bridge.
 
ChrisFre
just joined
Topic Author
Posts: 5
Joined: Tue May 17, 2022 1:43 am

Re: Add vlan to AP in ap-bridge mode

Fri May 20, 2022 12:18 am

@mkx

Thank you, that answers my question very clearly and gives me a good tip too :)

Who is online

Users browsing this forum: GoogleOther [Bot] and 52 guests