Skip to contentSkip to conversation

vlan "aware" bridges

Bridge Dennis Jacobfeuerborn 3 participants 4 messages Aug 25, 2015 – Aug 26, 2015 Ethernet bridge

lore
Share & tools
lore
#0 lore raw

Hi,
through the cumulus documentation I learned that there apparently now exists a way to create a single bridge that allows vlan filtering rather than the old method using an individual bridge for each vlan. That documentation only uses this new bridge model in the context of their new ifupdown2 tool though.

Is there any practical documentation out there or some tutorials/examples that explain how to use/configure such a vlan aware bridge using the basic bridge/ip toolset?

Regards,
Dennis

#1 lore raw
Quoted 7 lines · On Tue, 25 Aug 2015 20:59:14 +0200 Dennis Jacobfeuerborn…

Hi,
through the cumulus documentation I learned that there apparently now exists a way to create a single bridge that allows vlan filtering rather than the old method using an individual bridge for each vlan. That documentation only uses this new bridge model in the context of their new ifupdown2 tool though.

Quoted 6 lines

Is there any practical documentation out there or some tutorials/examples that explain how to use/configure such a vlan aware bridge using the basic bridge/ip toolset?

Regards,
Dennis

Did you look in current iproute2 man pages.

#2 lore raw
Quoted 10 lines · Stephen Hemminger
Quoted 7 lines · On Tue, 25 Aug 2015 20:59:14 +0200 Dennis Jacobfeuerborn…

Hi,
through the cumulus documentation I learned that there apparently now exists a way to create a single bridge that allows vlan filtering rather than the old method using an individual bridge for each vlan. That documentation only uses this new bridge model in the context of their new ifupdown2 tool though.

Quoted 9 lines
Quoted 6 lines

Is there any practical documentation out there or some tutorials/examples that explain how to use/configure such a vlan aware bridge using the basic bridge/ip toolset?

Regards,
Dennis

Did you look in current iproute2 man pages.

I've looked at the man pages but they only contain information about the syntax of the commands and don't give any explanation of the bigger picture of examples of common possible setups.
I can find plenty of examples on the net when it comes to the "traditional" one-bridge-per-vlan setup but none that explain similar setups for the vlan aware bridge.
In fact there seem to be few people out there who even know about this probably because this seems to be a bit of a secret right now because of a lack of documentation.

Regards,
Dennis

#3 lore raw
Quoted 21 lines · Dennis Jacobfeuerborn
Quoted 10 lines · Stephen Hemminger
Quoted 7 lines · On Tue, 25 Aug 2015 20:59:14 +0200 Dennis Jacobfeuerborn…

Hi,
through the cumulus documentation I learned that there apparently now exists a way to create a single bridge that allows vlan filtering rather than the old method using an individual bridge for each vlan. That documentation only uses this new bridge model in the context of their new ifupdown2 tool though.

Quoted 9 lines
Quoted 6 lines

Is there any practical documentation out there or some tutorials/examples that explain how to use/configure such a vlan aware bridge using the basic bridge/ip toolset?

Regards,
Dennis

Did you look in current iproute2 man pages.

Quoted 9 lines

I've looked at the man pages but they only contain information about the syntax of the commands and don't give any explanation of the bigger picture of examples of common possible setups.
I can find plenty of examples on the net when it comes to the "traditional" one-bridge-per-vlan setup but none that explain similar setups for the vlan aware bridge.
In fact there seem to be few people out there who even know about this probably because this seems to be a bit of a secret right now because of a lack of documentation.

Would you check this?
https://www.netdev01.org/docs/netdev_tutorial_bridge_makita_150213.pdf

Note that these slides are getting old and now the latest net-next kernel and iproute2 have most features to manipulate vlan_filtering by netlink rather than sysfs, like

# ip link set br0 type bridge vlan_filtering 1

Toshiaki Makita