SlideShare une entreprise Scribd logo
1  sur  56
IPv6 Multicast




       ©Fred Bovy EIRL 2012 1
Topics

 Multicast IPv6 Addresses
 PIM
        PIM SM
        PIM-SSM
        PIM Bidir
 Rendez-Vous point
        Static
        Anycast RP
        BSR
 MLD
        MLDv1
        MLDv2


                             © Fred Bovy EIRL 2012 2
Multicast. RFC 4291
                                        128 bits
FF        Flag Scope                0                          Interface ID
                                         Scope – 4 bits
                                                  1=node
                                                  2=link
 R
                                                  4=admin
         Embedded Rendez-Vous
                                                  5=site
         RFC 3956
                                                  8=Organization
 P                                               E=Global
         Multicast based unicast                 6, 7, 9-D not assigned. F est reserved.
         RFC 3956 et RFC 3306
 T                                        Only the link-local is filtered by the routers, others must be
         0 Permanent address               fitered by routers (Access-List)
         1 for temporary


                                                                                         © Fred Bovy EIRL 2012 3
Multicast IPv4 and IPv6



IP Service               IPv4 Solution          IPv6 Solution
Étendue d’adresse        32-bits, Class D       128 bits. 112 bits Groups
Routing                  PIM, MBGP, DVMRP,      PIM and MBGP
                         MOSPF
Forwarding               PIM-DM, PIM-SM, PIM-   PIM-SM, PIM-SSM, PIM-
                         SSM, PIM-Bidir         Bidir
Groups Management        IGMPv1, v2, v3         MLDv1, v2
Domain Control           Boundary, Border       Scope
Interdomains Solutions   MSDP                   Unic RP




                                                                © Fred Bovy EIRL 2012 4
PIMv6 Basics

 PIM uses the unicast routing protocol to implement the Reverse Path
  Forwarding
 MP-BGP can be used to build divergent routing tables
 PIMv6 between Routers, MLD between Hosts and Routers




                                                           © Fred Bovy EIRL 2012 5
PIMv6 Sparse Mode Basics. RFC 4601
 The Rendez-Vous point allows Source and Receivers (listeners) to meet..
 The result is a tree shared by all sources (shared tree) toward a group of
  listeners.
 Once the traffic start to flow on the Shared Tree, it is possible to switch on the
  Shortest Path Tree (SPT)




                                                                        © Fred Bovy EIRL 2012 6
The PIM Designated Router
 The 1st Hop Router, near the source is the PIMv6 Designated Router
   Elected with PIMv6 Hello Protocol
   Highest Priority
   Highest IPv6 address
   Forward traffic from the source to the RP (Register)




                                                                 © Fred Bovy EIRL 2012 7
The MLD Querier
   The Last Hop Router is the MLD Querier
   Lowest IPv6 Address
   Discover the local Listeners and start to build a path to the RP
   A shared tree is then built from the RP to the listener




                                                                       © Fred Bovy EIRL 2012 8
Multicast Routing Initialization

 Routers must be IPv6 Multicast Routing enabled
        PIM and MLD are started on their interfaces
 Rendez-Vous Point address MUST be configured
        Static, Embedded or
        Dynamic with BSR




                                                       © Fred Bovy EIRL 2012 9
PIMv6-SM: Shared Tree Initialisation

 When a listener starts to listen to a given group, it sends Unsolicited Reports
 A (*.G) entry is created in the Last Hop Router Multicast Routing Table
  (MRIB)




                                                              (*,G)

                                  (*,G)
                                                        MLD Multicast Listener Report (*,G)
                                                        Hop-by-Hop Router Alert.
                                                        Hop Limit=1

                                                                          © Fred Bovy EIRL 2012 10
PIMv6-SM: PIM Join travel toward the RP

 Because it has a (*,G) entry in its MRIB, the Last Hop Router starts to send
  PIM Join (*,G) to its Rendez-Vous Point Upstream Neighbor.
 The reception of a PIM Join (*,G) creates a (*,G) entry in the MRIB which
  triggers the sending of a PIM Join (*,G) to its Rendez-Vous Point Upstream
  Neighbor                                           PIM Join (*,G)
 PIM Join reaches the RP                            Dest: ff02::d
                                                       Router Alert




                                   (*,G)       (*,G)             (*,G)

                                (*,G)
                                                         MLD Multicast Listener Report (*,G)
                                                         Hop-by-Hop Router Alert.
                                                         Hop Limit=1
                                                                            © Fred Bovy EIRL 2012 11
PIMv6-SM: Source starts to send traffic
 The source can start to send traffic at any time
 No Signaling requires




                                                     © Fred Bovy EIRL 2012 12
PIMv6-SM: Source Registers with the RP
 First Hop Multicast Router intercepts the Multicast flow
 Multicast traffic is encapsulated in PIM Register unicast paquets to the RP


               Register




                                                                    © Fred Bovy EIRL 2012 13
PIMv6-SM: Register at the RP
 The RP removes the unicast encapsulation of the PIM Register
 The RP duplicates (if multiple outgoing interfaces) and forwards the multicast
  toward all the Listeners




                                                                    © Fred Bovy EIRL 2012 14
PIMv6-SM: Join toward the Source
 When the RP receives multicast in Register paquets, it initializes a native
  multicast path by sending a PIM Join (S,G) toward the source
 It travels hop by hop to until it reaches the first hop router

            PIM Join (S,G)




                                                                  © Fred Bovy EIRL 2012 15
PIMv6-SM: Building the Multicast Shared Tree
 When the First Hop DR receives the PIM join, it is able to forward the
  multicast natively to the RP
 When the RP receives two copies of the same multicast paquet, it discards
  the encapsulated copy




                                                                © Fred Bovy EIRL 2012 16
PIMv6-SM: Register-Stop
 … and sends a PIMv6 Register-Stop to the First Hop DR.
 The DR knows that it does not have to encapsulate the multicast traffic in
  unicast anymore

             Register-Stop




                                                                 © Fred Bovy EIRL 2012 17
PIMv6-SM: Flowing down the Shared Tree
 Traffic can now travel from the Source to all the listeners using
  the Shared Tree




                                                         © Fred Bovy EIRL 2012 18
PIMv6-SM: PIM Last-Hop Switchover to the
SPT
 Last Hop Router notices that it receives the traffic from an
  interface which does not point to the best path back to the
  Source (RPF).




               !!!




                                                     © Fred Bovy EIRL 2012 19
PIMv6-SM: Last-Hop Switchover to the SPT
 Last Hop Router sends a PIMv6 Join (S,G) toward the Source

 (S,G) states are created in the MRIB by the PIMv6 Join (S,G)
  travelling hop by hop to the Source




     PIM JOIN (S,G)




                                                    © Fred Bovy EIRL 2012 20
PIMv6-SM: Building the Shortest Path Tree (SPT)
  When the DR receives the PIM JOIN (S,G), it starts to forward
   paquets down the Shortest Path Tree but also down the
   Shared Tree.




                                                       © Fred Bovy EIRL 2012 21
PIMv6-SM: Pruning the Shared Tree
 When the Last Hop router receives two copies of the same flow, it decides
  to prune the Shared Tree
 It sends a (S,G,rpt-bit) Prune toward the RP




                              (S,G,rpt-bit) Prune




                                                                © Fred Bovy EIRL 2012 22
PIMv6-SM: Shortest Path Tree Only (SPT)
 When the Shortest Path Tree has been Pruned, traffic only flows on the
  Shortest Path Tree
 If traffic on the Shortest Path goes down below a configurable threshold, it is
  possible to switch back to the Shared Tree.




                                                                     © Fred Bovy EIRL 2012 23
PIM-SM Summary

 Sources and Listeners meet at the Rendez-Vous point
 It is possible to stay forever on the Shared Tree to minimize the
  states on the routers.
 The Rendez-Vous point must be carefully choosen on the network
 It is possible to use an Anycast Address for the RP with longest
  match prefix to choose a primary.
 BSR is the only dynamic RP configuration method
 Using MLDv2 and SSM, there is no more need for a RP



                                                         © Fred Bovy EIRL 2012 24
Introduction to MLD

 ICMPv6 with IPv6 Hop-by-Hop Router Alert Option
 Hop Limit is 1
 On each link a Querier is elected.
    Lower IPv6 address is elected.
 The Querier sends a Query on a regular basis to ask if there any receiver
  present.
                         I won !   3          I am the
            I am the
                                               Querier
             Querier                     2
       1    FE80::1                          FE80::100




           Query       FE80::1 FF02::1
Query Interval



                               Host A             Host B

          FE80::
  Query            FF02::1
            1




 The interval between General Query sent by the Querier.

Default: 125 seconds

                                                 © Fred Bovy EIRL 2012 26
Robustness




                                         Host A                Host B

State Change   FE80::
                        FF02::1
      R          1



 This is the basis for the computation of many parameters
 MLD is robust to [Variable Robustness] – 1 paquet loss
 Default: 2. MLD has no problem loosing one MLD paquet



                                                             © Fred Bovy EIRL 2012 27
Introduction to MLDv1

 All MLD paquets are sent with Link-Local address as source.
 Hop Limit is 1
 MLDv1 (RFC 2710) is IPv6 version of IGMP Version 2 (RFC 2236)
o Multicast Listener Query
    General Query. Sent to the all-nodes Link-Local multicast address to figure out which
       group has members.
    Address-Specific Query is used to identify the members of a given group. It is sent to
       the address of the group which is being queried.
o Multicast Listener Report
    Response to a Query
o Multicast Listener Done
    Sent by a Listener which does not listen to this group any more.
MLDv1 General Query




                                      Host A     Host B

                FE80::
General Query            FF02::1
                  1



 The Querier sends a general Query
 A and B starts a random timer




                                               © Fred Bovy EIRL 2012 29
MLDv1 Listener Report




                                                  Host A              Host B


                   Listener Report   FE80::A   FF02::1




 Host timer A expires
 Host A responds to the Query
 B listens that A replied to the router Query, stops its timer and suppress its
  response not to send a duplicate response.


                                                                    © Fred Bovy EIRL 2012 30
MLDv1 Leave Process




                                              Host A                Host B


                                  FE80::
                   Done FF1E::1            FF02::2
                                    1




 A is no longer interested by FF1E::1 and sends a Done message




                                                                  © Fred Bovy EIRL 2012 31
MLDv1 Leave Process




                                             Host A                      Host B



Address-Specific Query   FE80::5   FF1E::1




    Router sends a Last Listener Query to the Multicast address left by A




                                                                       © Fred Bovy EIRL 2012 32
MLDv1 Leave Process




                                          Host A                          Host B



                                                   Report       FE80::5    FF1E::1




 If B is still interested it sends a Listener Report and the router ignores the
  Done message
 If B is not interested it does not send anything and the group is removed


                                                                      © Fred Bovy EIRL 2012 33
MLDv2 (RFC 3810)

 MLDv2 is the IPv6 translation of IGMP Version 3 (RFC 3376)
 MLDv2 is backward compatible with MLDv1
 No duplicate response suppression
 No Done message
 IANA allocated FF02::16 called all MLDv2-capable routers
 MLDv2 introduced source filtering
    INCLUDE Mode : if the message includes all the source we want to ear
    EXCLUDE Mode : if the message includes all the source we don’t want to ear




                                                                            © Fred Bovy EIRL 2012 34
Queries

 General Queries
    Sent periodically
    Responses         are       sent       in   Current   State             Report


 Multicast Address Specific Queries
   Multicast Address and Source Specific Queries.
    Sent after a state change.
    Sent in response to a State Change Report




                                                                   © Fred Bovy EIRL 2012 35
Multicast Listener Reports

MLDv2 needs two types of Reports :
 Current State Change Report.
o Sent in response to a Query
o MODE_IS_INCLUDE
o MODE_IS_EXCLUDE
 State Change Report
o Sent after a state change
o Sent many times (Robustness)
o Filter Mode Change Records
         •   CHANGE_TO_INCLUDE
         •   CHANGE _TO_EXCLUDE
o Source List Change Records
         •   ALLOW_NEW_SOURCE
         •   BLOCK_OLD_SOURCES
                                     © Fred Bovy EIRL 2012 36
MLDv2 Query Messages

       Type = 130            Code                                Checksum


            Maximum Response Code                                 Reserved




                                Multicast Address



     Resv    S   QRV        QQIC                           Number of Sources (N)



                                    Source Address [ 1 ]


                                Source Address [ 2 ]




                                Source Address [ N ]

                                                                                   © Fred Bovy EIRL 2012 37
MLDv2 Multicast Listener Report Messages

       Type = 143                Code                          Checksum


                    Reserved                          Nr of Mcast Address Records (M)




                               Multicast Address Record [1]




                               Multicast Address Record [2]




                                            …



                               Multicast Address Record [M]


                                                                                        © Fred Bovy EIRL 2012 38
MLDv2 Multicast Address Record

      Record Type   Aux data Len                  Number of Sources (N)



                          Multicast Address



                           Source Address [ 1 ]



                           Source Address [ 2 ]




                           Source Address [ N ]



                            Auxiliary Data




                                                                          © Fred Bovy EIRL 2012 39
MLDv2 General Query




                                           Host A                      Host B

                FE80::
General Query            FF02::1
                  1



 Sent periodically to discover which group has listener on a link
 Includes:
         Multicast Address=0,
         Number of Source=0


                                                                     © Fred Bovy EIRL 2012 40
MLDv2 Multicast Address Specific Query




                                                          Host A      Host B

                                          FE80::
