Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Dec 2008 08:25:56 +0100
From:      Goran Lowkrantz <goran.lowkrantz@ismobile.com>
To:        pyunyh@gmail.com
Cc:        stable@freebsd.org
Subject:   Re: Regression in vr - not receiveing multicast
Message-ID:  <47381931A80CB93CADD10DC7@[172.16.2.128]>
In-Reply-To: <20081210071932.GD37837@cdnetworks.co.kr>
References:  <C882ECF018726481EDA359B3@[172.16.2.124]> <20081209114723.GE33723@cdnetworks.co.kr> <80D07D8C17DAC73D69DCDC9A@[172.16.2.124]> <AF36DEA1E8494FE126472BC4@[172.16.2.128]> <20081210071932.GD37837@cdnetworks.co.kr>

next in thread | previous in thread | raw e-mail | index | archive | help
--On December 10, 2008 16:19:33 +0900 Pyun YongHyeon <pyunyh@gmail.com> 
wrote:

> On Wed, Dec 10, 2008 at 08:06:16AM +0100, Goran Lowkrantz wrote:
>  > --On December 9, 2008 12:53:05 +0100 Goran Lowkrantz
>  > <glz@hidden-powers.com> wrote:
>  >
>  > >--On December 9, 2008 20:47:23 +0900 Pyun YongHyeon <pyunyh@gmail.com>
>  > >wrote:
>  > >
>  > >>On Tue, Dec 09, 2008 at 10:40:17AM +0100, Goran Lowkrantz wrote:
>  > >> > Hi,
>  > >> >
>  > >> > in July, vr had this problem and was fixed:
>  > >> > <http://www.FreeBSD.org/cgi/query-pr.cgi?pr=125010>;
>  > >> > <http://www.FreeBSD.org/cgi/query-pr.cgi?pr=125024>;
>  > >> >
>  > >> > 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<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 
mtu 1500
	options=284b<RXCSUM,TXCSUM,VLAN_MTU,POLLING,WOL_UCAST,WOL_MAGIC>
	ether 00:00:24:c8:e0:9c
	inet xxx.xxx.xxx.xxx netmask 0xfffffff8 broadcast xxx.xxx.xxx.yyy
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active


/glz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47381931A80CB93CADD10DC7>