IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos...

57
IP 6 M lti t IPv6 Multicast Athanassios Liakopoulos ([email protected]) EFIPSANS IP 6 T ii Bd tH EFIPSANS IPv6 Training, Budapest, Hungary

Transcript of IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos...

Page 1: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

IP 6 M lti tIPv6 Multicast

Athanassios Liakopoulos ([email protected])EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary

Page 2: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

Copy …RightsIPv6 Deployment and Support

py g

Thi lid t i th hi f th 6DEPLOY j t i itThis slide set is the ownership of the 6DEPLOY project via its partnersThe Powerpoint version of this material may be reused and modified

l ith itt th i tionly with written authorizationUsing part of this material must mention 6DEPLOY courtesyPDF files are available from www.6deploy.orgp y gLooking for a contact ?

Mail to: [email protected]: bernard tuy@renater frOr: [email protected]

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 3: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

IntroductionIPv6 Deployment and Support

Multicast is inherent to the IPv6 protocolNo broadcasts

Multicast used insteadBut some parts need to be configuredBut some parts need to be configured

for building the multicast treesfor topology information (routing)

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 4: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

OutlineIPv6 Deployment and Support

Multicast AddressingMulticast on the LAN (MLD)( )Intra-domain Multicast (PIM)I t d i M lti tInter-domain MulticastConfiguration examplesg p

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 5: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

Generic Multicast Group AddressesIPv6 Deployment and Support(RFC 3513)

1111 1111 Flags Scope Group ID

8 bits 4 bits 4 bits 112 bits

IPv6 multicast addresses are in the range of FF00::/8Flag field:

8 bits 4 bits 4 bits 112 bits

Flag field: • 000T values

• T = 0, for permanent addresses defined by IANA• T = 1, for transient addresses

Scope field: Allows limiting the scope of the multicasting0 - Reserved 4 - Admin-local0 Reserved 4 Admin local 1 – Node-local 5 - Site-local2 – Link-local 8 - Organization-local3 S b t l l E Gl b l (I t t)3 – Subnet-local E - Global (Internet)

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 6: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

Generic Multicast Group AddressesIPv6 Deployment and Support

Generic Multicast Group Addresses - Examples

IANA assigned addressesIANA assigned addresseshttp://www.iana.org/assignments/ipv6-multicast-addresses

Flags = 0000Flags = 0000ScopeG ID 101 NTP ( i bl )Group ID = 101 NTP servers (variable scope)

FF01:0:0:0:0:0:0:101 : All NTP servers on the sender’s hostFF02:0:0:0:0:0:0:101 : All NTP servers on the sender’s linkFF02:0:0:0:0:0:0:101 : All NTP servers on the sender s linkFF05:0:0:0:0:0:0:101 : All NTP servers on the sender’s siteFF0E:0:0:0:0:0:0:101 : All NTP servers on the Internet

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 7: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

IPv6 Multicast AddressIPv6 Deployment and SupportAssignments

Addresses for a given (fixed) scopeAddresses for a given (fixed) scopeo FF02::1 : All nodes of the linko FF02::2 : All routers of the linko FF05::1:3 : All DHCP servers of the siteo FF02::D : All PIM routers of the linko …Addresses for all scopes (variable scope)

FF0X :: 101 : Network Time Protocol (NTP)o FF0X :: 101 : Network Time Protocol (NTP) o FF0X :: FB : mDNSv6o …o …

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 8: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

Group IDsIPv6 Deployment and Support

pShould generally be 32 bits, although it is possible to use 112 bit h t i f th ifi dd i112 bits when not using any of the specific addressing schemesWhen mapping IPv6 multicast groups to link-layer d i i dd h l 32 bi d Sdestination addresses, the last 32 bits are used. So one should try to always have different group IDs for different groups.RFC 3307 specifies a scheme with 32-bit IDs as follows

0x00000001 - 0x3fffffff Groups assigned by IANA0x40000000 - 0x7fffffff Group IDs assigned by IANA0x80000000 - 0xffffffff Server/host allocation

Note that IANA may assign group IDs, not just groups. This is something like scope relative addresses for IPv4.g pWhenever using unicast prefix based addresses, embedded-RP addresses or SSM, you should pick group IDs according to this schemeg

Internet2 IPv6 Multicast Workshop

Page 9: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

Multicast Unicast Prefix-BasedAdd (RFC 3306)

IPv6 Deployment and SupportAddresses (RFC 3306)

