Date: Wed, 11 Jan 2006 10:48:26 -0800 (PST) From: Danial Thom <danial_thom@yahoo.com> To: Peter Wood <peter@alastria.net>, Dave Raven <dave@raven.za.net> Cc: freebsd-questions@freebsd.org Subject: Re: Bridging a Cisco Trunk Message-ID: <20060111184826.28168.qmail@web33308.mail.mud.yahoo.com> In-Reply-To: <43C54E5D.8060608@alastria.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--- Peter Wood <peter@alastria.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060111184826.28168.qmail>