Multimedia Networking: #6 IP Multicast Semester Ganjil 2012 PTIIK Universitas Brawijaya
Multimedia Networking: #6 IP Multicast Semester Ganjil 2012 PTIIK Universitas Brawijaya
Multimedia Networking: #6 IP Multicast Semester Ganjil 2012 PTIIK Universitas Brawijaya
#6 IP Multicast
Semester Ganjil 2012
PTIIK Universitas Brawijaya
8. Overlay Multicast
9. CDN: Solutions
10.CDN: Case Studies
11.QoS on the Internet:
Constraints
12.QoS on the Internet:
Solutions
13.Discussion
14.Summary
Multmedia Networking
Todays Outline
IP Multicast
Concept and components
Addressing architecture
IP Multicast Protocols
Multmedia Networking
IP Multicast
Multicast
Many receivers
Receiving the same content
Applications
Video conferencing
Online gaming
IP television (IPTV)
Financial data feeds
Multmedia Networking
Iterated Unicast
Unicast message to each recipient
Advantages
Simple to implement
No modifications to network
Disadvantages
High overhead on sender
Redundant packets on links
Sender must maintain list of receivers
Multmedia Networking
IP Multicast
Embed receiver-driven tree in network layer
Sender sends a single packet to the group
Receivers join and leave the tree
Advantages
Low overhead on the sender
Effective use of network resources
Avoids redundant network traffic
Disadvantages
Control-plane protocols for multicast groups
Overhead of duplicating packets in the routers
Multmedia Networking
Multicast Communication
10 flows
of the same packet
1 flows
of a packet
sender
sender
Multicast
Unicast
Multmedia Networking
IP Multicast Communication
Concept
Multicast data sender sends the data only once,
and only the intended recipients (who want to
receive the data) receive the data
IP multicast provides one-to-many or many-to-many
communication effectively
Data Flow
Data sender
Sender sends data once
Data receiver
Receiver that has requested getting the data receives the data
Multicast routers
Router copies and forwards the data only toward the data
receivers
Multicast
Router
Data
Data
Sender
Receiver
Multmedia Networking
10
Communication Flow
Control messages
Sender announces the session information or receivers
discover the session information
Each receiver requests to start and stop receiving data
by join and leave operations
Multicast routers maintains membership state by having
reports
Multicast
Router
Routing
protocol Multicast
Router
Query
Sender
Announcement
Join/Leav
e request
Receiver
Discovery
Multmedia Networking
11
Multicast Addresses
Multicast group defined by IP address
Multicast addresses look like unicast
addresses
224.0.0.0 to 239.255.255.255
12
B
c
D
F
E
G
Multmedia Networking
13
D
F
E
G
Multmedia Networking
14
Terminologies
Group address (or multicast address)
Used for destination address
15
Terminologies
Scope
Expected data distribution area
Classified by multicast address or TTL
16
Terminologies
Multicast session
Multicast data stream classified by the
multicast address is called multicast
session
Multicast channel
Multicast data stream explicitly classified
by the pair of multicast address and
source address is called multicast
channel
Used for SSM
Multmedia Networking
17
Multicast Protocols
Multicast
Router
Multicast
Router
Query
Sender
host
Join/Leav
e request
Receiver
host
Host-to-Router Protocols
IGMPv1, IGMPv2, IGMPv3, MLDv1, MLDv2
Router-to-Router Protocols
DVMRP, MOSPF, CBT, PIM-DM, PIM-SM, PIM-SSM
Multmedia Networking
18
Multicast Address
Assignment
IP Multicast
Simple to use in applications
Multicast group defined by IP multicast address
IP multicast addresses look similar to IP unicast addrs
224.0.0.0 to 239.255.255.255 (RPC 3171)
265 M multicast groups at most
Receiver-driven membership
Receivers join groups by informing upstream
routers
Internet Group Management Protocol (v3: RFC
3376)
Multmedia Networking
20
IP Multicast Address
IP multicast address
21
22
Flags
Scope
0x1:
0x2:
0x3:
0x4:
0x5:
0x8:
0xE:
Interface Local
Link-Local
Subnet-Local
Admin-Local
Site-Local
Organization-Local
Global
23
Host-to-Router
Multicast Protocols
IGMP v1
Two types of IGMP msgs (both have IP TTL of 1)
Host membership query: Routers query local
networks to discover which groups have members
Host membership report: Hosts report each group
(e.g., multicast addr) to which belong, by broadcast
on net interface from which query was received
Multmedia Networking
25
IGMP: Improvements
IGMP v2 added:
If multiple routers, one with lowest IP elected
querier
Explicit leave messages for faster pruning
Group-specific query messages
IGMP v3 added:
Source filtering: Join specifies multicast only
from or all but from specific source
addresses
Multmedia Networking
26
27
Router-to-Router
Multicast Protocols
Multicast Tree
A
B
c
D
F
E
G
Multmedia Networking
29
group
member
not group
member
router
with a
group
member
router
without
group
member
shared tree
source-based trees
Multmedia Networking
30
Multmedia Networking
31
Source-based
tree
Separate tree for
each sender
Tree is optimized
for that sender
But, requires
multiple trees for
multiple senders
Multmedia Networking
32
s: source
R1
1
R2
3
R4
5
R3
R6
R5
6
R7
Multmedia Networking
Multmedia Networking
34
LEGEND
R1
R4
R2
R5
R3
R6
R7
datagram will not be
forwarded
35
s: source
R1
R4
R2
P
R5
R3
P
R6
R7
Multmedia Networking
37
DVMRP: continued
soft state: DVMRP router periodically (1
min.) forgets branches are pruned:
mcast data again flows down unpruned
branch
downstream router: reprune or else continue
to receive data
38
Tunneling
Q: how to connect islands of multicast
routers in a sea of unicast routers?
physical topology
logical topology
39
sparse:
dense:
group members
densely packed, in
close proximity.
bandwidth more
plentiful
Multmedia Networking
40
Consequences of sparse-dense
dichotomy:
dense
sparse:
group membership by
routers assumed until
routers explicitly prune
data-driven
construction on mcast
tree (e.g., RPF)
bandwidth and non
group-router
processing profligate
no membership until
routers explicitly join
receiver- driven
construction of mcast
tree (e.g., centerbased)
bandwidth and nongroup-router processing
conservative
Multmedia Networking
41
DVMRP but
underlying unicast protocol provides
RPF info for incoming datagram
less complicated (less efficient)
downstream flood than DVMRP
reduces reliance on underlying
routing algorithm
has protocol mechanism for router to
detect it is a leaf-node router
Multmedia Networking
42
PIM - sparse
mode
explicit join and prune:
center-based approach,
SPT to the source
router sends join msg to
rendezvous point (RP)
intermediate routers
update state and
forward join
after joining via RP,
router can switch to
source-specific tree
increased
performance: less
concentration,
shorter paths
R1
R4
join
R2
join
R5
join
R3
R6
all data multicast
from rendezvous
point
Multmedia Networking
R7
rendezvous
point
43
PIM - sparse
mode
sender(s):
unicast data to RP,
which distributes
down RP-rooted tree
RP can extend
mcast tree upstream
to source
RP can send stop
msg if no attached
receivers
R1
R4
join
R2
join
R5
join
R3
R6
all data multicast
from rendezvous
point
R7
rendezvous
point
no one is listening!
Multmedia Networking
44
Conclusion of Todays
Lecture
IP Multicast runs on top of UDP under best-effort
IP network
suitable for real-time applications
IP Multicast requires
specific address assignment
host-to-router protocols
router-to-router protocols
Multmedia Networking
45