From owner-freebsd-mobile Sat Jul 27 21:46:21 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E077137B400 for ; Sat, 27 Jul 2002 21:46:18 -0700 (PDT) Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49ABE43E3B for ; Sat, 27 Jul 2002 21:46:14 -0700 (PDT) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.11.6/8.11.6) id g6S4jHV15973; Sun, 28 Jul 2002 06:45:17 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200207280445.g6S4jHV15973@zibbi.icomtek.csir.co.za> Subject: Re: (Retry) Bridging a wi-device with a LAN-adapter In-Reply-To: <20020727.221529.98468265.imp@bsdimp.com> from "M. Warner Losh" at "Jul 27, 2002 10:15:29 pm" To: imp@bsdimp.com (M. Warner Losh) Date: Sun, 28 Jul 2002 06:45:17 +0200 (SAT) Cc: daved@nostrum.com, freebsd@guldan.demon.nl, freebsd-mobile@FreeBSD.ORG, erik@pentadon.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > In message: <131F69C1-A1AE-11D6-9CAF-0003930B3DA4@nostrum.com> > David J Duchscher writes: > : I have been playing with bridging with wi driver (in hostap mode) > : the last few days and have seen some interesting behavior. For one, > : performance falls through the floor. This seem related to > : promiscuous mode and maybe associated with hostap mode. Performance > : of ng_bridge and BRIDGE came out the same. On ng_bridge, I turned > : off promiscuous mode on the wi interface and things still worked. > : Performance also went back up to pre bridging levels. I have no > : idea why and haven't had time to play more. > > I was at a party tonight with Todd Miller, who lives in the area and > did a lot of the OpenBSD hostap work. He tells me that if you are in > promiscuous mode, that hostap performance falls to heck (1Mbps), but > if you take it out of promiscuous mode performance returns. One of > the changes in OpenBSD that I have on my to look at list is related to > this. You do realise that you don't need it in promiscious mode if you want to do bridging? I do bridging with it (using netgraph), I just don't put it in promiscious mode. I basically took the script /usr/share/examples/netgraph/ether.bridge and hacked it to not put the wi driver in promiscious mode. John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message