Ethernet Bridge development
 help / color / mirror / Atom feed
From: "Tomo Ceferin" <tomo@activetools.si>
To: bridge@lists.osdl.org
Subject: RE: [Bridge] Multicast
Date: Fri, 10 Jun 2005 10:39:16 +0200	[thread overview]
Message-ID: <04b601c56d97$f50df8b0$825810ac@amon> (raw)
In-Reply-To: <20050609111733.79523dd0@unknown-215.office.pdx.osdl.net>

Two mistakes I made:
1) Bridge's set_multicast_list() is never called. Only devices that create
sk_buff-s are notified of changes to mc_list member in their net_device
structure.

2) Even if someone did call it, the information in mc_list is not sufficient
to use it in implementation of multicast.

I have learned however that by implementing IGMP snooping in bridge I could
learn enough to 'properly' support multicast. By monitoring multicast group
joins and leaves I should be able to tell to which ports a multicast frame
should be forwarded.

Tomo

> -----Original Message-----
> From: Stephen Hemminger [mailto:shemminger@osdl.org] 
> Sent: 9. junij 2005 20:18
> To: Tomo Ceferin
> Cc: bridge@lists.osdl.org
> Subject: Re: [Bridge] Multicast
> 
> 
> On Thu, 9 Jun 2005 16:33:44 +0200
> "Tomo Ceferin" <tomo@activetools.si> wrote:
> 
> > True. However, allow me to make two assumptions (true in our case):
> > 1) Bridge implements set_multicast_list() and uses it to learn 
> > multicast groups.
> > 2) IPv4 or IPv6 is attached to bridge - both provide IGMP snooping 
> > which in turn feeds bridge with multicast lists through 
> > set_multicast_list().
> > 
> > With both above assumptions true, bridge now has awareness of which 
> > ports belong to which multicast groups, hence removing the need to 
> > flood all ports.
> > 
> > Am I getting something wrong?
> 
> 1. Bridge does more than IP and so it knows nothing about IP 
> protocols. Many
>    times a bridge has no IP address at all.
> 
> 2. The bridge machine itself may not be listening the 
> multicast traffic but
>    needs to forward it.
> 
> 3. If you need to do some filtering of multicast, than use 
> netfilter (ebtables)
>    to restrict the traffic.
> 


      reply	other threads:[~2005-06-10  8:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-08  7:43 [Bridge] Multicast Tomo Ceferin
2005-06-08 16:31 ` Stephen Hemminger
2005-06-09  8:48   ` Tomo Ceferin
2005-06-10 20:14     ` Ted Deppner
2005-06-09  9:02   ` Guillermo Ibáñez
2005-06-09 14:33     ` Tomo Ceferin
2005-06-09 18:17       ` Stephen Hemminger
2005-06-10  8:39         ` Tomo Ceferin [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='04b601c56d97$f50df8b0$825810ac@amon' \
    --to=tomo@activetools.si \
    --cc=bridge@lists.osdl.org \
    /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