Share vlan on wifi and ether port

Hi,

I have 1 vlan (vlanID 100 / 192.168.100.x/24) which must be available on my wireless port and my ether10 port).
How can I accomplish this? I noticed that you can bind a vlan to 1 port. However I have some devices that need to be wired for streaming and the remote controls must be in the same vlan (only wireless).

Hope somebody can help me.

Kind regards,

Mark

If you want this to work on normal 802.11 services then create a VirtualAP and bridge that new VirtualAP to the required VLAN. Devices accessing the VirtualAP’s SSID will then attach to the relevant VLAN.

Hi CelticComms,

Thanks for your reply. Do you mean I need to create a virtual AP and a bridge and then bridge the Virtual AP with my ether10 port?
Cause in the Virtual AP settings I do not have the option to select a vlan. Or do you have another setup in mind?

My ether10 already is a trunk port for several other vlans. Will it be a problem if I connect it to a bridge?

Kind regards,

Mark

Bind the vap with the designated vlan interface attached to ether10

Hi Rudios,

Can you explain how I should do this?

Kind regards,

Mark

Something like this
/interface vlan
add name=vlan10-ether10 interface=ether10 vlan-id=10

/interface wireless
add name=wifi master-interface=wlan1

/interface bridge
add name=bridge-local

/interface bridge port
add bridge=bridge-local interface=wifi
add bridge=bridge-local interface=vlan10-ether10Make sure that you also create and apply a security-profile for your wireless VAP

Thanks again for the reply. One final question.
My ether10 port is a port configured with several tagged vlans on it (eg. vlanID 10,20,30,40).

My wireless devices should only connect to vlanID 10. If I bridge the wifi and the ether10 together how can I make sure that the wireless devices only connect to vlan ID 10?

What I configured is ether2 with those vlans (10,20 etc). I configured ether2 as master interface on ether10 ether11.
If I want to connect ether10 to my bridge I get a message that I cannot do so, because the interface is already a slave.

Kind regards,

Mark

don’t bridge the ether port

bridge the vlan

Thanks guys! Got it working.

Unbound the vlan from the wireless interface and bound it to the ether2 interface.
Created a bridge with vlan10 and the wifi AP. Connected the address to the bridge and the dhcp server to the bridge.
When I connect a wired machine I receive vlan10 tagged and wireless devices connect to vlan10 successfully also.

Great, nice that I got it working. Karma on it’s way :smiley:

Kind regards,

Mark