Intro Multicast
Intro Multicast
Intro Multicast
lticast: A single data stream from the server is needed to reach all client
Single Data
Stream Network
Server
Clients
Source Receivers
10.0.101.2224.7.7.7 UDP M-cast
SA DA Data
Components:
• Source: Originator of multicast IP packets
• Multicast IP packet: An IP packet destined for a
multicast group address
• Group address: An IP address in the range of 224/4
• Receivers: IP hosts interested in receiving data destined
for a particular group address (also called group
members)
• DR: Router closest to the source that forwards multicast
IP packets
© 2012 Juniper Networks, Inc. All rights reserved. www.juniper.net | 4
Multicast Components (2 of 2)
Group
Network Membershi
p Protocol
RP
10.1.1.1
R1
R2
R3 R4
Source Tree R5
(S, G) State
Group: 224.7.7.7
R6
Source: Shared RPT
192.168.100.10 Tree
(*,G) State
Group:
224.7.7.7
Source: *
Receiver
224.7.7.7
1 1 1 0 Multicast Group ID
01-00-5e-0A-08-05
25 bits 23 bits
MAC Address (48 Bits)
0 0 0 0 0 0 0 1 00 0 0 0 0 0 0 0 1 0 1 1 1 1 0 0 0 0 0 1 0 1 0 0 0 0 0 1 0 0 0 00 0 0 0 1 0 1
0 1 0 0 5 E 0 A 0 8 0 5
192.168.100.0/24
Protocol: OSPF
Interface: ge-0/0/4.125
Neighbor: 172.18.1.1
172.18.1.1
ge-0/0/4.125
Packet
Multicast Traffic
et
ck
172.18.1.1
Pa
ge-0/0/4.125
R1
Packet from Source 1 arrives on correct
interface: forward out all outgoing
interfaces.
Multicast Traffic
Multicast Preferred
inet.0 MED = 100
inet.2 MED = 50
RPF
RPF
Unicast Preferred
inet.0 MED = 50
AS 65011 AS 65013
inet.2 MED = 100
[edit routing-options]
user@router# show rib-groups Define the RIB
inet2-rpf { group indicating use
of inet.2 for
import-rib inet.2;
lookups
}
Querier Non-
Querier
© 2012 Juniper Networks, Inc. All rights reserved. www.juniper.net | 27
IGMP Query-Response Process
Query-response process:
1. Querier router sends general query to all-hosts multicast
group (224.0.0.1)
2. Host 2 sends its report for group 224.10.1.1 first
3. Host 1 hears the response from Host 2 and suppresses its
report
4. Host 3 sends its report for the group 224.20.1.1
Host 1 Host 2 Host 3
2 4
3 Report
Report Report
224.10.1.1
224.10.1. 224.20.1.
Suppressed 1 1
General
1 Query
Router A: Router B:
Querier Non-Querier
Host 2 Host 3
1
Leave-group
Group=224.10.1
.1
Group-Specific
Query
2 Group=224.10.1
.1
Router A
(Querier)
Group Address
• Protocol version = 1
• Type
• Host membership query
• Host membership report
• Group address = group reported
• Type:
• 0x11 = Membership Query
• 0x16 = Version 2 Membership Report
• 0x17 = Leave Group
• 0x12 = Version 1 Membership Report
• Max Response Time = Time allowed to respond to
query
• Group address = Group reported
© 2012 Juniper Networks, Inc. All rights reserved. www.juniper.net | 37
IGMP Version 3
IGMP version 3 operation:
• Report message can include source information
• Required for SSM mode of operation
Router A Router B
Source=192.168.30.1
Source=172.16.20.1 IGMPv3 group-source report:
Group=224.10.1.1
Group=224.10.1.1 X D: 224.0.0.22 (All IGMPv3
(Pruned) routers)
Router C
Include 172.16.20.1,
224.10.1.1
Exclude 192.168.30.1,
Host 1 member of 224.10.1.1 224.10.1.1
Configured Parameters:
IGMP Query Interval: 125.0
IGMP Query Response Interval: 10.0
IGMP Last Member Query Interval: 1.0
IGMP Robustness Count: 2
Derived Parameters:
IGMP Membership Timeout: 260.0
IGMP Other Querier Present Timeout: 255.0