1111 1111 Flags Scope Resrv Plen Prefix Group ID8 bits 4 bits 4 bits 8 bits 8 bits 64 bits 32 bits

Addresses are in the range of FF30::/12Flags = 00PTFlags 00PT

P=0, for address not based on a unicast prefixP=1, for address based on the unicast prefixIf P=1, then T=1 because address is not allocated by IANA

Resrv : reserved, always 0Plen : prefix lengthPrefix : a unicast prefix

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos

([email protected])

Page 10: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

Multicast Unicast Prefix-BasedAdd E l

IPv6 Deployment and SupportAddresses - Example

GRNET-HQ prefix2001:648:2320::/48

IPv6 Unicast Prefix Based AddressIPv6 Unicast Prefix-Based AddressFF3E:30:2001:648:2320::cafe:babe

1111 1111 Flags Scope Resrv Plen Prefix Group ID

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos

([email protected])

Page 11: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

SSM Addresses (RFC 4607)IPv6 Deployment and Support

11111111 3 Scope Resrv 0 0 Group ID8 bits 4 bits 4 bits 8 bits 8 bits 64 bits 32 bits

SSM addresses are a subset of unicast prefix-based addressesSSM addresses are in the range of FF3x::/96Flags = 00PTFlags 00PT

T=1, for for transient addressesP=1, for address based on the unicast prefix

Plen : prefix length always 0Prefix : always 0

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos

([email protected])

Page 12: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

SSM Addresses - ExampleIPv6 Deployment and Support

SSM AddressFF3E:::cafe:babe

11111111 3 Scope Resrv 0 0 Group ID

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos

([email protected])

Page 13: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

Multicast Embedded RP Add (RFC 3956)

IPv6 Deployment and SupportAddresses (RFC 3956)1111 1111 Flags Scope Resvd RPadr Plen Prefix Group ID1111 1111 Flags Scope Resvd RPadr Plen Prefix Group ID

8 bits 4 bits 4 bits 4 bits 4 bits 8 bits 64 bits 32 bits

Addresses are in the range of FF70::/12Flags = 0RPTFlags 0RPT

R=1, for address that embeds RP addressR=0, for address that do not embed RP addressIf R=1, then (P,T)=(1,1).

PRaddr : last four bits of RP addressPlen : prefix lengthPrefix : a unicast prefix

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos

([email protected])

Page 14: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

Multicast Embeded RP Address -E l

IPv6 Deployment and SupportExample

GRNET-HQ address prefix2001:648:2320::/48

GRNET-HQ RP address2001:648:2320::1/128

Embedded RP AddressEmbedded RP AddressFF7E:130:2001:648:2320::cafe:babe

11111111 Flags Scope Resvd RPadr Plen Prefix Group ID

8 bits 4 bits 4 bits 4 bits 4 bits 8 bits 64 bits 32 bits

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos

([email protected])

Page 15: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

Solicited-Node Multicast IPv6 Deployment and SupportAddresses (RFC 4291)

Nodes build their own solicited multicastNodes build their own solicited multicast address using their unicast / anycastaddressesaddressesConcatenate FF02::1:FF00:0000/104 with the 24 low order bits of a unicast / anycastthe 24-low-order bits of a unicast / anycastaddressSolicited multicast address are used …

… by Neighbor Discovery Protocol… for Duplicate Address Detection management

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 16: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

Solicited-Node Multicast IPv6 Deployment and Support

C t ti f ff02 1 ff ith th l t 24

Addresses ExampleConcatenation of ff02::1:ffxx:xxxx with the last 24

bits of the IPv6 address

IPv6 address:2001:648:1a:4002:4421:21FF:FE24:87c1

S l M t dd FF02 1 FF24 87 1Sol. Mcast address: FF02::1:FF24:87c1

Ethernet address: 33-33-FF-24-87-c1

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 17: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

OutlineIPv6 Deployment and Support

Multicast AddressingMulticast on the LAN (MLD)( )Intra-domain Multicast (PIM)I t d i M lti tInter-domain MulticastConfiguration examplesg p

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 18: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

Multicast Listener DiscoveryIPv6 Deployment and Support

y

MLD is used among multicast-enabled routers and hosts to signal which groups (and sources) a host is interested in.MLDv1 (RFC 2710) supports only ASM, ( ) pp ysimilar to IGMPv2.MLDv2 (RFC 3810) also supports SSM,MLDv2 (RFC 3810) also supports SSM, similar to IGMPv3.MLD messages are sent in ICMPv6 packetsMLD messages are sent in ICMPv6 packets

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 19: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

