From owner-freebsd-questions@FreeBSD.ORG Wed Jan 11 18:48:29 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 7A33E16A41F for ; Wed, 11 Jan 2006 18:48:29 +0000 (GMT) (envelope-from danial_thom@yahoo.com) Received: from web33308.mail.mud.yahoo.com (web33308.mail.mud.yahoo.com [68.142.206.123]) by mx1.FreeBSD.org (Postfix) with SMTP id A1F0F43D45 for ; Wed, 11 Jan 2006 18:48:26 +0000 (GMT) (envelope-from danial_thom@yahoo.com) Received: (qmail 28170 invoked by uid 60001); 11 Jan 2006 18:48:26 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=j2HCpRD/cI5A1QNNLgxOqkLId3wr9zDRiW3VkWihtYJd39MxQnDxyccDI1d3/QkdpE3iLvX7ZiHj1K2AOdN/cLehwQ0YqbVeKLuYVSej3V9m0p5SIcQMpMaZWlhMOdHIVu9slkiD+iso8d+HRYeRaURGK5lrG0LA/reV3fn5eNM= ; Message-ID: <20060111184826.28168.qmail@web33308.mail.mud.yahoo.com> Received: from [24.46.186.215] by web33308.mail.mud.yahoo.com via HTTP; Wed, 11 Jan 2006 10:48:26 PST Date: Wed, 11 Jan 2006 10:48:26 -0800 (PST) From: Danial Thom To: Peter Wood , Dave Raven In-Reply-To: <43C54E5D.8060608@alastria.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: Bridging a Cisco Trunk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: danial_thom@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2006 18:48:29 -0000 --- Peter Wood wrote: > Dave, > > > I have two cisco switches, configured to > put ports 2-6 on each of > > them into vlan 100. Then I have port 1 on > both set to trunk between > the two > > switches. If I have a device on port 2 on > switch1 it can ping a device on > > port 2 on switch2. > > I do this quite often, and it works very well > on 6.0 for me. You haven't > mentioned what version your using, but I will > assume you have if_bridge. > If you don't and you're gonna use this machine > alot for bridging, I'd > recommend moving to 6.0. > > So presumably, you have two interfaces, plugged > into the trunk port on > each cisco. For arguements sake, we'll say you > have an fxp0 and fxp1. > > So first step is you need to make sure these > two interfaces are "up", > very important, if they arn't, then it wont > work. It's easy to forget if > you arn't assigning IP's to them. > > Remove "polling" if you don't have it compiled > into the kernel, but > again if you're gonna be bridging packets alot, > get it compiled in. It > helps.... alot. > > ifconfig_fxp0="up polling" > ifconfig_fxp1="up polling" Here we go again with polling. If it "helps alot", did you ever think that maybe interrupt processing on the OS is broken? Because at best it should make a nominal difference. We've already established that FreeBSD doesn't properly account for CPU usage when polling, so what's "alot" better about it? fxp controllers are hard coded to interrupt a maximum of 6000 times per second, which on a modern CPU isn't going to make a noticable difference. In fact 1000 HZ ticks per second probably has just as much overhead with all the other crap it has to do on each tick. DragonflyBSD doesn't even support polling because is *should* be a waste of time (do you think that Matt Dillon is clueless also?). I'm really baffled by the lack of understanding of this subject by virtually everyone in FreeBSDland. DT __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com