freifunk-gluon / gluon

a modular framework for creating OpenWrt-based firmwares for wireless mesh nodes
https://gluon.readthedocs.io
Other
543 stars 324 forks source link

VLAN not working in 11s config #1213

Closed mokkin closed 7 years ago

mokkin commented 7 years ago

The configured VLAN isn't working since switching to 11s.

batctl if
mesh0: active
primary0: active

site.conf: https://github.com/freifunk-leipzig/freifunk-gluon-leipzig/commit/f2fccb34a691b9bc4825f6e9c50a72b64a782508

A-Kasper commented 7 years ago

There is no VLAN support for 802.11s mode. So everything works fine.

VLAN support is already on the roadmap.

FreifunkUFO commented 7 years ago

Everything should work fine: 11s mode support that VLAN-stuff as ad-hoc before.

So A-Kasper is wrong. You can see it inside libremesh firmware (with 11s) or freifunk-meshkit-firmware (also with 11s). both are already using vlan on 11s-interfaces.

btw: to change from ad-hoc to 11s you have to edit the /etc/config/wireless (f.i. "mode", "bssid" and "mesh_id"). there is no need for changing /etc/config/network (where the vlan-setup is done).

corresponding ticket from freifunk leipzig: https://plan.leipzig.freifunk.net/issues/458

neocturne commented 7 years ago

As @A-Kasper correctly noted, Gluon does not support VLAN over 11s; it is simply not implemented. The VLAN support code adds unnecessary complexity to the network configuration without significant gain, so we don't intend to support it (and the current VLAN over IBSS code will be removed when we drop IBSS support).