Multicast @ specific Query FF34::16 S:0            FF34::16
                                            1



   The Querier sends this Query to ask if a particular group has Listener on a
    particular interface.
   Includes:
            The address, by example: FF34::16
            Number of Source:0

                                                                    © Fred Bovy EIRL 2012 41
MLDv2 Multicast Listener Query




                                 © Fred Bovy EIRL 2012 42
MLDv2 Address and Source Specific Query



                                                        Host A     Host B

                                        FE80::
Multicast Listener Query FF34::16 S:1            FF34::16
                                          1



 The Querier sends this message to discover if a multicast address with one
  or many source addresses has a Listener on a particular interface.
 Elle contient
          The address, by example: FF34::16
          Number of Source, by example: 1


                                                                 © Fred Bovy EIRL 2012 43
Reception of a Query



  Source is valid Link-Local ?                 NO
       Hop Limit = 1 ?                                    DROP
  Router Alert set in the Hop-
       by-Hop Option ?

                      YES

Process the Query.
Wait before the Response. Delay max= Maximum Response Delay
                                                              © Fred Bovy EIRL 2012 44
MLDv2 State Change Report



                                               Host A     Host B

             State Change   FE80::
                                     FF02::1
                Report        1


 The State Change Report contains a change:
       Filter Change Report
       Source List Change Report
       Both Change Report
 Reports are sent robustness times on the link
       Default Robustness: 2

                                                        © Fred Bovy EIRL 2012 45
MLDv2 State Change Report Exemple
Internet Protocol Version 6
    0110 .... = Version: 6
    .... 1110 0000 .... .... .... .... .... = Traffic class: 0x000000e0
    .... .... .... 0000 0000 0000 0000 0000 = Flowlabel: 0x00000000
    Payload length: 52
    Next header: IPv6 hop-by-hop option (0x00)
    Hop limit: 1
    Source: fe80::38b1:e73c:c0f0:4442 (fe80::38b1:e73c:c0f0:4442)
    Destination: ff02::16 (ff02::16)
    Hop-by-Hop Option
        Next header: ICMPv6 (0x3a)
        Length: 0 (8 bytes)
        Router alert: MLD (4 bytes)
        PadN: 2 bytes
Internet Control Message Protocol v6
    Type: 143 (Multicast Listener Report Message v2)
    Code: 0 (Should always be zero)
    Checksum: 0x50d2 [correct]
    Allow new sources: ff34::16 (ff34::16)
        Mode: Allow new sources
        Aux data len: 0
        Multicast Address: ff34::16
        Source Address: 2001:db8:cafe::7 (2001:db8:cafe::7)
                                                              © Fred Bovy EIRL 2012 46
PIM-SSM

 With PIM-SSM the Listener must provide the Source address.
 Rendez-Vous point are no more needed.
    The source can be configured statically
    The source can be learned from DNS with the Record G
 PIM-SSM               is            supported             with              MLDv2



 RFC        3306.      Unicast-Prefix-based            IPv6       Multicast
  Flags:                  00PT.                        P=1,                          T=1
  plen                                  =                                              0
  network                     prefix                        =                          0
  FF3x::/96
  x=n’importe quel scope valide
                                                                       © Fred Bovy EIRL 2012 47
Rendez-Vous Point

 Static
    Must be manually configured on each multicast router
 Anycast RP
    Static but the same address is configured many time with different mask length
    Longest match select the preferred RP
 Embedded RP
    RP address is embedded in the Multicast Group
 Dynamic with PIM BSR
    BSR is a dynamic protocol which allow the Rendez-vous point automatic configuration.




                                                                              © Fred Bovy EIRL 2012 48
Anycast RP + Longest Match

 RP1 is preferred because routing prefers the longest match



                       RP1:               RP2:
                  2001:db8:1::1/64   2001:db8:1::1/63




                                                               © Fred Bovy EIRL 2012 49
Embedded RP – RFC 3956




 The RP address can be embedded in the Multicast
  Group




                                          © Fred Bovy EIRL 2012 50
Embedded RP – Flags




  FF76:0130:2001:db8:9abc::4321

  Flags: 7
  R: Rendez-Vous Point = 1 then
  P: Prefix =1 and
  T: Temporary Prefix = 1


                                  © Fred Bovy EIRL 2012 51
Embedded RP – Prefix




  FF76:0130:2001:db8:9abc::4321

 Plen = 30 Hex = 48 dec
 2001:db8:9abc::



                                  © Fred Bovy EIRL 2012 52
Embedded RP – Adresse du RP




  FF76:0130:2001:db8:9abc::4321

 Rendez-Vous Point Address
 2001:db8:9abc::1

 o RFC3956

                                  © Fred Bovy EIRL 2012 53
PIM Boot Strap Router

   Many routers are Candidates BSR (C-BSR).
   The C-BSR elect a BSR by sending C-BSR message with priorities
   The message travels hop by hop.
   The C-BSR with the best priority becomes the BSR
   During the election it announces its presence on the network.
   This is similar to the election of the root of the spanning-tree.
   Some routers are configured as Candidates RP (C-RP).
   C-RP unicast their presence of C-RP to the C-BSR.
   The C-BSR sends its list of C-RP to all the PIM routers
   All the PIM routers receive the list of C-RP and execute the same hashing
    function to choose a RP for each group.

                                                                  © Fred Bovy EIRL 2012 54
Books on the Web: Safari Books Online




                                        © Fred Bovy EIRL 2012 55
REFERENCES




             © Fred Bovy EIRL 2012 56

Contenu connexe

Tendances

CISCO Virtual Private LAN Service (VPLS) Technical Deployment Overview
CISCO Virtual Private LAN Service (VPLS) Technical Deployment OverviewCISCO Virtual Private LAN Service (VPLS) Technical Deployment Overview
CISCO Virtual Private LAN Service (VPLS) Technical Deployment Overview
Ameen Wayok
 
Idea Huawei DWDM-Training.pptx
Idea Huawei DWDM-Training.pptxIdea Huawei DWDM-Training.pptx
Idea Huawei DWDM-Training.pptx
GaneshVats2
 
TechWiseTV Workshop: Segment Routing for the Datacenter
TechWiseTV Workshop: Segment Routing for the DatacenterTechWiseTV Workshop: Segment Routing for the Datacenter
TechWiseTV Workshop: Segment Routing for the Datacenter
Robb Boyd
 

Tendances (20)

Bgp
BgpBgp
Bgp
 
MPLS
MPLSMPLS
MPLS
 
Introducing segment routing TE
Introducing segment routing TEIntroducing segment routing TE
Introducing segment routing TE
 
Sdh concept
Sdh conceptSdh concept
Sdh concept
 
Unified MPLS
Unified MPLSUnified MPLS
Unified MPLS
 
Fundamentals of sdh
Fundamentals of sdhFundamentals of sdh
Fundamentals of sdh
 
