From: Jonathan Tripathy Subject: Re: Bridges Date: Wed, 18 Aug 2010 20:51:48 +0100 Message-ID: <4C6C39D4.9070600@abpni.co.uk> References: <4C6B10CA.4090604@abpni.co.uk> <1282130834.27243.44.camel@enterprise.ims-firmen.de> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1282130834.27243.44.camel@enterprise.ims-firmen.de> Sender: netfilter-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Thomas Jacob , netfilter@vger.kernel.org > On Tue, 2010-08-17 at 23:44 +0100, Jonathan Tripathy wrote: > >> Hi Everyone, >> > >> I know a previous poster mentioned that when adding a host to a bridge, >> for a few seconds all packets get sent everywhere, however does this >> only apply to the bridge that the new host was added to, or all bridges >> in the system? >> > As Stephen already said, this is the standard behaviour of Ethernet > bridges (=switches), that bridges are somehow a security device > for separating Ethernet nodes is an urban myth (unless you employ > other techniques like 801.2q VLANs) > Yes, I understand this and this is acceptable, as all switches do this. My main concern is that do the frames stay within the respective bridge or not. > >> Reason I ask is that I am considering have one bridge for public traffic >> and one bridge for private, and don't want private traffic to be seen by >> hosts connected to the public bridge. >> > But if you configure two bridge devices (br0& br1) on your Linux box, > what you get is two separate Ethernets (broadcast domains really), > that cannot directly talk to each other over the Ethernet layer, unless > resorting to a router somewhere (assuming your Ethernets are not > connected to each other elsewhere). > > In essence, such a setup should behave as if you had two different > Ethernet switches somewhere and the private machines are only connected > to the private switch and the public machines are only connected > to the public switch. > This is exactly what I want :) > Whether this setup makes any sense in your case is another matter > though... > > > Makes perfect sense