From owner-freebsd-questions@FreeBSD.ORG Mon Jan 19 13:05:55 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B69616A4CE for ; Mon, 19 Jan 2004 13:05:55 -0800 (PST) Received: from mail.valuehost.co.uk (mail.valuehost.co.uk [62.25.99.6]) by mx1.FreeBSD.org (Postfix) with SMTP id BC3B743D41 for ; Mon, 19 Jan 2004 13:05:49 -0800 (PST) (envelope-from bjorn@eikeland.info) Received: (qmail 6221 invoked by uid 89); 19 Jan 2004 21:05:35 +0000 Received: from unknown (HELO beer) (bjorn@eikeland.info@80.202.108.191) by mail.valuehost.co.uk with SMTP; 19 Jan 2004 21:05:35 +0000 Date: Mon, 19 Jan 2004 22:05:49 +0100 To: Alex References: <314288816.20040119221325@land.ru> From: Bjorn Eikeland Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <314288816.20040119221325@land.ru> User-Agent: Opera7.21/Win32 M2 build 3218 cc: "freebsd-questions@freebsd.org" Subject: Re: Bridge problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2004 21:05:55 -0000 > I have a three ethernet adapter and need to bridge two of them > (like an Ethernet switch but with firewall) > But i have a some problem... > When i enter > # sysctl net.link.ether.bridge_cfg=lnc0:0,lnc1:0 > i saw next: >>> now lnc0 promisc ON if_flags 0xffff8943 bdg_flags 0x5 >>> now lnc0 promisc ON if_flags 0xffff8943 bdg_flags 0x5 >>> now lnc1 promisc ON if_flags 0xffff8943 bdg_flags 0x5 >>> now lnc1 promisc ON if_flags 0xffff8943 bdg_flags 0x5 >>> now lnc2 promisc ON if_flags 0xffff8943 bdg_flags 0x5 >>> now lnc2 promisc ON if_flags 0xffff8943 bdg_flags 0x5 > What is it means? > When i try ping from net1 to net2 that's don't work... > Please help, give me advice It means that the network cards are entering promiscous mode, which in turn means it will pick all packets that passes its physical layer and then the bridge code will forward it to the other interface. _however_ lnc2 should not enter promiscous mode if its not a part of the bridge? Post what version you're using and the rest of your sysctl statements for the bridge, also is it the kernel module or compiled in kernel? (Maybe you'll have more luck with this in the freebsd-net list?) hth, Bjorn