From owner-freebsd-questions@FreeBSD.ORG Sun Jan 25 04:27:45 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 33CD216A508 for ; Sun, 25 Jan 2004 04:27:41 -0800 (PST) Received: from mail.kahovka.net (mail.kahovka.net [193.0.247.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4FCE43D2D for ; Sun, 25 Jan 2004 04:27:38 -0800 (PST) (envelope-from abelmail@pisem.net) Received: by mail.kahovka.net (ISP Kahovka Net Mailserver, from userid 426) id 8023054F0; Sun, 25 Jan 2004 14:27:36 +0200 (EET) Received: from localhost (unknown [193.0.247.120]) by mail.kahovka.net (ISP Kahovka Net Mailserver) with ESMTP id 3384354EF; Sun, 25 Jan 2004 14:27:33 +0200 (EET) Date: Sun, 25 Jan 2004 14:09:31 +0200 From: Alex X-Mailer: The Bat! (v2.00.6) Personal X-Priority: 3 (Normal) Message-ID: <419323576.20040125140931@land.ru> To: Bjorn Eikeland In-Reply-To: References: <314288816.20040119221325@land.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mail.kahovka.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.60 X-Spam-Level: cc: freebsd-questions@freebsd.org Subject: Re[2]: Bridge problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Alex List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2004 12:27:45 -0000 Hello Bjorn, Monday, January 19, 2004, 11:05:49 PM, you wrote: >> 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 BE> It means that the network cards are entering promiscous mode, which in BE> turn means it will pick all packets that passes its physical layer and BE> then the bridge code will forward it to the other interface. _however_ BE> lnc2 should not enter promiscous mode if its not a part of the bridge? BE> Post what version you're using and the rest of your sysctl statements for BE> the bridge, also is it the kernel module or compiled in kernel? BE> (Maybe you'll have more luck with this in the freebsd-net list?) BE> hth, BE> Bjorn BE> _______________________________________________ BE> freebsd-questions@freebsd.org mailing list BE> http://lists.freebsd.org/mailman/listinfo/freebsd-questions BE> To unsubscribe, send any mail to BE> "freebsd-questions-unsubscribe@freebsd.org" Hello! I was know about this list from article "How to get best results from the FreeBSD-questions mailing list" which i find on my freeBSD 4.5 RELISE CD, but i don't know about freebsd-net list... Please tell how i can subscribe to it. About bridgin - now it work, i think my misstake was what i'm configure all ethernet adapter... But it worck only if computer in one subnet ,like 192.168.1.2<--->192.168.1.1<--->192.168.1.3 win98 FreeBSD win98 bridge firewall And it is necessary to me setup freebsd like: 192.168.1.2-21<----->192.168.1.1<----->192.168.2.2-5 net1 192.168.2.1 net2 (20 comp. FreeBSD (4 comp. win98) firewall win98/XP) computers from net2 must access net1 shared I was try to forwart all packet from net1 to net2 and from net 2 to net 1 but when i ping a computer it recive packet with field 'from' 192.168.1.255 and it's don't work... I was try to start routed and setup route table, but still don't work... So, maybe, you can tell me how i must to do that correct... Or, maybe, any link with article or howto's... I will be very grateful! -- Best regards, Alex mailto:abellist@land.ru