Jump to content

Multicast: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Javifs (talk | contribs)
Move over content to IP Multicast, it makes more sense there.
Line 41: Line 41:


IP Multicast is widely deployed in enterprises, commercial [[stock exchange]]s and multimedia content delivery networks. A common enterprise use of IP Multicast is for [[IPTV]] applications such as distance learning and televised company meetings.
IP Multicast is widely deployed in enterprises, commercial [[stock exchange]]s and multimedia content delivery networks. A common enterprise use of IP Multicast is for [[IPTV]] applications such as distance learning and televised company meetings.

==Multicast technologies on LANs==

Some network-level protocols support multicast in order to handle multicast technologies on [[local area network]]s.

In [[Ethernet]] networks supporting IPv4, the [[MAC address]] of multicast destination addresses are based on an [[Organizationally_Unique_Identifier|OUI]] assigned to the IETF ( 0x01005, or 01:00:5e) compounded with the group identifier, which is based on the layer 3 multicast address.

Switches that cannot understand multicast addresses will broadcast traffic sent to a multicast group to all the members of a LAN, in this case the system's network card (and operating system) have to filter the packets sent to multicast groups they are not subscribed to.

Switches that do understand multicast maintain a state table of which network systems are subscribed to a given multicast group and forwards traffic destined to a given group only to a limited set of ports. This is done through the implementation of [[IGMP snooping]].

Additionally, some switches with layer 3 capabilities can act as an [[IGMP]] querier. In networks where there is no router is present (or enable) to act as a multicast router a switch might be used to generate the needed IGMP messages to get users to subscribe to multicast traffic.


==Multicast in use==
==Multicast in use==

Revision as of 15:26, 21 November 2007

Multicast is the delivery of information to a group of destinations simultaneously using the most efficient strategy to deliver the messages over each link of the network only once, creating copies only when the links to the destinations split.

The word "Multicast" is typically used to refer to IP Multicast, the implementation of the multicast concept on the IP routing level, where routers create optimal distribution paths for datagrams sent to a multicast destination address spanning tree in realtime. But there are also other implementations of the multicast distribution strategy listed below.

Routing schemes
Unicast

Broadcast

Multicast

Anycast

Multicast technologies on the Internet

IP Multicast is a technique for many-to-many communication over an IP infrastructure. It scales to a larger receiver population by not requiring prior knowledge of who or how many receivers there are. Multicast utilizes network infrastructure efficiently by requiring the source to send a packet only once, even if it needs to be delivered to a large number of receivers. The nodes in the network take care of replicating the packet to reach multiple receivers only where necessary.

Key concepts in IP Multicast include an IP Multicast group address, a multicast distribution tree and receiver driven tree creation.

An IP Multicast group address is used by sources and the receivers to send and receive content. Sources use the group address as the IP destination address in their data packets. Receivers use this group address to inform the network that they are interested in receiving packets sent to that group. For example, if some content is associated with group 239.1.1.1, the source will send data packets destined to 239.1.1.1. Receivers for that content will inform the network that they are interested in receiving data packets sent to the group 239.1.1.1. The receiver "joins" 239.1.1.1. The protocol used by receivers to join a group is called the Internet Group Management Protocol or IGMP.

Once the receivers join a particular IP Multicast group, a multicast distribution tree is constructed for that group. The protocol most widely used for this is Protocol Independent Multicast or PIM. It sets up multicast distribution trees such that data packets from senders to a multicast group reach all receivers which have "joined" the group. E.g. all data packets sent to the group 239.1.1.1 are received by receivers who joined 239.1.1.1. There are many different flavors of PIM: Sparse Mode (SM), Dense Mode (DM), Source Specific Mode (SSM) and Bidirectional Mode (Bidir). Of these PIM-SM is the most widely deployed as of 2006, SSM and Bidir are simpler and more scalable variations developed more recently and gaining in popularity.

IP Multicast does not require a source sending to a given group to know about the receivers of the group. The multicast tree construction is initiated by network nodes which are close to the receivers or is receiver driven. This allows it to scale to a large receiver population.

Multicast (top) compared with unicast broadcasting (bottom). Orange circles represent endpoints, and green circles represent routing points.

While IP Multicast uses a designated multicast address, the Explicit Multi-Unicast (XCAST) uses the unicast addresses of all the destinations, instead. Since the IP packet size is limited in general, XCAST cannot be used for multicast groups of large number of destinations.

The XCAST model generally assumes that the stations participating in the communication are known ahead of time, so that distribution trees can be generated and resources allocated by network elements in advance of actual data traffic. By contrast, the IP Multicast model has been described by Internet architect Dave Clark as "You put packets in at one end, and the network conspires to deliver them to anyone who asks."

The IP Multicast model requires a great deal more state inside the network than the IP unicast model of best-effort delivery does, and this has been the cause of some criticism. Also, no mechanism has yet been demonstrated that would allow the IP Multicast model to scale to millions of senders and millions of multicast groups and, thus, it is not yet possible to make fully-general multicast applications practical in the commercial Internet.

IP Multicast creates state per multicast distribution tree in the network. I.e. current IP Multicast routing protocols do not aggregate state corresponding to multiple distribution trees. So if a router is part of 1000 multicast trees, it has 1000 multicast routing and forwarding entries. As a result there are worries about scaling multicast to large numbers of distribution trees. However, because multicast state exists only along the distribution tree it is unlikely that any single router in the Internet maintains state for all multicast trees. This is a common mis-understanding compared to unicast. A unicast router needs to know how to reach all other unicast addresses in the Internet, even if it does this using just a default route. For this reason, aggregation is key to scaling unicast routing. Also, there are core routers that carry routes in the hundreds of thousands because they contain the Internet routing table. On the other hand, a multicast router does not need to know how to reach all other multicast trees in the Internet. It only needs to know about multicast trees for which it has receivers downstream of it. This is key to scaling multicast. It is very unlikely that core Internet routers would need to keep state for all multicast distribution trees, they only need state for trees with downstream membership.

As of 2006, most efforts at scaling multicast up to large networks have concentrated on the simpler case of single-source multicast, which seems to be more computationally tractable.

For both these reasons, and also reasons of economics, IP Multicast is not in general use in the commercial Internet. Other multicast technologies not based on IP Multicast are more widely used. These include Internet Relay Chat (IRC) and PSYC, which are more pragmatic and scale better for large numbers of small groups. IRC implements a spanning tree across its overlay network whereas PSYC uses custom multicast strategies per conference. Also some Peer-to-peer technologies employ the multicast concept when distributing content to multiple recipients.

IP Multicast is widely deployed in enterprises, commercial stock exchanges and multimedia content delivery networks. A common enterprise use of IP Multicast is for IPTV applications such as distance learning and televised company meetings.

Multicast in use

Recently the BBC has begun encouraging UK-based ISPs to adopt Multicast onto their networks by providing BBC Radio at higher quality than is available via their Unicast delivered services. This has also been supported by a variety of commercial radio networks - including Virgin Radio, GCAP and EMAP. Television services will also be available.

See also