IPv6 Multicast
Last updated
Last updated
Multicast addresses represent a group of interfaces, just like in IPv4 multicast. The format of a multicast address is:
Flags: The R Flag is used for addresses with an embedded RP. The P Flag indicates a multicast address that is assigned based on the network prefix. The T Flag is set to 0 if the address is a well-known multicast (assigned by IANA) or 1 if the address is an administratively assigned address
The SCOP field (4 bits, 16 values) contains the scope of the multicast group. Available values are:
1: Interface Local – spans only on a single interface and is used for loopback multicast
2: Link Local – spans on a single link (point-to-point or multi-access)
4: Admin Local – administratively defined
5: Site Local – spans a single site
8: Organizational Local – multiple sites belonging to a single organization
E: Global
IANA keeps the . The most used are:
Address | Description |
---|
Other Addresses, like NTP are assigned by IANA but have a variable scope. The address assigned is FF0X::101, where X can be any of the scopes seen earlier.
The frames that carry multicast traffic have the MAC address of the sender as the source and a special address derived from the Layer 3 destination IPv6 as the destination. L2 Multicast addresses start with 33:33 followed by the last 32 bits in the IPv6 address.
MLD (Multicast Listener Discovery Protocol) replaces IGMP for IPv6 multicast routing. MLDv1 is similar to IGMPv2, while MLDv2 is similar to IGMPv3 (supports Source Specific Multicast). To see the interfaces that run MLD, use:
The default version of PIM used on Cisco routers, PIMv2 also supports IPv6. To enable IPv6 multicast routing, use:
This command also enables PIM on all IPv6 enabled interfaces. Only PIM-SM is supported for IPv6 and it works similar to IPv4 PIM.
Every router creates a tunnel to the RP that it uses to unicast PIM Register messages. These tunnels are automatically created. You can see them using:
RP can be configured statically or using BSR. Auto-RP is not supported for IPv6. To see a list of configured RPs, use:
To configure a static RP, use:
To configure a BSR candidate, use:
To configure a RP candidate, use:
A new way to specify the RP is to embedded it into the multicast group address. The format of the group address is:
E.g. If you want to use a RP with the address 2002:CC1E::9, you should assign the following address to the group: FF7x:0940:2002:CC1E::1. Disecting this address, we get:
FF7 – marks the embedded RP type
x – set it to the scope. E.g: for global scope: FF7E:940:2002:CC1E::1. For site local scope: FF75:940:2002:CC1E::1
9 – interface ID
40 – Hex version of the prefix lenght 0x40 = 64
2002:CC1E – prefix of the RP address
::1 – ID of the multicast group
Since the RP can be determined on each packet, there is no need for a RP protocol. Still, the RP needs to be configured with its own IP Address as the RP in order to accept registrations:
IPv6 static multicast routes are added just like normal unicast routes, but with the multicast keyword at the end:
FF02::1 | All Nodes |
FF02::2 | All Routers |
FF02::5 | All OSPF Routers |
FF02::6 | All OSPF DRs |
FF02::9 | All RIP Routers |
FF02::A | All EIGRP Routers |
FF02::D | All PIM Routers |
FF02::12 | All VRRP Routers |
FF02::16 | All MLD Routers |