Near rt ric tc
Near rt ric tcNear rt ric tc
Near rt ric tc
 
CISCO Virtual Private LAN Service (VPLS) Technical Deployment Overview
CISCO Virtual Private LAN Service (VPLS) Technical Deployment OverviewCISCO Virtual Private LAN Service (VPLS) Technical Deployment Overview
CISCO Virtual Private LAN Service (VPLS) Technical Deployment Overview
 
Fundamental of dwdm
Fundamental of dwdmFundamental of dwdm
Fundamental of dwdm
 
DRBD Deep Dive - Philipp Reisner - LINBIT
DRBD Deep Dive - Philipp Reisner - LINBITDRBD Deep Dive - Philipp Reisner - LINBIT
DRBD Deep Dive - Philipp Reisner - LINBIT
 
OpenStackを利用したNFVの商用化 - OpenStack最新情報セミナー 2017年7月
OpenStackを利用したNFVの商用化 - OpenStack最新情報セミナー 2017年7月OpenStackを利用したNFVの商用化 - OpenStack最新情報セミナー 2017年7月
OpenStackを利用したNFVの商用化 - OpenStack最新情報セミナー 2017年7月
 
IIJmio meeting 7 MVNOとSIMフリー端末の問題について
IIJmio meeting 7 MVNOとSIMフリー端末の問題についてIIJmio meeting 7 MVNOとSIMフリー端末の問題について
IIJmio meeting 7 MVNOとSIMフリー端末の問題について
 
Segment Routing
Segment RoutingSegment Routing
Segment Routing
 
Cisco connect montreal 2018 enterprise networks - say goodbye to vla ns
Cisco connect montreal 2018   enterprise networks - say goodbye to vla nsCisco connect montreal 2018   enterprise networks - say goodbye to vla ns
Cisco connect montreal 2018 enterprise networks - say goodbye to vla ns
 
Dpdk applications
Dpdk applicationsDpdk applications
Dpdk applications
 
IS-IS vs OSPF
IS-IS vs OSPFIS-IS vs OSPF
IS-IS vs OSPF
 
Idea Huawei DWDM-Training.pptx
Idea Huawei DWDM-Training.pptxIdea Huawei DWDM-Training.pptx
Idea Huawei DWDM-Training.pptx
 
NETCONFとYANGの話
NETCONFとYANGの話NETCONFとYANGの話
NETCONFとYANGの話
 
TechWiseTV Workshop: Segment Routing for the Datacenter
TechWiseTV Workshop: Segment Routing for the DatacenterTechWiseTV Workshop: Segment Routing for the Datacenter
TechWiseTV Workshop: Segment Routing for the Datacenter
 
Implementing BGP Flowspec at IP transit network
Implementing BGP Flowspec at IP transit networkImplementing BGP Flowspec at IP transit network
Implementing BGP Flowspec at IP transit network
 

En vedette

Radio-Over-IP Presentation
Radio-Over-IP PresentationRadio-Over-IP Presentation
Radio-Over-IP Presentation
BriCom Solutions
 
Advanced radio over IP
Advanced radio over IPAdvanced radio over IP
Advanced radio over IP
Comms Connect
 
ConférenSquad #2 : StreamRoot - HTML5 & WebRTC : de nouveaux horizons pour le...
ConférenSquad #2 : StreamRoot - HTML5 & WebRTC : de nouveaux horizons pour le...ConférenSquad #2 : StreamRoot - HTML5 & WebRTC : de nouveaux horizons pour le...
ConférenSquad #2 : StreamRoot - HTML5 & WebRTC : de nouveaux horizons pour le...
Justindwah
 
BUSINESS LETTER AND DIFFERENT STYLES
BUSINESS LETTER AND DIFFERENT STYLESBUSINESS LETTER AND DIFFERENT STYLES
BUSINESS LETTER AND DIFFERENT STYLES
Seemab Abbas
 

En vedette (20)

IPv6_Quick_Start_Guide
IPv6_Quick_Start_GuideIPv6_Quick_Start_Guide
IPv6_Quick_Start_Guide
 
IPv6 in IPv4/MPLS in a Nutshell
IPv6 in IPv4/MPLS in a NutshellIPv6 in IPv4/MPLS in a Nutshell
IPv6 in IPv4/MPLS in a Nutshell
 
Fb i pv6-sparchimanv1.0
Fb i pv6-sparchimanv1.0Fb i pv6-sparchimanv1.0
Fb i pv6-sparchimanv1.0
 
Ipv6 cheat sheet
Ipv6 cheat sheetIpv6 cheat sheet
Ipv6 cheat sheet
 
Advanced Radio over IP
Advanced Radio over IPAdvanced Radio over IP
Advanced Radio over IP
 
Deploying IPv6 in OpenStack Environments
Deploying IPv6 in OpenStack EnvironmentsDeploying IPv6 in OpenStack Environments
Deploying IPv6 in OpenStack Environments
 
Radio-Over-IP Presentation
Radio-Over-IP PresentationRadio-Over-IP Presentation
Radio-Over-IP Presentation
 
LTE network: How it all comes together architecture technical poster
LTE network: How it all comes together architecture technical posterLTE network: How it all comes together architecture technical poster
LTE network: How it all comes together architecture technical poster
 
IPv6 networking training sduffy v3
IPv6 networking training   sduffy v3IPv6 networking training   sduffy v3
IPv6 networking training sduffy v3
 
IPV6 Hands on Lab
IPV6 Hands on Lab IPV6 Hands on Lab
IPV6 Hands on Lab
 
Advanced radio over IP
Advanced radio over IPAdvanced radio over IP
Advanced radio over IP
 
CS6551 COMPUTER NETWORKS
CS6551 COMPUTER NETWORKSCS6551 COMPUTER NETWORKS
CS6551 COMPUTER NETWORKS
 
IPv6 theoryfinalx
IPv6 theoryfinalxIPv6 theoryfinalx
IPv6 theoryfinalx
 
Mld
MldMld
Mld
 
Cisco IPv6 Tutorial
Cisco IPv6 TutorialCisco IPv6 Tutorial
Cisco IPv6 Tutorial
 
IPv6
IPv6IPv6
IPv6
 
ConférenSquad #2 : StreamRoot - HTML5 & WebRTC : de nouveaux horizons pour le...
ConférenSquad #2 : StreamRoot - HTML5 & WebRTC : de nouveaux horizons pour le...ConférenSquad #2 : StreamRoot - HTML5 & WebRTC : de nouveaux horizons pour le...
ConférenSquad #2 : StreamRoot - HTML5 & WebRTC : de nouveaux horizons pour le...
 
Internet of Things (IOT) - Technology and Applications
Internet of Things (IOT) - Technology and ApplicationsInternet of Things (IOT) - Technology and Applications
Internet of Things (IOT) - Technology and Applications
 