MLDv1 messagesIPv6 Deployment and Support

g

Multicast listener Query (130)Identify whether a group has listeners on a link

Multicast Listener Report (131)Response to a queryp q y

Multicast Listener Done (132)Indicate that a host stopped listening to a multicastIndicate that a host stopped listening to a multicast address

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos

([email protected])

Page 20: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

MLDv1 : Join a groupIPv6 Deployment and Support

g p

ff1e::2:4444ff1e::2:4444ff1e::5d:8888ff1e::5d:8888ff1e::2:4444

Host 1 Host 2 Host 3

ff1e::2:4444 ff1e::5d:8888ff1e::5d:8888ff1e::2:4444

Send Reportfor ff1e::5d:8888ff1e::5d:8888

Send Report for ff1e::2:4444

Periodically send Multicast Listener Query to ff02::1

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 21: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

MLDv1 : Leave a groupIPv6 Deployment and Support

g p

ff1e::2:4444 ff1e::2:4444ff1e::2:4444

Host 1 Host 2 Host 3

Send Report

ff1e::2:4444 ff1e::5d:8888ff1e::5d:8888ff1e::2:4444

Send Multicast Listener Donefor ff1e::2:4444

Send Reportfor ff1e::2:4444

Send Multicast Listener Done for ff1e::5d:8888ff1e::5d:8888

to ff02::2

Send Multicast Specific Queryfor ff1e::2:4444

to ff02::2

Send Query for ff1e::5d:8888ff1e::5d:8888

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 22: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

MLDv2 (RFC 3810)IPv6 Deployment and Support

( )

Management of groups & sourcesINCLUDE : to receive packets from sources specified in the MLDv2 messageEXCLUDE : to receive packets from all sources

t th ifi d i th MLD 2except the ones specified in the MLDv2 message2 types of messages

Multicast listener query messagesMulticast listener report messages

Interoperable with MLDv1

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 23: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

Multicast and ethernet switchesIPv6 Deployment and Support

To avoid flooding multicast (like broadcast), switches may l MLD ( ll IGMP d PIM) iemploy MLD (as well as IGMP and PIM) snooping

Hosts should use MLD for link-local groups as well; considerable amount of state therefore kept on switch (see Cisco TCAM considerations)Cisco TCAM considerations)

ff02::1 unaffectedsome switches may flood solicited-node or even all link-local traffic

Problems arise when switches do not correctly understandProblems arise when switches do not correctly understand MLD, when MLD not used or when suppression used wrong

common symptom: multicast forwarded for a while then stopsIETF has snooping recommendations RFC but this is not a protocol, so implementation totally up to vendorBe very careful with snooping

especially for link-local traffic (it will eventually bite you)di bl h it d t k (b kb t )disable when it does not make sense (backbone, metro)

What about 802.11?multicast = broadcast (at base rate of AP)multicast >unicast vendor specific tricksmulticast->unicast vendor-specific tricks

Page 24: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

OutlineIPv6 Deployment and Support

Multicast AddressingMulticast on the LAN (MLD)( )Intra-domain Multicast (PIM)I t d i M lti tInter-domain MulticastCurrent IPv6 Multicast Deploymentp yConfiguration examples

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 25: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

Protocol Independent IPv6 Deployment and SupportMulticast (PIM)

PIM is not a routing protocolPIM is not a routing protocolRelies on RPF information from other routing protocols, such as MP-BGP

PIM creates multicast trees between senders and receiversOnly PIM Sparse Mode supported for IPv6Only PIM Sparse Mode supported for IPv6

PIM-SM v2 (RFC 4601) should be used (SSM a subset of the spec)see also bi-directional PIM (RFC 5015)

