Title: An Introduction to IP Multicast
1An Introduction to IP Multicast
2The Problem
- Its election night 2056 at RepubliCrat National
Headquarters. Results are pouring in from all
over the country for aggregation on a CORBA.NET
server. By 7pm, 50 million voters have activated
their Election Results Page using an ASP.NET
client on their PC, and all 50 million clients
want instantaneous updates from that single
server
3Presentation Overview
- This presentation provides a technical
introduction to IP Multicast concepts and
technical features. - It discusses the requirements for IP Multicast
delivery, addressing, host group management, and
some approaches to multicast routing.
4IP Multicast Background
- IP Multicast is a bandwidth-conserving technology
that reduces network traffic - Simultaneously deliver a single stream of
information to thousands of recipients - Corporate and homes
- It does not add any additional burden on the
source or receivers while using the least network
bandwidth
5IP Multicast Background, contd.
- Multicast packets are replicated in the network
by routers enabled with Protocol Independent
Multicast (PIM) and other supporting multicast
protocols - This configuration is the most efficient delivery
of data to multiple receivers
6Suitable Applications
- Video conferencing
- Corporate communications
- Distance learning
- Stock quotes
- Software distribution
- News
7Three forms of casting
- Unicasting point-to-point
8Three forms of casting
- Unicasting point-to-point
- Broadcasting everyone on a subnet
9Three forms of casting
- Unicasting point-to-point
- Broadcasting everyone on a subnet
- Multicasting one-to-many or many-to-many
10The Multicast Concept
- Receivers join a particular multicast host group
11The Multicast Concept
- Receivers join a particular multicast host group
- Traffic is delivered to all members of that group
by the network infrastructure
12The Multicast Concept
- Receivers join a particular multicast host group
- Traffic is delivered to all members of that group
by the network infrastructure - The sender does not need to maintain a list of
receivers
13The Multicast Concept
- Receivers join a particular multicast host group
- Traffic is delivered to all members of that group
by the network infrastructure - The sender does not need to maintain a list of
receivers - Only one copy of a multicast message will pass
over any link in the network.
14Multicast Requirements
- Support for Multicast in the TCP/IP stack
15Multicast Requirements
- Support for Multicast in the TCP/IP stack
- Support for IGMP to communicate requests to join
multicast groups and receive traffic
16Multicast Requirements
- Support for Multicast in the TCP/IP stack
- Support for IGMP to communicate requests to join
multicast groups and receive traffic - NICs which understand Multicast addresses
17Multicast Requirements
- Support for Multicast in the TCP/IP stack
- Support for IGMP to communicate requests to join
multicast groups and receive traffic - NICs which understand Multicast addresses
- IP Multicast-capable network routers
18Multicast Requirements
- Support for Multicast in the TCP/IP stack
- Support for IGMP to communicate requests to join
multicast groups and receive traffic - NICs which understand Multicast addresses
- IP Multicast-capable network routers
- Firewalls which permit IP Multicast traffic
19Multicast Requirements
- Support for Multicast in the TCP/IP stack
- Support for IGMP to communicate requests to join
multicast groups and receive traffic - NICs which understand Multicast addresses
- IP Multicast-capable network routers
- Firewalls which permit IP Multicast traffic
- IP Multicast application software
20Multicast-enabled components
21IP Multicast Addressing
- Class D 1110 as high-order four bits
22IP Multicast Addressing
- Class D 1110 as high-order four bits
- 256 million IP Multicast addresses
23IP Multicast Addressing
- Class D 1110 as high-order four bits
- 256 million IP Multicast addresses
- 224.0.0.0 to 239.255.255.255
24IP Multicast Addressing
- Class D 1110 as high-order four bits
- 256 million IP Multicast addresses
- 224.0.0.0 to 239.255.255.255
- Some permanent addresses, such as 224.0.0.1 (all
hosts group on LAN).
25IP Multicast Addressing
- Class D 1110 as high-order four bits
- 256 million IP Multicast addresses
- 224.0.0.0 to 239.255.255.255
- Some permanent addresses, such as 224.0.0.1 (all
hosts group on LAN). - Some reserved, such as 224.0.0.0 to 224.0.0.255
for routing protocols
26IP Multicast Addressing
- Class D 1110 as high-order four bits
- 256 million IP Multicast addresses
- 224.0.0.0 to 239.255.255.255
- Some permanent addresses, such as 224.0.0.1 (all
hosts group on LAN). - Some reserved, such as 224.0.0.0 to 224.0.0.255
for routing protocols - Automatic routing discovery
- Exchange link state information
- Rest are dynamically assigned as needed
27Receiving Multicast Datagrams
- Application requests membership in the group
associated with a particular multicast
28Receiving Multicast Datagrams
- Application requests membership in the group
associated with a particular multicast - Request is communicated to the LAN router
29Receiving Multicast Datagrams
- Application requests membership in the group
associated with a particular multicast - Request is communicated to the LAN router
- Request may be forwarded to intermediate WAN
routers between sender and receiver
30Receiving Multicast Datagrams
- Application requests membership in the group
associated with a particular multicast - Request is communicated to the LAN router
- Request may be forwarded to intermediate WAN
routers between sender and receiver - NIC starts filtering for multicast packets
31Receiving Multicast Datagrams
- Application requests membership in the group
associated with a particular multicast - Request is communicated to the LAN router
- Request may be forwarded to intermediate WAN
routers between sender and receiver - NIC starts filtering for multicast packets
- WAN routers deliver Multicast packets to LAN
router, which maps to MAC address
32Binding
- IP unicast address is statically bound to a
single NIC on a single IP network.
33Binding
- An IP unicast address is statically bound to a
single NIC on a single IP network - An IP host group address is dynamically bound to
a set of NICs on a set of IP networks
34Binding
- An IP unicast address is statically bound to a
single NIC on a single IP network - An IP host group address is dynamically bound to
a set of NICs on a set of IP networks - An IP host group address is not bound to a set of
IP unicast addresses
35Binding
- An IP unicast address is statically bound to a
single NIC on a single IP network - An IP host group address is dynamically bound to
a set of NICs on a set of IP networks - An IP host group address is not bound to a set of
IP unicast addresses - Multicast routers only need to know the groups
for which there is one member on the subnetwork
36IGMP
- The Internet Group Management Protocol is used by
multicast routers to learn the existence of host
group members on their directly attached subnets.
37IGMP Messages
- To determine if any hosts on a local subnet
belong to a multicast group, one multicast router
per subnet periodically sends a hardware (data
link layer) IGMP Host Membership Query to all IP
end nodes on its LAN, asking them to report back
on the host groups memberships of their
processes. This query is sent to the all-hosts
group (224.0.0.1).
38IGMP Messages (continued)
39IGMP Messages (continued)
- To avoid network congestion, each host delays
its report by a random interval if it has not
seen a report for the same group from another
host. As a result, only one report is sent in
response for each active group address per
subnet, although many hosts may have memberships.
40IGMP Messages (continued)
- IGMP updates are used by multicasting routers to
communicate host group memberships to neighboring
routers, propagating group information through
the internet.
41Routing
- Multicast routers interact with each other to
exchange information about neighboring routers.
To avoid duplication of effort, a single router
is selected (via IGMP) as the Designated Router
for each physical network.
42Spanning Trees
- For efficient transmission, Designated Routers
construct a spanning tree that connects all
members of an IP Multicast group. - Minimal number of edges (transmission links) to
guarantee delivery of source data packets to
receivers
43Spanning Trees (continued)
44Dense-mode Multicasting
- The first approach is based on the assumption
that the multicast group members are densely
distributed throughout the network and bandwidth
is plentiful, - i.e., almost all hosts on the network belong to
the group. - So-called dense-mode multicast routing
protocols rely on periodic flooding of the
network with multicast traffic to set up and
maintain the spanning tree.
45Sparse-mode Multicasting
- The second approach to multicast routing is based
on the assumption that the multicast group
members are sparsely distributed throughout the
network and bandwidth is not necessarily widely
available - for example across many regions of the Internet
- Hence, sparse-mode'' multicast routing
protocols must rely on more selective techniques
to set up and maintain multicast trees.
46Conclusion
- IP Multicast enables many new types of
applications and reduces network congestion and
server loads. - Advances are being made in areas such as reliable
multicasting and real-time applications support.