Hacking the Creative Brain
Hacking the Creative BrainHacking the Creative Brain
Hacking the Creative Brain
 
BUSINESS LETTER AND DIFFERENT STYLES
BUSINESS LETTER AND DIFFERENT STYLESBUSINESS LETTER AND DIFFERENT STYLES
BUSINESS LETTER AND DIFFERENT STYLES
 

Similaire à Multicast for ipv6

Deploy ipv6 multicast_v0_1
Deploy ipv6 multicast_v0_1Deploy ipv6 multicast_v0_1
Deploy ipv6 multicast_v0_1
Nguyen Thanh
 
Switch and Router Security Testing
Switch and Router Security TestingSwitch and Router Security Testing
Switch and Router Security Testing
Conferencias FIST
 
6 Lo Wpan Tutorial 20080206
6 Lo Wpan Tutorial 200802066 Lo Wpan Tutorial 20080206
6 Lo Wpan Tutorial 20080206
pauldeng
 

Similaire à Multicast for ipv6 (20)

Multicast for IPv6
Multicast for IPv6Multicast for IPv6
Multicast for IPv6
 
Ip multicast
Ip multicastIp multicast
Ip multicast
 
PLNOG 8: Rafał Szarecki - Telco Group Network
PLNOG 8: Rafał Szarecki - Telco Group Network PLNOG 8: Rafał Szarecki - Telco Group Network
PLNOG 8: Rafał Szarecki - Telco Group Network
 
IPv6 and IP Multicast… better together?
IPv6 and IP Multicast… better together?IPv6 and IP Multicast… better together?
IPv6 and IP Multicast… better together?
 
Next Generation IP Transport
Next Generation IP TransportNext Generation IP Transport
Next Generation IP Transport
 
ACI_Forwarding_Basic_rev2.pptx
ACI_Forwarding_Basic_rev2.pptxACI_Forwarding_Basic_rev2.pptx
ACI_Forwarding_Basic_rev2.pptx
 
SDN-IP Peering using BGP
SDN-IP Peering using BGPSDN-IP Peering using BGP
SDN-IP Peering using BGP
 
CCNA CHAPTER 16 BY jetarvind kumar madhukar
CCNA CHAPTER 16 BY jetarvind kumar madhukarCCNA CHAPTER 16 BY jetarvind kumar madhukar
CCNA CHAPTER 16 BY jetarvind kumar madhukar
 
Day 12.2 enablingospf
Day 12.2 enablingospfDay 12.2 enablingospf
Day 12.2 enablingospf
 
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
 
Network Layer Protocol.pptx
Network Layer Protocol.pptxNetwork Layer Protocol.pptx
Network Layer Protocol.pptx
 
10 fn s43
10 fn s4310 fn s43
10 fn s43
 
Deploy ipv6 multicast_v0_1
Deploy ipv6 multicast_v0_1Deploy ipv6 multicast_v0_1
Deploy ipv6 multicast_v0_1
 
Switch and Router Security Testing
Switch and Router Security TestingSwitch and Router Security Testing
Switch and Router Security Testing
 
BGP Overview
BGP OverviewBGP Overview
BGP Overview
 
6 Lo Wpan Tutorial 20080206
6 Lo Wpan Tutorial 200802066 Lo Wpan Tutorial 20080206
6 Lo Wpan Tutorial 20080206
 
IP Routing on z/OS
IP Routing on z/OSIP Routing on z/OS
IP Routing on z/OS
 
cogiel-OLT.pdf
cogiel-OLT.pdfcogiel-OLT.pdf
cogiel-OLT.pdf
 
JUNOS: OSPF and BGP
JUNOS: OSPF and BGPJUNOS: OSPF and BGP
JUNOS: OSPF and BGP
 
Cisco multicast routing with vlc player
Cisco multicast routing with vlc playerCisco multicast routing with vlc player
Cisco multicast routing with vlc player
 

Dernier