Differences from IPv4:link local addresses used (HELLO option for listing alllink-local addresses used (HELLO option for listing all addresses)tunnel interfaces used for PIM register

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 26: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

PIM BasicsIPv6 Deployment and Support

Sh d TShared TreesRP-based tree (RPT)Source-based tree (SPT)Source-based tree (SPT)

Rendez-Vous Points (RPs)Static configuration (and Anycast-RP)Static configuration (and Anycast RP)Auto-RP and Bootstrap Router (BSR)

Designated Router (DR)g ( )Join/Prune: from receiver (hop-by-hop) towards

the RP (for *,G) – RPTthe source (S G) SPTthe source (S,G) – SPT

Register: from source unicast encapsulated to the RP

Athanassios Liakopoulos ([email protected]) EFIPSANS IPv6 Training, Jun'06

Page 27: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

Reverse Path ForwardingIPv6 Deployment and Support

g

PIM SM RPF l k t fi d hPIM-SM uses RPF lookup to find where (interface/neighbor) to send join

towards the RP (* G join)towards the RP ( ,G join)or towards the source (S,G join)

RPF also prevents loops: multicast not p pforwarded out the input interfaceRPF routing information provided by:

congruent sources: EBGP, IGP, static routes etc, all routing protocolsincongruent sources providing reachabilityincongruent sources, providing reachability information (NLRI) specifically for multicast RPF, such as MP-BGP

Athanassios Liakopoulos ([email protected]) EFIPSANS IPv6 Training, Jun'06

Page 28: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

PIM-SM ExampleIPv6 Deployment and Support

p

RP(*,G,RP) Join

(* G RP) Join

(*,G) Join multicast tree state(*,G,RP) Join

(*,G,RP) Join

Join G

( ,G,RP) Join Join G

(* G RP) Join R

R

(*,G,RP) Join R

Join G

Animation: Pinizzotto - RossiR

Animation: Pinizzotto - Rossi

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 29: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

PIM-SM ExampleIPv6 Deployment and Support

PIM SM ExampleRP

native multicastG

encapsulated multicast (into unicast)S,G

(*,G) Join multicast tree state

R

R

R

S

G

Animation: Pinizzotto - RossiRS Animation: Pinizzotto - Rossi

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 30: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

ASM RP Tree JoinIPv6 Deployment and Support

RP

Receiver announces desireto join group G with IGMPv2host report – (*,G).

(*, G) JoinRP Tree

IGMPv2 host report DR sends PIM (*,G) Join toward the RP; subsequent routers do lik i

Receiver

likewise.

Page 31: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

ASM Sender RegistrationIPv6 Deployment and Support

g

RPSource

Active source triggers DR to send (S,G) Register

RP TreeTraffic Flow

( ) gmessage to RP.

RP sends (S,G) Join to source.

ReceiverShortest Path Tree

Traffic Flow(S, G) Register (unicast)

(S, G) JoinShortest Path Tree

Page 32: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

ASM Sender RegistrationIPv6 Deployment and Support

g

RPSource

(S, G) traffic begins arriving at the RP via the

RP Tree RP sends a Register-Stop T ffi Fl

arriving at the RP via the SPT.

ReceiverShortest Path Tree

back to the DR to stop the Register process.

Traffic Flow(S, G) Register (unicast)

(S, G) Register-Stop (unicast)

Page 33: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

ASM Sender RegistrationIPv6 Deployment and Support

g

RPSource traffic flows nativelyalong SPT to RP

Source

along SPT to RP.

From RP, traffic flows downthe RPT to the receiver.

RP TreeTraffic Flow

ReceiverShortest Path Tree

Page 34: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

ASM SPT CutoverIPv6 Deployment and Support

RPSource

Receiver’s DR joins the SPT.

Sh t t P th TRP TreeTraffic Flow

Receiver(S, G) JoinShortest Path Tree

Page 35: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

ASM SPT CutoverIPv6 Deployment and Support

RPRPSource

T ffi b i fl i d th

Shortest Path TreeRP Tree

Traffic begins flowing down the new branch of the SPT.Traffic Flow

ReceiverShortest Path Tree

(S, G) RP-bit Prune Additional (S, G) state is created along the RPT to pruneoff (S, G) traffic.

Page 36: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

ASM SPT CutoverIPv6 Deployment and Support

RPSource

(S,G) traffic flow is now pruned off of this branch of the RPT and is flowing to

SRP Tree

the receiver via the SPT.

Traffic for other sources may till b fl i d th

Traffic Flow

ReceiverShortest Path Tree still be flowing down the

RPT.

Page 37: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

ASM SPT CutoverIPv6 Deployment and Support

RPSource

(S G) t ffi fl i l

Shortest Path TreeRP Tree

(S, G) traffic flow is no longer needed by the RP, so it prunes the flow of (S, G) traffic

Traffic Flow

ReceiverShortest Path Tree traffic.

(S, G) Prune

Page 38: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

ASM SPT CutoverIPv6 Deployment and Support

RPSource

(S, G) Traffic flow is now only flowing to the receiver via a

Shortest Path TreeRP Tree

single branch of the SPT.Traffic Flow

As long as the source remains

ReceiverShortest Path Tree active, its DR sends Null-

Register messages to the RP, enabling the RP to maintain a li t f ll tilist of all active sources.

Page 39: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

OutlineIPv6 Deployment and Support

Multicast AddressingMulticast Listener DiscoveryMulticast Listener DiscoveryProtocol Independent MulticastI t d i M lti tInter-domain MulticastConfiguration examplesg p

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 40: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

Inter-domain MulticastIPv6 Deployment and Support

MSDP t t d f IP 6MSDP not supported for IPv6In IPv4, each domain has typically one or more RPs. RPs in different domains se MSDP to learn abo tRPs in different domains use MSDP to learn about sources in remote domainsAlso used between Anycast RPs in same domain toAlso used between Anycast-RPs in same domain to exchange source information

MSDP

RPRP

S register

Domain A Domain BDomain A Domain B

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 41: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

Inter-domain MulticastIPv6 Deployment and Support

Without MSDP there is no inter domain source (andWithout MSDP, there is no inter-domain source (and RP) discovery mechanism defined for IPv6For a given global group there can be only one single RP on the InternetRP on the Internet

not scalableOnly SSM? MSDP replacement? The end of inter-domain ASM?domain ASM?Embedded-RP (RFC 3956)

RP address is embedded in the group – RP discoveryPIM t l d t t E RP fi tiPIM routers only need to support E-RP, no configuration necessary (except on RP)

However:the RP address is again the SPoFthe RP address is again the SPoFand E-RP is open to inter-domain abuse of the RP resource

Work in progress…

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 42: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

PIM Anycast-RP (RFC 4610)IPv6 Deployment and Support

y ( )for Embedded-RP

E h RP f d PIM REGISTER i dEach RP forwards PIM REGISTER received from a DR to other RPs in a domain (RP-set)Substitutes MSDP mesh-groups (among Anycast-RPs) with PIM REGISTER message forwarding

PIM REGISTER

RPRP

S register

Domain A

RP

Domain A

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 43: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

PIM Anycast-RP (RFC 4610)IPv6 Deployment and Support

y ( )for Embedded-RP

C id t di thi h iConsider extending this mechanism across domains with separate RP-sets

fof course also sharing the anycast E-RP addressMaybe half a solution for the inter-domain ASM problem but… could end up recreating MSDP

PIM REGISTER

RPRP

S register

Domain A Domain BDomain A Domain B

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 44: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

OutlineIPv6 Deployment and Support

Multicast AddressingMulticast Listener DiscoveryMulticast Listener DiscoveryProtocol Independent MulticastI t d i M lti tInter-domain MulticastConfiguration examplesg p

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 45: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

Necessary (?)IPv6 Deployment and Support

y ( )IPv6 Multicast Features

M lti t Li t Di (MLD) P t l V 1&2Multicast Listener Discovery (MLD) Protocol, Ver.1&2 PIM Sparse Mode (PIM-SM) PIM Source Specific Multicast (PIM SSM)PIM Source-Specific Multicast (PIM-SSM) PIM Embedded RP Support Address Family Support for Multiprotocol BGPAddress Family Support for Multiprotocol BGP Static Multicast Routing (mroute) for IPv6Scope BoundariesScope BoundariesIPv6 Static RPsPIM-BidirBootstrap Router (BSR)

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 46: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

TopologyIPv6 Deployment and Support

p gy

CAFÉ-Network

GRNET2001:648::/32

2001:648:CAFE::/48

RP2001:648:CAFE::1

CAFE-Network2001:648:CAFÉ:1::/64

GigE 0/0.102001:648:CAFE:1::2

FE80::217:FFF:FE07:101B2001:648:2FFD:AAAA:1::1FE80::208:7DFF:FEB0:10AC

GigE 0/2.900

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 47: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

Enable IPv6 multicast routingIPv6 Deployment and Support

g

!ipv6 multicast-routing!!

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 48: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

Verify MLD activationIPv6 Deployment and Support

y

gw1#sh ipv6 mld interface gigabitEthernet 0/0.10GigabitEthernet0/0.10 is up, line protocol is upInternet address is FE80::217:FFF:FE07:101B/10MLD is enabled on interfaceCurrent MLD version is 2MLD query interval is 125 secondsMLD querier timeout is 255 secondsMLD querier timeout is 255 secondsMLD max query response time is 10 secondsLast member query response interval is 1 secondsMLD activity: 1454 joins, 1436 leavesMLD querying router is FE80::217:FFF:FE07:101B (this system)

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 49: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

Verify PIM neighborsIPv6 Deployment and Support

y g

gw1#sh ipv6 pim neighborNeighbor Address Interface Uptime Expires DR pri Bidir

FE80::208:7DFF:FEB0:10AC Gi0/2.900 3w3d 00:01:35 1 B

gw1#

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 50: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

MLD Access ControlIPv6 Deployment and Support

!interface GigabitEthernet0/0ipv6 mld access-group mld-access-ctrlp g p

!ipv6 access-list mld-access-ctrldeny ipv6 …deny ipv6 …permit ipv6 …

…!!

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 51: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

Exchange IPv6 Multicast RoutesIPv6 Deployment and Support

g

router bgp 65057router bgp 65057neighbor 2001:648:2FFD:AAAA:1::1 remote-as 5408!address famil ip 6 m lticastaddress-family ipv6 multicastneighbor 2001:648:2FFD:AAAA:1::1 activatenetwork 2001:648:CAFE::/48exit-address-family

!

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 52: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

Exchange IPv6 Multicast RoutesIPv6 Deployment and Support

g

gw1#show bgp ipv6 multicast summarygw1#show bgp ipv6 multicast summaryBGP router identifier 195.251.29.207, local AS number 65057BGP table version is 3182, main routing table version 318259 network entries using 8791 bytes of memory59 path entries using 4484 bytes of memory59 pat e t es us g 8 bytes o e o y1704/49 BGP path/bestpath attribute entries using 211296 bytes of memory1367 BGP AS-PATH entries using 39804 bytes of memory295 BGP community entries using 14982 bytes of memory0 BGP route-map cache entries using 0 bytes of memoryp g y y0 BGP filter-list cache entries using 0 bytes of memoryBGP using 279357 total bytes of memoryBGP activity 57034/50250 prefixes, 63492/56708 paths, scan interval 60 secs

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd2001:648:2FFD:AAAA:1::1

4 5408 217451 93229 3182 0 0 3w0d 59gw1#g #

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 53: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

Static RP IPv6 Deployment and Support

ipv6 pim rp-address 2001:660:3007:300:1:: m6bone-p p pglobal-rp

!ipv6 access-list m6bone-global-rpp g ppermit ipv6 any FF0E::/16permit ipv6 any FF1E::/16permit ipv6 any FF3E::/16permit ipv6 any FF3E::/16

!

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 54: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

Static RP IPv6 Deployment and Support

gw1#sh ipv6 pim tunnel…Tunnel2*

Type : PIM EncapRP : 2001:660:3007:300:1::Source: 2001:648:CAFE:1::2

gw1#show int tunnel 2Tunnel2 is up, line protocol is up

Hardware is TunnelMTU 1514 bytes, BW 9 Kbit, DLY 500000 usec,

reliability 255/255, txload 1/255, rxload 1/255Encapsulation TUNNEL, loopback not setKeepalive not setTunnel source 2001:648:CAFE:1::2 (GigabitEthernet0/0.10), destination 2001:660:3007:300:1::

T l t l/t t PIM/IP 6Tunnel protocol/transport PIM/IPv6Tunnel TTL 255Tunnel is transmit only

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 55: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

Define Embedded RP IPv6 Deployment and Support

ipv6 pim rp-address 2001:648:CAFE::1 grnethq-p p p g qembedded-rp

!ipv6 access-list grnethq-embedded-rpp g q ppermit ipv6 any FF73:130:2001:648:CAFE::/96

…!!

gw1#sh ipv6 pim group-map FF73:130:2001:648:CAFE::/96This piece ofFF73:130:2001:648:2320::/96*

SM, RP: 2001:648:CAFE::1RPF: Tu4,2001:648:CAFE::1 (us)I f St ti

This piece of configuration is needed only t th RP Info source: Static

Uptime: 2w6d, Groups: 0

gw1#

at the RP router!

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 56: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

BSR domain boundaries IPv6 Deployment and Support

!interface GigabitEthernet0/2.900ipv6 pim bsr borderipv6 pim bsr borderipv6 multicast boundary scope 8

!

P ibl b d lPossible scope boundary values:Scope 5: Universities (sites)Scope 8: UniversitiesScope A: NRENsScope B: SEEREN?

EFIPSANS IPv6 Training, Jun'06Athanassios Liakopoulos([email protected])

Page 57: IP 6 M lti tIPv6 Multicast FINAL... · IP 6 M lti tIPv6 Multicast Athanassios Liakopoulos (aliako@grnet.gr) EFIPSANS IP 6 T i i B d t HEFIPSANS IPv6 Training, Budapest, Hungary. ...

Questions?