Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VLANs over multiple NICs
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Tux's lil' helper
Tux's lil' helper

Joined: 07 Jan 2003
Posts: 86
Location: Vienna

PostPosted: Sun Jul 19, 2020 10:04 am    Post subject: VLANs over multiple NICs Reply with quote

Hello everybody!

I'm currently running a gentoo box as a central firewall/router in a larger network with several VLANs. The box itself has several NICs, while the VLANs are spanning over some of those. At the moment I have the following configuration set up and running (in a schematic version, there are more than 2 NICs involved and more than 2 VLANs, and behind each NIC resides a switch):


 br0.2     br0.3
   |         |
  |         |
eth0      eth1

So, basically I've set up a bridge over all ethernet interfaces, and on top of that bridge I've set up several VLANs. This configuration works, but I have the feeling that this configuration is generating a lot of network traffic, as the bridge seems to forward all traffic to all ethernet devices.

I'm wondering if the following setup would reduce network traffic:


        br2                   br3
         |                     |
         |   --------------------------
         |   |                        |
  -----------|------------            |
  |          |           |            |
eth0.2     eth0.3      eth1.2       eth1.3
  |          |           |            |
  ------------           --------------
         |                     |
       eth0                  eth1

That way I could remove i.e. VLAN 4 from eth0 and only have it on eth1.

So, the basic question is: If I have multiple VLANs spanning over multiple ports, is it better to first combine all ports in a bridge and then add vlan functionality, or to first add vlan functionality to each port and combine the same VLANs to bridges.

Also, I've read something about VLAN aware bridges? Would that make the setup easier?

Thanks for advice


PS: excuse my drawing skills :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum