From owner-freebsd-stable@FreeBSD.ORG Wed Dec 10 07:25:59 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9E901065673 for ; Wed, 10 Dec 2008 07:25:59 +0000 (UTC) (envelope-from goran.lowkrantz@ismobile.com) Received: from mail.ismobile.com (mail.ismobile.com [62.119.44.68]) by mx1.freebsd.org (Postfix) with ESMTP id 468C38FC0C for ; Wed, 10 Dec 2008 07:25:59 +0000 (UTC) (envelope-from goran.lowkrantz@ismobile.com) Received: from mail.ismobile.com (localhost [127.0.0.1]) by mail.ismobile.com (Postfix) with ESMTP id 051BE285; Wed, 10 Dec 2008 08:25:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=ismobile.com; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=selector1; bh=Vll5PDX VpthSUj5fdLlDc88rXjU=; b=YRqWfRDuescqfJsfirVtrjahJCEDN+UBq47h9+f Xj9wWijXkIDvH2bLslpw1D1RJh0UzF3kQAzQjB30rhemv70tZQCkK0f8B1U7Vebk nUX58fuYfvhKsUWMfLm9+eEdgD/mDViCTOmCpWuiU8ieFADum/fFvvR6ijD0dOYG 6kBc= Received: from [172.16.2.128] (syn.hq.ismobile.com [172.16.2.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.ismobile.com (Postfix) with ESMTPSA id 4176C284; Wed, 10 Dec 2008 08:25:57 +0100 (CET) Date: Wed, 10 Dec 2008 08:25:56 +0100 From: Goran Lowkrantz To: pyunyh@gmail.com Message-ID: <47381931A80CB93CADD10DC7@[172.16.2.128]> In-Reply-To: <20081210071932.GD37837@cdnetworks.co.kr> References: <20081209114723.GE33723@cdnetworks.co.kr> <80D07D8C17DAC73D69DCDC9A@[172.16.2.124]> <20081210071932.GD37837@cdnetworks.co.kr> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: stable@freebsd.org Subject: Re: Regression in vr - not receiveing multicast X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2008 07:25:59 -0000 --On December 10, 2008 16:19:33 +0900 Pyun YongHyeon wrote: > On Wed, Dec 10, 2008 at 08:06:16AM +0100, Goran Lowkrantz wrote: > > --On December 9, 2008 12:53:05 +0100 Goran Lowkrantz > > wrote: > > > > >--On December 9, 2008 20:47:23 +0900 Pyun YongHyeon > > >wrote: > > > > > >>On Tue, Dec 09, 2008 at 10:40:17AM +0100, Goran Lowkrantz wrote: > > >> > Hi, > > >> > > > >> > in July, vr had this problem and was fixed: > > >> > > > >> > > > >> > > > >> > but now it's back again! > > >> > > > >> > > >>There was just one bug fix since then and I guess the fix is not > > >>related with your issue. > > >> > > >> > On a system with the following: > > >> > 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #3: Thu Oct 16 12:31:04 UTC > 2008 > >> > > > >> > I have to set all vr interfaces in promisc to get routing info. > > >> > > > >> > Using Quagga > > >> > # pkg_info -Ix uagga > > >> > quagga-0.99.10_3 Free RIPv1, RIPv2, OSPFv2, BGP4, IS-IS route > > >>software > > > >> > on an inner network using RIPv2 > > >> > # ifmcstat -i vr0 > > >> > vr0: > > >> > inet xxx.xxx.xxx.xxx > > >> > group 224.0.0.9 > > >> > igmpv2 > > >> > mcast-macaddr 01:00:5e:00:00:09 refcnt 1 > > >> > group 224.0.0.1 > > >> > mcast-macaddr 01:00:5e:00:00:01 refcnt 1 > > >> > > > >> > > > >> > On the same box, we have some em devices also and they work > without > >>any > problems. > > >> > > > >> > > >>There is fundamental differences between em(4) and vr(4). The > > >>vr(4) for VT6105M takes advantage of perfect multicast filtering > > >>feature which is not present on all em(4) interface. Perfect > > >>multicast filtering can reduce unwanted multicast traffics such > > >>that it could save a lot of CPU cycles. The downside is that vr(4) > > >>cannot accept multicast frames for a multicast group without > > >>joining the multicast group first. > > >>For multicast routing purpose I guess 'options MROUTING' kernel > > >>option should be enabled to accept all multicast frames. > > >>Does your kernel have that option? > > > > > >No it has not. I will create such a beast and return with stories. > > > > > > > > > I have tried with 'options MROUTING' and it didn't work. > > > > Did I miss something? Do I have to install and run mrouted also? > > > > It seems like maybe the first two packages are accepted after > registration > as I don't lose the routes until after about 6 min > uptime. But to get > further updates, I need the interfaces in promisc. > > > > So, next step? > > > > Can you see ALLMULTI flag from the output of "ifconfig vr0"? > No -> # ifconfig vr0 vr0: flags=8943 metric 0 mtu 1500 options=284b ether 00:00:24:c8:e0:9c inet xxx.xxx.xxx.xxx netmask 0xfffffff8 broadcast xxx.xxx.xxx.yyy media: Ethernet autoselect (100baseTX ) status: active /glz