Ethernet Bridge development
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: saurav barik <saurav.barik@gmail.com>
Cc: bridge@lists.linux-foundation.org
Subject: Re: [Bridge] Multicast packets are not bridged from ethernet to wireless interface
Date: Fri, 31 Jul 2015 09:30:07 -0700	[thread overview]
Message-ID: <20150731093007.290703fe@urahara> (raw)
In-Reply-To: <CAJkjprPDtCvofL13CxBwhB=+kjKDP21BZpb40ycaipFcQWN+vw@mail.gmail.com>

On Fri, 31 Jul 2015 19:56:12 +0530
saurav barik <saurav.barik@gmail.com> wrote:

> Thanks Linus.
> Sorry, it will not be possible to move to recent kernel.
> 
> How does the mdb gets updated for multicast addresses? Is it learnt on
> basis of packets received from the network? For example, the multicast
> address I use for iperf is 234.100.100.100. I mentioned two scenarios in my
> earlier email. In case of eth0 being the active port on the mbr (multicast
> working scenario), I see br_multicast_new_group() and
> br_multicast_add_group() being called for this IP address moments after mbr
> is up. However in case of wlan0 as the uplink port of mbr, I don't see
> those functions being called.
> 
> I guess for unicast packets, if the entry is not present in fdb, the packet
> is flooded on all other ports and its learnt and added to fdb based on the
> port on which response packet arrives. Is it true for Multicast packets too?
> 
> Regards,
> Saurav
> 
> On Fri, Jul 31, 2015 at 7:27 PM, Linus Lüssing <linus.luessing@c0d3.blue>
> wrote:
> 
> > Hi Saurav,
> >
> > On Fri, Jul 31, 2015 at 03:50:35PM +0530, saurav barik wrote:
> > > I am working on an Access Point device (AP1) running linux kernel 3.0.34
> > on
> > > which my bridge configuration is as follows.
> >
> > There were quite some crucial bugs, I'm not quite sure whether
> > 3.0.34 was actually usuable for multicast snooping.
> >
> > Any chance to try a recent kernel?
> >
> > Cheers, Linus
> >

Multicast forwarding table is built off IGMP messages
When application joins a multicast group an IGMP is sent, and bridge
snoops for that.

      reply	other threads:[~2015-07-31 16:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-31 10:20 [Bridge] Multicast packets are not bridged from ethernet to wireless interface saurav barik
2015-07-31 13:57 ` Linus Lüssing
2015-07-31 14:26   ` saurav barik
2015-07-31 16:30     ` Stephen Hemminger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150731093007.290703fe@urahara \
    --to=stephen@networkplumber.org \
    --cc=bridge@lists.linux-foundation.org \
    --cc=saurav.barik@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox