Is it possible to…? [multiple vlan wifi trunk]

Hi there,

I am new to this forum and was hoping you guys could help me out.

I need to bridge my lan to another floor in the building. Running a cable isn‘t an option. Neither is powerline.

So I am looking at wifi. But here comes the problem: I need to transport at least 3 vlans together with my lan. As far as I know, normal wifi does not carry the vlan tags. Of course, I could set up a wifi bridge for each vlan separately. But I was wondering whether there is a smarter way.

So what I am contemplating is: hook up an openwrt enabled wifi access point to my lan. Set up another openwrt enabled access point on the other floor and put them in bridge mode. I am assuming that you can‘t bridge several ssids with one device (even if it supports several ssids in general) at the same time, or can you?

But let‘s say that doesn‘t work. Can I tunnel all the vlans that go into the one ap through a „normal“ wifi bridge and have them fall out at the other end (ap)? Can I do that with openwrt? And can I do that in particular with the APs I already have lying around, which are devolo wifi pro 1750s?

Thanks for reading!

Maybe one VLAN per WiFi SSID so this would be 4different WiFi:s to run 4 VLAN.

So the WiFi data itself has no VLAN ID but you give the data a new VLAN ID in the receiving AccessPoint

That works on my TP-link AP.

if both ends run openwrt(or mikrotik) eoip is an option(easy)... otherwise alternative tunnel methods can be used(harder)


So you have two APs running openwrt that build a bridge and you bridge 4 ssids (one for each vlan) between them?

That would be the simplest solution in my view. Can you please explain how to set this up?

While I don‘t have Mikrotik, I do have openwrt.

And if it is easy, that sounds like a solution for me!

Could you please explain how to set up eoip between them in order to tunnel the four vlans?


One possible solution would be running a GRE tunnel over wireless. A good description can be found at Works perfectly. Be careful if you try this out, there is an error in the config files on that page. Better use those from GitHub as a starting point.

1 Like

I haven’t tested the hypotises with a reciever, that in technical terms is a radio link system and not a WiFi. And they exist for ethernet distribution.
But business class access point have the ability to have different VLAN connected for Tx and Rx to different SSID both on 5 and 2,4GHz.
It must be posts about this on this forum somewhere already, have you tried searcing?

No, each STA can only connect to a single AP.

I did exactly this some time ago, using GRE tunnels. I created a post with step-by-step instructions.

1 Like

I've used batman-adv for this but it is probably way overkill compared to eoip or GRE.


My AP can link different ssids to separate vlans. But I would need to set up four receivers, one for each ssd.

Unless it is possible to use one that would connect to all four ssids simultaneously and link them again to vlans. This is what I understood your suggestion to be. But I now take it that you haven‘t actually put this into practice.

1 Like

(Deleted - sorry, did not read your post carefully enough).

I am also using batman-adv here which is easy if once setup as you just have bat0.(vlanId) interfaces to add to your bridge device on each AP participating in the batman-adv mesh. Also offers the advantage to add more than two routers if you like to.

bridge 1 - mgmt vlan 10
members: eth0.10, bat0.10, wlan1 (mgmt ssid)

bridge 2 - guest vlan 20
members: eth0.20, bat0.20, wlan1-1 (guest ssid)

bridge 1 - mgmt vlan 10
members: eth0.10, bat0.10, wlan1(mgmt ssid)

bridge 2 - guest vlan 20
members: eth0.20, bat0.20, wlan1-1 (guest ssid)

For a network that is two points or a one hub and spokes, it should also work to put batman-adv on top of an AP-STA link (instead of mesh mode on the radio), but I have not actually tried that.

1 Like

Can you link to that post please ?

I have done this with Cisco AP's several times. I would think you could just create the WLAN interfaces on both sides and tag the vlans you want to pass through accordingly. Maybe I'm oversimplifying it, IDK.

1 Like

Hello and sorry for hijacking this post and thread. I was wondering, if you still use this tunnel setup. I have read the other thread and it's clear, and I intended to use the examples mentioned, however in the recent OpenWrt releases, there are some changes, mostly about DSA, and some UCI naming conventions. Might be possible to have a write-up adjusted to the recent situation? I have tried the same with VXLANs, but apparently it is not possible to bridge tagged interfaces with this protocol.

Sorry, but I moved the trunk to a cable, before DSA.

Gotcha, less of a headache for sure :slight_smile: