18
IP Multicasting

Ipmulticasting

Embed Size (px)

DESCRIPTION

This presentation describes about IP Multicasting

Citation preview

Page 1: Ipmulticasting

IP Multicasting

Page 2: Ipmulticasting

Presentation Outline• Introduction about IP Multicasting• Component of Multicast service• Multicast Addressing• Multicast Groups• Multicast Routing Protocol• Internet Group Management Protocol (IGMP)• Properties of Routing Protocol• Difference between OPT-IN & OPT-OUT Protocol• Source Based Tree protocol• Shared Based Tree• PIM-Spare Mode• PIM-Dense Mode

Page 3: Ipmulticasting

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

three fundamental types of IPv4 addresses

Unicast Broadcast Multicast

Page 4: Ipmulticasting

What is Multicast?• A multicast is similar to a broadcast in the sense that its target is a

number of machines on a network, but not all

• a multicast is directed to a group of hosts

• The hosts can choose whether they wish to participate in the multicast group

Page 5: Ipmulticasting

Component of Multicast serviceThere are three essential components of the IP Multicast service:

IP Multicast Addressing

IP Group Management

Multicast Routing

Page 6: Ipmulticasting

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 7: Ipmulticasting

Multicast Groups• The set of receivers for a multicast transmission is called a multicast

group.

Key concepts in IP multicast include an IP multicast group address

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 8: Ipmulticasting

Multicast Routing Protocol1) 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 9: Ipmulticasting

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 10: Ipmulticasting

Properties of Routing ProtocolFour 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 11: Ipmulticasting

Difference between OPT-IN & OPT-OUT ProtocolOpt-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 12: Ipmulticasting

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 13: Ipmulticasting

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 14: Ipmulticasting

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 15: Ipmulticasting

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 16: Ipmulticasting

PIM-Dense Mode

1) 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 18: Ipmulticasting

Thank You