Академический Документы
Профессиональный Документы
Культура Документы
Basics
www.huawei.com
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page2
Objectives
Upon completion of this course, you will be able to:
Know what is multicast and multicast address structure
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page3
Contents
1. Introduction to Multicast
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page4
Contents
1. Introduction to Multicast
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page5
Unicast
Receiver A
Source
User B
Receiver C
Send to A
Send to C
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page6
Broadcast
Receiver A
Source
User B
Receiver C
Send to all
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page7
Definition of Multicast
Multicast group
member
Receiver A
Source User B
Receiver C
Multicast router
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page8
Advantage and Application of
Multicast
Advantage:
Enhanced efficiency: Reduce network traffic and relieve the
burden on servers and CPU.
Optimized performance: Decrease traffic redundancy, save
bandwidth, reduce network load.
Distributed applications: Make multipoint applications possible
Application:
Multimedia
Communications of the training and corporate sites
Data storehouse ,financial application (stocks)
Any “Single to Multiple” data release application
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page9
Disadvantage of Multicast
Multicast is based on UDP
Best effort
Packet repetition
Packet disorder
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page10
Contents
1. Introduction to Multicast
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page11
Multicast IP Address
One multicast group has an IP address, the IP does not
indicate a specific host but a set of systems. When a host
joins a multicast group, it indicates that it receives the
packets with destination of the IP address.
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page12
Multicast IP Models
ASM(Any-Source Multicast)
SFM(Source-Filtered
Multicast)
SSM(Source-Specific
Multicast)
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page13
Multicast IP Address Classification
Permanent group address
Multicast address reserved by IANA for routing protocol, is used to
identify a set of specified network devices (reserved multicast group)
224.0.0.5 OSPF router
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page14
Multicast IP Address Classification
Reserved Link Local Address
Reserved address 224.0.0.0
Used by routing protocols and topology search and
maintenance protocols
224.0.0.1-224.0.0.255
Globally Scoped Address
User multicast address 224.0.1.0-238.255.255.255
GLOP address 233.0.0.0-233.255.255.255
Administratively Scope Address
239.0.0.0-239.255.255.255
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page15
Multicast MAC Address
Difference between MAC multicast address and MAC
unicast address
XXXX XXX1 XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX
XXXX XXX0 XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX
5Bits 23Bits
Lost
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page17
Problem Caused by Mapping
There is a problem that 32:1 address is ambiguous when
layer 3 IP address is mapped to the layer 2 MAC address.
32 – IP multicast address
224.1.1.1
224.129.1.1
225.1.1.1
225.129.1.1 Same multicast MAC address
.
. 0x0100.5E01.0101
.
238.1.1.1
238.129.1.1
239.1.1.1
239.129.1.1
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page18
Contents
1. Introduction to Multicast
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page19
Multicast Correlative Protocol
Multicast protocol includes multicast management protocol
for host registration and multicast routing protocol for
selecting route and forwarding.
User AS100 AS200
User
MSDP/
MBGP PIM
IGMP
PIM
IGMP
User
Source
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page20
Multicast Distribution Tree
What is Multicast distribution tree?
Describe the path passed by IP multicast packets in the
network.
Shared tree
It uses the separate common root on some node of the network;
this root is also called Rendezvous Point (RP) or core node, so
shared tree can be called RPT, too.
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page21
Source Path Tree
Establish a separate SPT between each multicast source
and receiver.
Source S1
Source S2
A B D F
multicast route
item
C E (S, G), iif, oiflist
S source address
G group address
Receiver R1 Receiver R2 iif in interface
oiflist out interface
list
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page22
Shared Tree
There is only one tree relevant to a certain group in the
network.
Source S1
Source S2
A B D (RP) F Multicast
route item
(*, G), iif, oiflist
(RP) PIM
C E * any source address
RPT G group address
SPT iif in interface
oiflist out interface list
Receiver R1 ReceiverR2
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page23
Comparison of the Two Distribution
Trees
Source path tree (SPT)
Occupy memory more O(S x G), optimal path, least delay
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page24
Contents
1. Introduction to Multicast
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page25
Multicast Data Forwarding
Multicast route and unicast route are contrary to
each other.
The unicast route concerns where the data goes.
The multicast route concerns where the data comes.
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page26
Reverse Path Forwarding
What is RPF?
After the router receives multicast data packet, it will make
sure that it is received from the interface which is the egress
from itself to multicast source, and then forward the packet;
otherwise, discard it.
RPF detection
In the unicast route table, search the route of the multicast
packet source address
If the egress of this route is the ingress of this packet, RPF
succeeds
If RPF fails, discard packet
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page27
RPF Example
RTD
Source
151.10.3.21
S0
RTE
RPF detection fails
packet is received from
wrong interface
Multicast packet
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page28
Multicast Forwarding RPF Example
(1/2)
Multicast packet sent
by Source 151.10.3.21
X
S0
S1 S2
RPF detection fails
E0
unicast routing table
network interface
151.10.0.0/16 S1
S1 Packet is not received from right interface
198.14.32.0/24 S0
204.1.16.0/24 E0 Discard packet !!
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page29
Multicast Forwarding RPF Example
(2/2)
S0
S1 S2
RPF detection succeeds!
E0
unicast routing table
network interface
151.10.0.0/16 S1 Packet is received from right interface!
198.14.32.0/24 S0
204.1.16.0/24 E0 Forward from all the egress!!
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page30
Questions
What is multicast?
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page31
Thank you
www.huawei.com