ip multicast

16
IP Multicast

Upload: aqique-kazi

Post on 18-Nov-2014

662 views

Category:

Technology


1 download

DESCRIPTION

 

TRANSCRIPT

Page 1: IP multicast

IP Multicast

Page 2: IP multicast

Introduction

Multicast communications refers to one-to-many or many-to-many communications.

Unicast Broadcast Multicast

Page 3: IP multicast

What is Multicast?Multicast allows the source to send a single copy of data, using a single address for the entire group of recipients. Routers between the source and recipients use the group address to route the data. The routers forward duplicate data packets wherever the path to recipients diverges.

Page 4: IP multicast

Component of Multicast service

There are three essential components of the IP Multicast service:

IP Multicast Addressing

IP Group Management

Multicast Routing

Page 5: IP multicast

Multicast AddressingMulticast groups are identified by IP addresses in the range 224.0.0.0 - 239.255.255.255 (class D address)

Every host (more precisely: interface) can join and leave a multicast group dynamically• no access control

Every IP datagram send to a multicast group is transmitted to all members of the group• no security• Sender does not need to be a member of the group

The IP Multicast service is unreliable . . .IP Multicasting only supports UDP as higher layer

There is no multicast TCP !

Class From To

D 224.0.0.0 239.255.255.255

Page 6: IP multicast

Multicast Groups

• The set of receivers for a multicast transmission is called a multicast group.

A multicast group is identified by a multicast address

A user that wants to receive multicast transmissions joins the corresponding multicast group, and becomes a member of that group.

• After a user joins, the network builds the necessary routing paths so that the user receives the data sent to the multicast group

Page 7: IP multicast

Multicast Routing Protocol

1) Internet Group Management Protocol (IGMP)

2) Protocol Independent Multicast Sparse Mode (PIM-SM).

3) Protocol Independent Multicast Dense Mode (PIM-DM).

4) Distance Vector Multicast Routing Protocol (DVMRP).

5) Bi-directional PIM (BIDIR-PIM).

Page 8: IP multicast

Internet Group Management Protocol (IGMP)

IGMP provides three basic functions for IP multicast networks:

• JOIN: An IGMP host indicates that it wants to receive information from (“become amember of”) a multicast group.

• LEAVE: An IGMP host indicates that it no longer wishes to receive information from amulticast group.

• QUERY: An IGMP router can ask the hosts which groups they are members of. This isdone to verify a JOIN/LEAVE request or to look for error conditions.

There are 3 version of IGMP

1) IGMPv1:- Hosts can join multicast groups. There were no leave messages. Routers were using a time-out based mechanism to discover the groups that are of no interest to the members.

2) IGMPv2:- Leave messages were added to the protocol. Allow group membership termination to be quickly reported to the routing protocol, which is important for high-bandwidth multicast groups.

3) IGMPv3:- Major revision of the protocol. It allows hosts to specify the list of hosts from which they want to receive traffic from

Page 9: IP multicast

Properties of Routing Protocol

Four of the most important features of multicast routing protocols are the following.

• Whether they use opt-in or opt-out routing protocols.

• Whether they use source-based or shared trees.

• The methods they use to find the upstream router.

Page 10: IP multicast

Difference between OPT-IN & OPT-OUT Protocol

Opt-in Protocols: Opt-in or sparse protocols are designed on the assumption that most subnets in the network will not want any given multicast packet

Page 11: IP multicast

Difference between OPT-IN & OPT-OUT Protocol

In opt-out or broadcast-and-prune or dense protocols, it is initially assumed that every router on the network wishes to receive multicast data, and data is sent to all routers. Routers wishing to remove themselves from the multicast tree must then send a Prune message to the upstream router.

Page 12: IP multicast

Source Based Tree protocol1) Source based tree protocol build a separate tree for each source that send data to multicast group.

2) Router wishing to join the multicast group must specify both the source and the group of the multicast data.

3) The advantage of sourced based tree protocol are that multicast data path are always efficient and they benefit from a simpler configuration.

Page 13: IP multicast

Shared Based Tree1) Shared tree protocol build a single tree is used for all source for a multicast group.

2) The tree is rooted at some selected node called rendezvous point.

3) The root of each shared multicast tree must be selected in some manner such as pre - configuration.

Page 14: IP multicast

PIM-Spare Mode1) PIM-SM is opt-in multicast routing protocol.

2) PIM-SM by default used shared based trees with the trees rooted at a router called Rendezvous point (RP) for a group.

3) Data is send to an (RP) via encapsulation in PIM control message sent by unicast.

Page 15: IP multicast

PIM-Dense Mode1) PIM-DM is opt-out multicast routing protocol.2) PIM-DM uses source-based trees to distribute data. 3) It assumes that the receivers for any multicast group are distributed densely.4) Links on which the data is not required are removed from the tree using PIM Prune

messages. 5) PIM-DM support source based tree.

Page 16: IP multicast

Thank You