From owner-freebsd-stable@FreeBSD.ORG Wed May 28 08:38:43 2008 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7032D1065677 for ; Wed, 28 May 2008 08:38:43 +0000 (UTC) (envelope-from daniel@skytek.it) Received: from mail.skytek.it (mail.skytek.it [217.194.176.18]) by mx1.freebsd.org (Postfix) with ESMTP id C3F808FC2A for ; Wed, 28 May 2008 08:38:42 +0000 (UTC) (envelope-from daniel@skytek.it) Received: from [192.168.30.100] ([192.168.30.100]) by mail.skytek.it (Skytek Mail Server v.11.47-p9) with ASMTP id INC62401; Wed, 28 May 2008 10:26:01 +0200 Message-ID: <483D171E.90109@skytek.it> Date: Wed, 28 May 2008 10:26:06 +0200 From: Daniel Ponticello User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Guido Falsi References: <72197513@bs1.sp34.ru> <20080528075432.GA48519@megatron.madpilot.net> In-Reply-To: <20080528075432.GA48519@megatron.madpilot.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Boris Samorodov , stable@FreeBSD.org Subject: Re: 7-STABLE: bridge and em X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2008 08:38:43 -0000 Guido Falsi ha scritto: > I discovered the same thing while experimenting with qemu and bridgeng. > I think it simply works different from (for example) widnows bridging. > > I think it's meant to be like that. > > It also looks more logical either. I think of the bridge as just a > packet router, which routes them to all the interfaces(physical and > virtual as well) so if the bridge intercepts them with it's own address > they can't ereach other interfaces, obviosusly. > > Maybe I'm wrong here? > > No, you are absolutely right! This is how bridging works. It is not necessary for the birdge interface to have its own mac address, since it will just forward the ethernet frame to all interfaces that are part of the bridge device, with an exception for the interface that received the frame. Later, when the bridge learns the mac address location, it will just forward the ethernet frame to the correct interface. Therefore, if the frame destination is the mac address of the bridge, it will not forward it, since it simply already arrived at destination. Daniel -- WBR, Cordiali Saluti, Daniel Ponticello, VP of Engineering Network Coordination Centre of Skytek --- - For further information about our services: - Please visit our website at http://www.Skytek.it ---