From owner-freebsd-mobile Fri Oct 19 3:56:57 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from gvr.gvr.org (gvr.gvr.org [212.61.40.17]) by hub.freebsd.org (Postfix) with ESMTP id C7ADB37B403 for ; Fri, 19 Oct 2001 03:56:53 -0700 (PDT) Received: by gvr.gvr.org (Postfix, from userid 657) id 2B3085809; Fri, 19 Oct 2001 12:56:52 +0200 (CEST) Date: Fri, 19 Oct 2001 12:56:52 +0200 From: Guido van Rooij To: John Hay Cc: freebsd-mobile@freebsd.org Subject: Re: wi driver and multicast receive problems Message-ID: <20011019125652.A27093@gvr.gvr.org> References: <200110190916.f9J9GC237893@zibbi.icomtek.csir.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200110190916.f9J9GC237893@zibbi.icomtek.csir.co.za>; from jhay@icomtek.csir.co.za on Fri, Oct 19, 2001 at 11:16:12AM +0200 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 On Fri, Oct 19, 2001 at 11:16:12AM +0200, John Hay wrote: > Hi, > > I found that the wi driver does not receive multicast packets when set > to receive all multicast packets, ie. when running mrouted. Well that > is except if I am turning on promiscuous mode. > > Have anybody else seen it? Any ideas on how to fix it? > > Ok, here is a little longer description of what I have found. > > If I run something like ntpd with the -m option, which only listens on > a single multicast address, or routed, which only listen on a few > multicast adresses, the wi driver will receive the multicast adresses > and everything works just fine. But if I run something like mrouted, > which wants to listen to all multicast addresses, the card does not > receive any multicast packets anymore. If you do a "tcpdump -p -i wi0" > none show up. But as soon as you do a "tcpdump -i wi0" (promiscuous mode > on), multicast packets are received. > > My guess is that the the multicast filter should be programmed > differently in the ALLMULTI case than the current way of just feeding > it 16 all zero adresses. Any ideas anybody? My experience with wi is (see previous post a couple of days ago) that at least the wavelan cards sometimes fail when running in promiscuous mode. There are other reports of strange things happening within that driver. So your workaround may not always be feasible. -Guido To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message