Dernier (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 

Multicast for ipv6

  • 1. IPv6 Multicast ©Fred Bovy EIRL 2012 1
  • 2. Topics  Multicast IPv6 Addresses  PIM  PIM SM  PIM-SSM  PIM Bidir  Rendez-Vous point  Static  Anycast RP  BSR  MLD  MLDv1  MLDv2 © Fred Bovy EIRL 2012 2
  • 3. Multicast. RFC 4291 128 bits FF Flag Scope 0 Interface ID  Scope – 4 bits  1=node  2=link  R  4=admin  Embedded Rendez-Vous  5=site  RFC 3956  8=Organization  P  E=Global  Multicast based unicast  6, 7, 9-D not assigned. F est reserved.  RFC 3956 et RFC 3306  T  Only the link-local is filtered by the routers, others must be  0 Permanent address fitered by routers (Access-List)  1 for temporary © Fred Bovy EIRL 2012 3
  • 4. Multicast IPv4 and IPv6 IP Service IPv4 Solution IPv6 Solution Étendue d’adresse 32-bits, Class D 128 bits. 112 bits Groups Routing PIM, MBGP, DVMRP, PIM and MBGP MOSPF Forwarding PIM-DM, PIM-SM, PIM- PIM-SM, PIM-SSM, PIM- SSM, PIM-Bidir Bidir Groups Management IGMPv1, v2, v3 MLDv1, v2 Domain Control Boundary, Border Scope Interdomains Solutions MSDP Unic RP © Fred Bovy EIRL 2012 4
  • 5. PIMv6 Basics  PIM uses the unicast routing protocol to implement the Reverse Path Forwarding  MP-BGP can be used to build divergent routing tables  PIMv6 between Routers, MLD between Hosts and Routers © Fred Bovy EIRL 2012 5
  • 6. PIMv6 Sparse Mode Basics. RFC 4601  The Rendez-Vous point allows Source and Receivers (listeners) to meet..  The result is a tree shared by all sources (shared tree) toward a group of listeners.  Once the traffic start to flow on the Shared Tree, it is possible to switch on the Shortest Path Tree (SPT) © Fred Bovy EIRL 2012 6
  • 7. The PIM Designated Router  The 1st Hop Router, near the source is the PIMv6 Designated Router  Elected with PIMv6 Hello Protocol  Highest Priority  Highest IPv6 address  Forward traffic from the source to the RP (Register) © Fred Bovy EIRL 2012 7
  • 8. The MLD Querier  The Last Hop Router is the MLD Querier  Lowest IPv6 Address  Discover the local Listeners and start to build a path to the RP  A shared tree is then built from the RP to the listener © Fred Bovy EIRL 2012 8
  • 9. Multicast Routing Initialization  Routers must be IPv6 Multicast Routing enabled  PIM and MLD are started on their interfaces  Rendez-Vous Point address MUST be configured  Static, Embedded or  Dynamic with BSR © Fred Bovy EIRL 2012 9
  • 10. PIMv6-SM: Shared Tree Initialisation  When a listener starts to listen to a given group, it sends Unsolicited Reports  A (*.G) entry is created in the Last Hop Router Multicast Routing Table (MRIB) (*,G) (*,G) MLD Multicast Listener Report (*,G) Hop-by-Hop Router Alert. Hop Limit=1 © Fred Bovy EIRL 2012 10
  • 11. PIMv6-SM: PIM Join travel toward the RP  Because it has a (*,G) entry in its MRIB, the Last Hop Router starts to send PIM Join (*,G) to its Rendez-Vous Point Upstream Neighbor.  The reception of a PIM Join (*,G) creates a (*,G) entry in the MRIB which triggers the sending of a PIM Join (*,G) to its Rendez-Vous Point Upstream Neighbor PIM Join (*,G)  PIM Join reaches the RP Dest: ff02::d Router Alert (*,G) (*,G) (*,G) (*,G) MLD Multicast Listener Report (*,G) Hop-by-Hop Router Alert. Hop Limit=1 © Fred Bovy EIRL 2012 11
  • 12. PIMv6-SM: Source starts to send traffic  The source can start to send traffic at any time  No Signaling requires © Fred Bovy EIRL 2012 12
  • 13. PIMv6-SM: Source Registers with the RP  First Hop Multicast Router intercepts the Multicast flow  Multicast traffic is encapsulated in PIM Register unicast paquets to the RP Register © Fred Bovy EIRL 2012 13
  • 14. PIMv6-SM: Register at the RP  The RP removes the unicast encapsulation of the PIM Register  The RP duplicates (if multiple outgoing interfaces) and forwards the multicast toward all the Listeners © Fred Bovy EIRL 2012 14
  • 15. PIMv6-SM: Join toward the Source  When the RP receives multicast in Register paquets, it initializes a native multicast path by sending a PIM Join (S,G) toward the source  It travels hop by hop to until it reaches the first hop router PIM Join (S,G) © Fred Bovy EIRL 2012 15
  • 16. PIMv6-SM: Building the Multicast Shared Tree  When the First Hop DR receives the PIM join, it is able to forward the multicast natively to the RP  When the RP receives two copies of the same multicast paquet, it discards the encapsulated copy © Fred Bovy EIRL 2012 16
  • 17. PIMv6-SM: Register-Stop  … and sends a PIMv6 Register-Stop to the First Hop DR.  The DR knows that it does not have to encapsulate the multicast traffic in unicast anymore Register-Stop © Fred Bovy EIRL 2012 17
  • 18. PIMv6-SM: Flowing down the Shared Tree  Traffic can now travel from the Source to all the listeners using the Shared Tree © Fred Bovy EIRL 2012 18
  • 19. PIMv6-SM: PIM Last-Hop Switchover to the SPT  Last Hop Router notices that it receives the traffic from an interface which does not point to the best path back to the Source (RPF). !!! © Fred Bovy EIRL 2012 19
  • 20. PIMv6-SM: Last-Hop Switchover to the SPT  Last Hop Router sends a PIMv6 Join (S,G) toward the Source  (S,G) states are created in the MRIB by the PIMv6 Join (S,G) travelling hop by hop to the Source PIM JOIN (S,G) © Fred Bovy EIRL 2012 20
  • 21. PIMv6-SM: Building the Shortest Path Tree (SPT)  When the DR receives the PIM JOIN (S,G), it starts to forward paquets down the Shortest Path Tree but also down the Shared Tree. © Fred Bovy EIRL 2012 21
  • 22. PIMv6-SM: Pruning the Shared Tree  When the Last Hop router receives two copies of the same flow, it decides to prune the Shared Tree  It sends a (S,G,rpt-bit) Prune toward the RP (S,G,rpt-bit) Prune © Fred Bovy EIRL 2012 22
  • 23. PIMv6-SM: Shortest Path Tree Only (SPT)  When the Shortest Path Tree has been Pruned, traffic only flows on the Shortest Path Tree  If traffic on the Shortest Path goes down below a configurable threshold, it is possible to switch back to the Shared Tree. © Fred Bovy EIRL 2012 23
  • 24. PIM-SM Summary  Sources and Listeners meet at the Rendez-Vous point  It is possible to stay forever on the Shared Tree to minimize the states on the routers.  The Rendez-Vous point must be carefully choosen on the network  It is possible to use an Anycast Address for the RP with longest match prefix to choose a primary.  BSR is the only dynamic RP configuration method  Using MLDv2 and SSM, there is no more need for a RP © Fred Bovy EIRL 2012 24
  • 25. Introduction to MLD  ICMPv6 with IPv6 Hop-by-Hop Router Alert Option  Hop Limit is 1  On each link a Querier is elected.  Lower IPv6 address is elected.  The Querier sends a Query on a regular basis to ask if there any receiver present. I won ! 3 I am the I am the Querier Querier 2 1 FE80::1 FE80::100 Query FE80::1 FF02::1
  • 26. Query Interval Host A Host B FE80:: Query FF02::1 1  The interval between General Query sent by the Querier. Default: 125 seconds © Fred Bovy EIRL 2012 26
  • 27. Robustness Host A Host B State Change FE80:: FF02::1 R 1  This is the basis for the computation of many parameters  MLD is robust to [Variable Robustness] – 1 paquet loss  Default: 2. MLD has no problem loosing one MLD paquet © Fred Bovy EIRL 2012 27
  • 28. Introduction to MLDv1  All MLD paquets are sent with Link-Local address as source.  Hop Limit is 1  MLDv1 (RFC 2710) is IPv6 version of IGMP Version 2 (RFC 2236) o Multicast Listener Query  General Query. Sent to the all-nodes Link-Local multicast address to figure out which group has members.  Address-Specific Query is used to identify the members of a given group. It is sent to the address of the group which is being queried. o Multicast Listener Report  Response to a Query o Multicast Listener Done  Sent by a Listener which does not listen to this group any more.
  • 29. MLDv1 General Query Host A Host B FE80:: General Query FF02::1 1  The Querier sends a general Query  A and B starts a random timer © Fred Bovy EIRL 2012 29
  • 30. MLDv1 Listener Report Host A Host B Listener Report FE80::A FF02::1  Host timer A expires  Host A responds to the Query  B listens that A replied to the router Query, stops its timer and suppress its response not to send a duplicate response. © Fred Bovy EIRL 2012 30
  • 31. MLDv1 Leave Process Host A Host B FE80:: Done FF1E::1 FF02::2 1  A is no longer interested by FF1E::1 and sends a Done message © Fred Bovy EIRL 2012 31
  • 32. MLDv1 Leave Process Host A Host B Address-Specific Query FE80::5 FF1E::1  Router sends a Last Listener Query to the Multicast address left by A © Fred Bovy EIRL 2012 32
  • 33. MLDv1 Leave Process Host A Host B Report FE80::5 FF1E::1  If B is still interested it sends a Listener Report and the router ignores the Done message  If B is not interested it does not send anything and the group is removed © Fred Bovy EIRL 2012 33
  • 34. MLDv2 (RFC 3810)  MLDv2 is the IPv6 translation of IGMP Version 3 (RFC 3376)  MLDv2 is backward compatible with MLDv1  No duplicate response suppression  No Done message  IANA allocated FF02::16 called all MLDv2-capable routers  MLDv2 introduced source filtering  INCLUDE Mode : if the message includes all the source we want to ear  EXCLUDE Mode : if the message includes all the source we don’t want to ear © Fred Bovy EIRL 2012 34
  • 35. Queries  General Queries  Sent periodically  Responses are sent in Current State Report  Multicast Address Specific Queries  Multicast Address and Source Specific Queries.  Sent after a state change.  Sent in response to a State Change Report © Fred Bovy EIRL 2012 35
  • 36. Multicast Listener Reports MLDv2 needs two types of Reports :  Current State Change Report. o Sent in response to a Query o MODE_IS_INCLUDE o MODE_IS_EXCLUDE  State Change Report o Sent after a state change o Sent many times (Robustness) o Filter Mode Change Records • CHANGE_TO_INCLUDE • CHANGE _TO_EXCLUDE o Source List Change Records • ALLOW_NEW_SOURCE • BLOCK_OLD_SOURCES © Fred Bovy EIRL 2012 36
  • 37. MLDv2 Query Messages Type = 130 Code Checksum Maximum Response Code Reserved Multicast Address Resv S QRV QQIC Number of Sources (N) Source Address [ 1 ] Source Address [ 2 ] Source Address [ N ] © Fred Bovy EIRL 2012 37
  • 38. MLDv2 Multicast Listener Report Messages Type = 143 Code Checksum Reserved Nr of Mcast Address Records (M) Multicast Address Record [1] Multicast Address Record [2] … Multicast Address Record [M] © Fred Bovy EIRL 2012 38
  • 39. MLDv2 Multicast Address Record Record Type Aux data Len Number of Sources (N) Multicast Address Source Address [ 1 ] Source Address [ 2 ] Source Address [ N ] Auxiliary Data © Fred Bovy EIRL 2012 39
  • 40. MLDv2 General Query Host A Host B FE80:: General Query FF02::1 1  Sent periodically to discover which group has listener on a link  Includes:  Multicast Address=0,  Number of Source=0 © Fred Bovy EIRL 2012 40
  • 41. MLDv2 Multicast Address Specific Query Host A Host B FE80:: Multicast @ specific Query FF34::16 S:0 FF34::16 1  The Querier sends this Query to ask if a particular group has Listener on a particular interface.  Includes:  The address, by example: FF34::16  Number of Source:0 © Fred Bovy EIRL 2012 41
  • 42. MLDv2 Multicast Listener Query © Fred Bovy EIRL 2012 42
  • 43. MLDv2 Address and Source Specific Query Host A Host B FE80:: Multicast Listener Query FF34::16 S:1 FF34::16 1  The Querier sends this message to discover if a multicast address with one or many source addresses has a Listener on a particular interface.  Elle contient  The address, by example: FF34::16  Number of Source, by example: 1 © Fred Bovy EIRL 2012 43
  • 44. Reception of a Query Source is valid Link-Local ? NO Hop Limit = 1 ? DROP Router Alert set in the Hop- by-Hop Option ? YES Process the Query. Wait before the Response. Delay max= Maximum Response Delay © Fred Bovy EIRL 2012 44
  • 45. MLDv2 State Change Report Host A Host B State Change FE80:: FF02::1 Report 1  The State Change Report contains a change:  Filter Change Report  Source List Change Report  Both Change Report  Reports are sent robustness times on the link  Default Robustness: 2 © Fred Bovy EIRL 2012 45
  • 46. MLDv2 State Change Report Exemple Internet Protocol Version 6 0110 .... = Version: 6 .... 1110 0000 .... .... .... .... .... = Traffic class: 0x000000e0 .... .... .... 0000 0000 0000 0000 0000 = Flowlabel: 0x00000000 Payload length: 52 Next header: IPv6 hop-by-hop option (0x00) Hop limit: 1 Source: fe80::38b1:e73c:c0f0:4442 (fe80::38b1:e73c:c0f0:4442) Destination: ff02::16 (ff02::16) Hop-by-Hop Option Next header: ICMPv6 (0x3a) Length: 0 (8 bytes) Router alert: MLD (4 bytes) PadN: 2 bytes Internet Control Message Protocol v6 Type: 143 (Multicast Listener Report Message v2) Code: 0 (Should always be zero) Checksum: 0x50d2 [correct] Allow new sources: ff34::16 (ff34::16) Mode: Allow new sources Aux data len: 0 Multicast Address: ff34::16 Source Address: 2001:db8:cafe::7 (2001:db8:cafe::7) © Fred Bovy EIRL 2012 46
  • 47. PIM-SSM  With PIM-SSM the Listener must provide the Source address.  Rendez-Vous point are no more needed.  The source can be configured statically  The source can be learned from DNS with the Record G  PIM-SSM is supported with MLDv2  RFC 3306. Unicast-Prefix-based IPv6 Multicast Flags: 00PT. P=1, T=1 plen = 0 network prefix = 0 FF3x::/96 x=n’importe quel scope valide © Fred Bovy EIRL 2012 47
  • 48. Rendez-Vous Point  Static  Must be manually configured on each multicast router  Anycast RP  Static but the same address is configured many time with different mask length  Longest match select the preferred RP  Embedded RP  RP address is embedded in the Multicast Group  Dynamic with PIM BSR  BSR is a dynamic protocol which allow the Rendez-vous point automatic configuration. © Fred Bovy EIRL 2012 48
  • 49. Anycast RP + Longest Match  RP1 is preferred because routing prefers the longest match RP1: RP2: 2001:db8:1::1/64 2001:db8:1::1/63 © Fred Bovy EIRL 2012 49
  • 50. Embedded RP – RFC 3956  The RP address can be embedded in the Multicast Group © Fred Bovy EIRL 2012 50
  • 51. Embedded RP – Flags FF76:0130:2001:db8:9abc::4321 Flags: 7 R: Rendez-Vous Point = 1 then P: Prefix =1 and T: Temporary Prefix = 1 © Fred Bovy EIRL 2012 51
  • 52. Embedded RP – Prefix FF76:0130:2001:db8:9abc::4321 Plen = 30 Hex = 48 dec 2001:db8:9abc:: © Fred Bovy EIRL 2012 52
  • 53. Embedded RP – Adresse du RP FF76:0130:2001:db8:9abc::4321 Rendez-Vous Point Address 2001:db8:9abc::1 o RFC3956 © Fred Bovy EIRL 2012 53
  • 54. PIM Boot Strap Router  Many routers are Candidates BSR (C-BSR).  The C-BSR elect a BSR by sending C-BSR message with priorities  The message travels hop by hop.  The C-BSR with the best priority becomes the BSR  During the election it announces its presence on the network.  This is similar to the election of the root of the spanning-tree.  Some routers are configured as Candidates RP (C-RP).  C-RP unicast their presence of C-RP to the C-BSR.  The C-BSR sends its list of C-RP to all the PIM routers  All the PIM routers receive the list of C-RP and execute the same hashing function to choose a RP for each group. © Fred Bovy EIRL 2012 54
  • 55. Books on the Web: Safari Books Online © Fred Bovy EIRL 2012 55
  • 56. REFERENCES © Fred Bovy EIRL 2012 56

Notes de l'éditeur

  1. Si R=1, alors l’adresse du Rendez-Vous point est contenu dans l’adresse multicast. http://www.ietf.org/rfc/rfc3956.txt Modified Unicast-Prefix-based Address Format Embedded Rendez-Vous point sera traité plus loin dans ce module Donc si R=1, alors P=1 (même référence au RFC 3956 et aussi RFC 3306) http://www.ietf.org/rfc/rfc3306.txt Et T=1 IPv6 Multicast at Cisco: http://www.cisco.com/en/US/prod/collateral/iosswrel/ps6537/ps6552/ps6594/product_data_sheet0900aecd80320fb8.pdf
  2. PIM-SM Specification http://www.ietf.org/rfc/rfc4601.txt
  3. PIMv2 http://www.ietf.org/rfc/rfc4601.txt 4.3.2. DR Election MLDv2 http://www.ietf.org/rfc/rfc3810.txt 7.6.2. Querier Election
  4. PIMv2 http://www.ietf.org/rfc/rfc4601.txt 4.3.2. DR Election MLDv2 http://www.ietf.org/rfc/rfc3810.txt 7.6.2. Querier Election
  5. MLD RFC 2710 Traduit en français http://www.normes-internet.com/normes.php?rfc=rfc2710&lang=fr Plus d’explications en français: http://livre.g6.asso.fr/index.php/La_construction_d'arbre_multicast_-_PIM http://www-r2.u-strasbg.fr/~hoerdt/publis/pim_tests.pdf
  6. Ethernet II, Src: ca:00:06:a9:00:1c (ca:00:06:a9:00:1c), Dst: IPv6mcast_00:00:00:16 (33:33:00:00:00:16) Destination: IPv6mcast_00:00:00:16 (33:33:00:00:00:16) Source: ca:00:06:a9:00:1c (ca:00:06:a9:00:1c) Type: IPv6 (0x86dd) Internet Protocol Version 6 0110 .... = Version: 6 .... 1110 0000 .... .... .... .... .... = Traffic class: 0x000000e0 .... .... .... 0000 0000 0000 0000 0000 = Flowlabel: 0x00000000 Payload length: 52 Next header: IPv6 hop-by-hop option (0x00) Hop limit: 1 Source: fe80::c800:6ff:fea9:1c (fe80::c800:6ff:fea9:1c) Destination: ff02::16 (ff02::16) Hop-by-Hop Option Next header: ICMPv6 (0x3a) Length: 0 (8 bytes) Router alert: MLD (4 bytes) PadN: 2 bytes Internet Control Message Protocol v6 Type: 143 ( Multicast Listener Report Message v2 ) Code: 0 (Should always be zero) Checksum: 0x30dd [correct] Include: ff0e:dead:beef::1 (ff0e:dead:beef::1) Mode: Include Aux data len: 0 Multicast Address: ff0e:dead:beef::1 Source Address: bad:cafe::1 (bad:cafe::1 )
  7. Ethernet II, Src: ca:01:06:a9:00:1c (ca:01:06:a9:00:1c), Dst: IPv6mcast_00:00:00:16 (33:33:00:00:00:16) Destination: IPv6mcast_00:00:00:16 (33:33:00:00:00:16) Source: ca:01:06:a9:00:1c (ca:01:06:a9:00:1c) Type: IPv6 (0x86dd) Internet Protocol Version 6 0110 .... = Version: 6 .... 1110 0000 .... .... .... .... .... = Traffic class: 0x000000e0 .... .... .... 0000 0000 0000 0000 0000 = Flowlabel: 0x00000000 Payload length: 116 Next header: IPv6 hop-by-hop option (0x00) Hop limit: 1 Source: fe80::c801:6ff:fea9:1c (fe80::c801:6ff:fea9:1c) Destination: ff02::16 (ff02::16) Hop-by-Hop Option Next header: ICMPv6 (0x3a) Length: 0 (8 bytes) Router alert: MLD (4 bytes) PadN: 2 bytes Internet Control Message Protocol v6 Type: 143 ( Multicast Listener Report Message v2 ) Code: 0 (Should always be zero) Checksum: 0xa0f4 [correct] Exclude: ff02::2 (ff02::2) Exclude: ff02::d (ff02::d) Exclude: ff02::16 (ff02::16) Exclude: ff02::1:ff00:2 (ff02::1:ff00:2) Exclude: ff02::1:ffa9:1c (ff02::1:ffa9:1c)
  8. http://www.renater.fr/IMG/pdf/03-IGMP-MLD_FR.pdf
  9. Multicast Address . Pour un General Query, le champs Multicast Address est zéro. Pour un Multicast Address Specific Query ou un Multicast Address and Source Specific Query, il est réglé sur l’adresse multicast que l’on requiert. S Flag . Suppress Router-Side Processing QRV Querier's Robustness Variable QQIC Querier's Query Interval Code Number of Sources. Zéro pour un General Query ou Multicast Address Specific Query, et non-zero pour Multicast Address and Source Specific Query. Multicast Address Specific Query. Multicast Address and Source Specific Query
  10. Multicast Address . Pour un General Query, le champs Multicast Address est zéro. Pour un Multicast Address Specific Query ou un Multicast Address and Source Specific Query, il est réglé sur l’adresse multicast que l’on requiert. S Flag . Suppress Router-Side Processing QRV Querier's Robustness Variable QQIC Querier's Query Interval Code Number of Sources. Zéro pour un General Query ou Multicast Address Specific Query, et non-zero pour Multicast Address and Source Specific Query. Multicast Address Specific Query. Multicast Address and Source Specific Query
  11. Multicast Address . Pour un General Query, le champs Multicast Address est zéro. Pour un Multicast Address Specific Query ou un Multicast Address and Source Specific Query, il est réglé sur l’adresse multicast que l’on requiert. S Flag . Suppress Router-Side Processing QRV Querier's Robustness Variable QQIC Querier's Query Interval Code Number of Sources. Zéro pour un General Query ou Multicast Address Specific Query, et non-zero pour Multicast Address and Source Specific Query. Multicast Address Specific Query. Multicast Address and Source Specific Query