Re: multicast at the data layer (layer 2) non-flooding ?




George Nychis wrote:
> Hi,
>
> I am looking into multicast in a private network at the data layer.
> Basically what I need is multicast which is not flooded within a LAN.
> Therefore, if there are 5 hosts connected to a router, I would like to
> do layer 2 multicast such that 4 hosts in the network for example can
> be in a multicast group without host 5 hearing any of the traffic. I
> believe multicast at the data layer does this.
>
> This is a general network question and not related to linux, but I
> could not find a general networking group on usenet that is active and
> seems to have intelligent readers!

Well, you're asking in a Linux ng, so expect examples and links to be
Linux related. If you want general multicasting info, use google :-)

http://www.tldp.org/HOWTO/Multicast-HOWTO.html#toc1
http://www.tldp.org/HOWTO/Multicast-HOWTO-2.html#ss2.1
[look down to Mapping of IP Multicast Addresses to Ethernet/FDDI
addresses.]
http://www.linuxjournal.com/article/3041
http://www.linuxjournal.com/article/6070
http://www.oser.org/~oser/ds/node27.html
http://www.linuxfocus.org/English/January2001/article144.shtml
http://www.faqs.org/rfcs/rfc1112.html < Host extensions for IP
multicasting

As to what I think your question is (ie., how to multicast without
unnecessary traffic on the wire) you do, indeed, need some basic info
on multicasting.

At the link layer, when you join a multicast group, you inform your
kernel (or whatever contols the TCP/IP stack in your OS of choice) that
you want to listen for certain traffic, traffic that will have a
defined data link address. It's sorta like adding an additional MAC
address to your system. So to get a better idea of how it works, try
the first link -- it has a short explanation of how multicast link
layer addresses are formed.

The other links are programming examples.

If you plan to multicast beyond the local link, you will also need to
get up to speed on multicast routing. The first link will barely get
you started. Check its refs. Then check their refs. Or google.

good luck,
prg

.



Relevant Pages

  • Re: multicast at the data layer (layer 2) non-flooding ?
    ... > I am looking into multicast in a private network at the data layer. ... > Basically what I need is multicast which is not flooded within a LAN. ... hierarchy (i.e. more than 1 switch in your net), ...
    (comp.os.linux.networking)
  • multicast at the data layer (layer 2) non-flooding ?
    ... I am looking into multicast in a private network at the data layer. ... Basically what I need is multicast which is not flooded within a LAN. ... Therefore, if there are 5 hosts connected to a router, I would like to ...
    (comp.os.linux.networking)
  • Re: Maximum MAC multicast filters? --clarified--
    ... > I want to subscribe to lots of layer 3 multicast groups. ... many NICs use an imperfect hash to filter ...
    (comp.dcom.lans.ethernet)
  • Re: Maximum MAC multicast filters? --clarified--
    ... >> There are 2^23 MAC layer multicast addresses. ... I want to subscribe to lots of layer 3 multicast groups. ...
    (comp.dcom.lans.ethernet)
  • Re: Multicast in hsrp scenario
    ... Multicast traffic doesn't use HSRP. ... IP Multicast is just a way to do layer ... which is the MAC address of the router. ... rA port E0 and rB port E0 and all the switch ports ...
    (comp.dcom.sys.cisco)