On Thu, Feb 09, 2017 at 08:33:13AM +0100, Sven Eckelmann wrote:
On Mittwoch, 8. Februar 2017 16:40:38 CET dan wrote:
Assuming MTU is great enough (1528 right? 1500+24 batman-adv+4 VLAN), can the bat0 interface act as trunk for VLANs?
2 Nodes: bat0: eth1
bridge0: eth0|bat0
device connected to node1-eth0 tags vlan20, does that traverse the bat0 mesh and come out node2-eth0 with tag in-tact? Does it traverse node1-eth0 at all?
Afaik, the VLANs not on configured on batX will be rejected since TT was made VLAN aware [1]. I think Simon and Antonio can clarify this.
I agree with Sven. The Translation Table (TT) component should complain by printing the message that you can see in the link.
This happens because TT needs to know about all the VLANs in order to learn the MAC addresses of the clients.
However, TT gets to know a new VLAN only when this is actually created (i.e. by creating bat0.X).
The solution would be to create a VLAN on top of bat0 (i.e. bat0.20) and let the tagging happen at the node.
Cheers,