Multicast address#IPv6
{{Short description|Logical identifier addressing a specific group of devices on a network}}
{{Broader|Multicast}}
A multicast address is a logical identifier for a group of hosts in a computer network that are available to process datagrams or frames intended to be multicast for a designated network service. Multicast addressing can be used in the link layer (layer 2 in the OSI model), such as Ethernet multicast, and at the internet layer (layer 3 for OSI) for Internet Protocol Version 4 (IPv4) or Version 6 (IPv6) multicast.
==IPv4==
IPv4 multicast addresses are defined by the most-significant bit pattern of 1110. This originates from the classful network design of the early Internet when this group of addresses was designated as Class D. The CIDR notation for this group is {{IPaddr|224.0.0.0|4}}.[https://www.ge.com/digital/documentation/cimplicity/version10/oxy_ex-2/advanced_features/topics/g_cimplicity_advanced_features_multicast_ip_addr.html MULTICAST_IP_ADDR]. General Electric Digital Solutions. CIMPLICITY 10.0. In network prefix or Classless Inter-Domain Routing ( CIDR) notation, IP multicast addresses are summarized as 224.0.0.0/4.
The group includes the addresses from {{IPaddr|224.0.0.0}} to {{IPaddr|239.255.255.255}}.
The address range is divided into blocks each assigned a specific purpose or behavior.{{Ref RFC|5771}}
;Local subnetwork
:Addresses in the range of {{IPaddr|224.0.0.0}} to {{IPaddr|224.0.0.255}} are individually assigned by IANA and designated for multicasting on the local subnetwork only. For example, the Routing Information Protocol (RIPv2) uses {{IPaddr|224.0.0.9}}, Open Shortest Path First (OSPF) uses {{IPaddr|224.0.0.5}} and {{IPaddr|224.0.0.6}}, and Multicast DNS uses {{IPaddr|224.0.0.251}}. Routers must not forward these messages outside the subnet from which they originate.
;Internetwork control block
:Addresses in the range {{IPaddr|224.0.1.0}} to {{IPaddr|224.0.1.255}} are individually assigned by IANA and designated as the internetwork control block. This block of addresses is used for traffic that must be routed through the public Internet, such as for applications of the Network Time Protocol using {{IPaddr|224.0.1.1}}.
;AD-HOC block
:Addresses in three separate blocks are not individually assigned by IANA. These addresses are globally routed and are used for applications that don't fit either of the previously described purposes.{{Ref RFC|5771|rsection= 6}}
;SDP/SAP block
:Addresses in the reserved {{IPaddr|224.2.0.0|16}} range are not individually assigned by IANA. Fallen out of use {{Ref RFC|8866|rsection=10}} for security considerations, experimental Session Announcement Protocol {{Ref RFC|2974}} was the primary means of supplying addresses through Session Description Protocol, which now is mostly used in the establishment of private sessions.
;Source-specific multicast
:The {{IPaddr|232.0.0.0|8}} (IPv4) and {{IPaddr|FF3x::|32}} (IPv6) blocks are reserved for use by source-specific multicast.
:The {{IPaddr|233.0.0.0|8}} range was originally assigned as an experimental, public statically-assigned multicast address space for publishers and Internet service providers that wished to source content on the Internet.{{Ref RFC|2770}} The allocation method is termed GLOP addressing and provides implementers a block of 255 addresses that is determined by their 16-bit autonomous system number (ASN) allocation. In a nutshell, the middle two octets of this block are formed from assigned ASNs, giving any operator assigned an ASN 256 globally unique multicast group addresses.{{cite web |url=http://www.multicasttech.com/faq/ |archive-url=https://web.archive.org/web/20110516204230/http://www.multicasttech.com/faq/ |title=Frequently Asked Questions (FAQ) File for Multicasting |publisher=Multicast Tech |archive-date=2011-05-16}} The method is not applicable to the newer 32-bit ASNs. In {{date|September 2001}}, the IETF envisioned a broader use of the range for many-to-many multicast applications.{{Ref RFC|3180}} Unfortunately, with only 256 multicast addresses available to each autonomous system, GLOP is not adequate for large-scale broadcasters.{{citation needed|date=January 2019}}
;Unicast-prefix-based
:The {{IPaddr|234.0.0.0|8}} range is assigned as a range of global IPv4 multicast address space provided to each organization that has {{IPaddr||24}} or larger globally routed unicast address space allocated; one multicast address is reserved per {{IPaddr||24}} of unicast space.{{Ref RFC|6034}} A resulting advantage over GLOP is that the unicast-prefix mechanism resembles the unicast-prefix capabilities of IPv6.{{Ref RFC|3306}}
;Administratively scoped
:The {{IPaddr|239.0.0.0|8}} range is assigned for private use within an organization.{{Ref RFC|2365}} Packets destined to administratively scoped IPv4 multicast addresses do not cross administratively defined organizational boundaries, and administratively scoped IPv4 multicast addresses are locally assigned and do not have to be globally unique. The {{IPaddr|239.0.0.0|8}} range may be structured to be loosely similar to the scoped IPv6 multicast address.{{Ref RFC|4291}}
;Ethernet-specific
:In support of link-local multicasts which do not use IGMP, any IPv4 multicast address that falls within the {{IPaddr|*.0.0.0|24}} and {{IPaddr|*.128.0.0|24}} ranges will be broadcast to all ports on many Ethernet switches, even if IGMP snooping is enabled, so addresses within these ranges should be avoided on Ethernet networks where the functionality of IGMP snooping is desired.{{cite web |url=https://www.cisco.com/c/dam/en/us/support/docs/ip/ip-multicast/ipmlt_wp.pdf#page=7 |page=7 |title=Guidelines for Enterprise IP Multicast Address Allocation |publisher=Cisco |access-date=2023-01-14 |quote=most Layer 2 switches flood all multicast traffic that falls within the MAC address range of 0x0100.5E00.00xx [...] to all ports on the switch even if IGMP Snooping is enabled. [...] There are several multicast group ranges besides the 224.0.0.0/24 that will map to the 0x0100.5E00.00xx MAC address range and hence also will be flooded by most Layer 2 switches.}}{{dubious|Ethernet-specific|date=January 2023}}
=Notable IPv4 multicast addresses=
The following table is a list of notable well-known IPv4 addresses that are reserved for IP multicasting and that are registered with the Internet Assigned Numbers Authority (IANA).
class="wikitable" |
IP multicast address
!Description !Routable |
---|
224.0.0.0
|Base address (reserved) |{{No}} |
224.0.0.1
|The All Hosts multicast group addresses all hosts on the same network segment. |{{No}} |
224.0.0.2
|The All Routers multicast group addresses all routers on the same network segment. |{{No}} |
224.0.0.4
|This address is used in the Distance Vector Multicast Routing Protocol (DVMRP) to address multicast routers. |{{No}} |
224.0.0.5
|The Open Shortest Path First (OSPF) All OSPF Routers address is used to send Hello packets to all OSPF routers on a network segment. |{{No}} |
224.0.0.6
|The OSPF All Designated Routers (DR) address is used to send OSPF routing information to designated routers on a network segment. |{{No}} |
224.0.0.9
|The Routing Information Protocol (RIP) version 2 group address is used to send routing information to all RIP2-aware routers on a network segment. |{{No}} |
224.0.0.10
|The Enhanced Interior Gateway Routing Protocol (EIGRP) group address is used to send routing information to all EIGRP routers on a network segment. |{{No}} |
224.0.0.13
|Protocol Independent Multicast (PIM) Version 2 |{{No}} |
224.0.0.18
|Virtual Router Redundancy Protocol (VRRP) |{{No}} |
224.0.0.19–21
|IS-IS over IP |{{No}} |
224.0.0.22
|Internet Group Management Protocol (IGMP) version 3{{Ref RFC|3376|rsection=4.2.14}} |{{No}} |
224.0.0.102
|Hot Standby Router Protocol version 2 (HSRPv2) / Gateway Load Balancing Protocol (GLBP) |{{No}} |
224.0.0.107
| Precision Time Protocol (PTP) version 2 peer delay measurement messaging |{{No}} |
224.0.0.251
|Multicast DNS (mDNS) address |{{No}} |
224.0.0.252
|Link-local Multicast Name Resolution (LLMNR) address |{{No}} |
224.0.0.253
|Teredo tunneling client discovery address{{Ref RFC|4380|rsection=2.17}} |{{No}} |
224.0.1.1
|Network Time Protocol clients listen on this address for protocol messages when operating in multicast mode. |{{Yes}} |
224.0.1.22
|Service Location Protocol version 1 general |{{Yes}} |
224.0.1.35
|Service Location Protocol version 1 directory agent |{{Yes}} |
224.0.1.39
|The Cisco multicast router AUTO-RP-ANNOUNCE address is used by RP mapping agents to listen for candidate announcements. |{{Yes}} |
224.0.1.40
|The Cisco multicast router AUTO-RP-DISCOVERY address is the destination address for messages from the RP mapping agent to discover candidates. |{{Yes}} |
224.0.1.41
|H.323 Gatekeeper discovery address |{{Yes}} |
224.0.1.129–132
|Precision Time Protocol (PTP) version 1 messages (Sync, Announce, etc.) except peer delay measurement |{{Yes}} |
224.0.1.129
|Precision Time Protocol (PTP) version 2 messages (Sync, Announce, etc.) except peer delay measurement |{{Yes}} |
224.0.23.12
|KNXnet/IP discovery{{Cite web |title=IPv4 Multicast Address Space Registry |url=https://www.iana.org/assignments/multicast-addresses/multicast-addresses.xhtml |access-date=2024-06-30 |website=www.iana.org}} |{{Yes}} |
239.255.255.250
|Simple Service Discovery Protocol address |{{Yes}} |
239.255.255.253
|Service Location Protocol version 2 address |{{Yes}} |
IPv6
{{transcluded section|IPv6 address#IPv6-multicast-address-format}}
Multicast addresses in IPv6 use the prefix {{IPaddr|ff00::|8}}.{{Ref RFC|4291}}
{{trim|{{#section:IPv6 address|IPv6-multicast-address-format}}}}
Based on the value of the flag bits, IPv6 multicast addresses can be Unicast-Prefix-based Multicast Addresses,{{Ref RFC|3306}} Source-Specific Multicast Addresses,{{Ref RFC|3306}} or Embedded RP IPv6 Multicast Addresses.{{Ref RFC|3956}} Each of these types of multicast addresses have their own format and follow specific rules.
Similar to a unicast address, the prefix of an IPv6 multicast address specifies its scope, however, the set of possible scopes for a multicast address is different. The 4-bit scope field (bits 12 to 15) is used to indicate where the address is valid and unique.
class="wikitable"
|+Multicast address scope !IPv6 addressx is a place holder indicating that the value of the flags field is unimportant in the current discussion. !IPv4 equivalent{{Ref RFC|2365|rsection=8}} !Scope{{Ref RFC|7346}} !Purpose |
{{mono|ffx0::/16, ffxf::/16}}
| |Reserved |
{{mono|ffx1::/16}}
| |Interface-local |Packets with this destination address may not be sent over any network link, but must remain within the current node; this is the multicast equivalent of the unicast loopback address. |
{{mono|ffx2::/16}}
|{{mono|224.0.0.0/24}} |Link-local |Packets with this destination address may not be routed anywhere. |
{{mono|ffx3::/16}}
|{{mono|239.255.0.0/16}} |Realm-Local scope{{Ref RFC|7346}} |Local multicast particular to a network technology |
{{mono|ffx4::/16}}
| |Admin-local |The smallest scope that must be administratively configured. |
{{mono|ffx5::/16}}
| |Site-local |Restricted to the local physical network. |
{{mono|ffx8::/16}}
|{{mono|239.192.0.0/14}} |Organization-local |Restricted to networks used by the organization administering the local network. (For example, these addresses might be used over VPNs; when packets for this group are routed over the public internet (where these addresses are not valid), they would have to be encapsulated in some other protocol.) |
{{mono|ffxe::/16}}
|{{mono|224.0.1.0-238.255.255.255}} |Global scope |Eligible to be routed over the public internet. |
The service is identified in the group ID field. For example, if {{IPaddr|ff02::101}} refers to all Network Time Protocol (NTP) servers on the local network segment, then {{IPaddr|ff08::101}} refers to all NTP servers in an organization's networks. The group ID field may be further divided for special multicast address types.
=Notable IPv6 multicast addresses=
The following table is a list notable IPv6 multicast addresses that are registered with IANA.{{cite web |url=https://www.iana.org/assignments/ipv6-multicast-addresses/ipv6-multicast-addresses.xhtml |title=IPv6 Multicast Address Space Registry |publisher=Internet Assigned Numbers Authority}}
To be included in some of the below multicast groups a client must send a Multicast Listener Discovery (MLD), a component of ICMPv6 suite, to join that group.{{Ref RFC|5110}} For example, to listen to {{IPaddr|ff02::1:ff28:9c5a}}, a client must send a MLD report to the router, containing the multicast address, to indicate that it wants to listen to that group.{{Ref RFC|2710}}
class="wikitable"
! Address ! Description |
{{mono|ff02::1}}
| All nodes on the local network segment |
{{mono|ff02::2}}
| All routers on the local network segment |
{{mono|ff02::5}}
| OSPFv3 All SPF routers |
{{mono|ff02::6}}
| OSPFv3 All DR routers |
{{mono|ff02::8}}
| IS-IS for IPv6 routers |
{{mono|ff02::9}}
| RIP routers |
{{mono|ff02::a}}
| EIGRP routers |
{{mono|ff02::d}}
| PIM routers |
{{mono|ff02::12}}
| Virtual Router Redundancy Protocol (VRRP) version 3 |
{{mono|ff02::16}}
| MLDv2 reports{{Ref RFC|3810}} |
{{mono|ff02::1:2}}
| All DHCPv6 servers and relay agents on the local network segment{{Ref RFC|8415}} |
{{mono|ff02::1:3}}
| All LLMNR hosts on the local network segment{{Ref RFC|4795}} |
{{mono|ff05::1:3}}
| All DHCPv6 servers on the local network site{{Ref RFC|8415}} |
{{mono|ff0x::c}} |
{{mono|ff0x::fb}} |
{{mono|ff0x::101}} |
{{mono|ff0x::108}} |
{{mono|ff0x::181}}
| Precision Time Protocol (PTP) version 2 messages (Sync, Announce, etc.) except peer delay measurement |
{{mono|ff02::6b}}
| Precision Time Protocol (PTP) version 2 peer delay measurement messages |
{{mono|ff0x::114}}
| Used for experiments |
Ethernet
Ethernet frames with a value of 1 in the least-significant bit of the first octetOn Ethernet, the least-significant bit of an octet is the first to be transmitted. A multicast is indicated by the first transmitted bit of the destination address being 1. of the destination MAC address are treated as multicast frames and are flooded to all points on the network. While frames with ones in all bits of the destination address ({{macaddr|FF-FF-FF-FF-FF-FF}}) are sometimes referred to as broadcasts, Ethernet generally does not distinguish between multicast and broadcast frames. Modern Ethernet controllers filter received packets to reduce CPU load, by looking up the hash of a multicast destination address in a table, initialized by software, which controls whether a multicast packet is dropped or fully received.
The IEEE has allocated the address block {{macaddr|01-80-C2-00-00-00}} to {{macaddr|01-80-C2-FF-FF-FF}} for group addresses for use by standard protocols. Of these, the MAC group addresses in the range of {{macaddr|01-80-C2-00-00-00}} to {{macaddr|01-80-C2-00-00-0F}} are not forwarded by 802.1D-conformant MAC bridges.{{cite web |author=IEEE |url=http://standards.ieee.org/develop/regauth/tut/macgrp.pdf |archive-url=https://ghostarchive.org/archive/20221009/http://standards.ieee.org/develop/regauth/tut/macgrp.pdf |archive-date=2022-10-09 |url-status=dead |title=Standard Group MAC Address: A Tutorial Guide |publisher=IEEE Standards Association |pages=2–3}}
class="wikitable" |
+Some well known Ethernet multicast addresses{{cite web |author=Patton, Michael A.|display-authors=etal|url=http://www.cavebear.com/archive/cavebear/Ethernet/multicast.html |title=Multicast (including Broadcast) Addresses|work=cavebear.com |publisher=Karl Auerbach}}
!Block !Ethernet multicast address !Usage |
rowspan="15"|
IEEE (802 group) |rowspan="3"| {{macaddr|01-80-C2-00-00-00}} |colspan="2" style="background-color:#def"| Local LAN Segment, stopping at STP-capable switches |
SNAP (length)
|Spanning Tree Protocol (for bridges) IEEE 802.1D |
0x88CC
|Link Layer Discovery Protocol (additional) |
{{macaddr|01-80-C2-00-00-01}}
|0x8808 |Ethernet flow control (pause frame) IEEE 802.3x |
{{macaddr|01-80-C2-00-00-02}}
|0x8809 |"Slow protocols" including Ethernet OAM Protocol (IEEE 802.3ah) and Link Aggregation Control Protocol (LACP) |
rowspan="3"|
{{macaddr|01-80-C2-00-00-03}} |colspan="2" style="background-color:#def"| Local LAN Segment until next multi-port ("non-TPMR") switch |
0x888E
|Port authentication (IEEE 802.1X EAPOL) |
0x88CC
|Link Layer Discovery Protocol (additional) |
{{macaddr|01-80-C2-00-00-08}}
|SNAP (length) |Spanning Tree Protocol (for provider bridges) IEEE 802.1ad |
{{macaddr|01-80-C2-00-00-0D}}
|0x88F5 |Multiple VLAN Registration Protocol (for provider bridges) IEEE 802.1ad |
rowspan="3"|{{macaddr|01-80-C2-00-00-0E}}
|colspan="2" style="background-color:#def"| Local LAN Link, never crosses another device |
0x88CC
|Link Layer Discovery Protocol (primary) |
0x88F7
|Precision Time Protocol (PTP) version 2 over Ethernet (802.1AS) |
{{macaddr|01-80-C2-00-00-21}}
|0x88F5 |GARP VLAN Registration Protocol (also known as IEEE 802.1Q GVRP) Multiple VLAN Registration Protocol (MVRP) |
{{macaddr|01-80-C2-00-00-30}} through {{macaddr|01-80-C2-00-00-3F}} |0x8902 |Ethernet CFM Protocol IEEE 802.1ag |
rowspan="1"|
01-1B-19 IEEE (TC9) |{{macaddr|01-1B-19-00-00-00}} |0x88F7 |Precision Time Protocol (PTP) version 2 over Ethernet (native layer-2) |
rowspan="1"|
|{{macaddr|01-00-5E-00-00-00}} through |0x0800 |IPv4 Multicast:{{Ref RFC|1112}} Insert the low 23 bits of the multicast IPv4 address into the Ethernet address{{Ref RFC|7042|rsection=2.1.1}} |
rowspan="1"|
33-33-xx locally administered |{{MACaddr|33-33-00-00-00-00}} through |0x86DD |IPv6 multicast:{{Ref RFC|2464}} The low 32 bits an Ethernet address for IPv6 multicast traffic are the low 32 bits of the multicast IPv6 address used.{{Ref RFC|7042|rsection=2.3.1}} For example, IPv6 multicast traffic using the address {{IPaddr|ff02::d}} uses the MAC address {{MACaddr|33-33-00-00-00-0d}}, and traffic to {{IPaddr|ff05::1:3}} goes to the MAC address {{MACaddr|33-33-00-01-00-03}}. |
rowspan="3"|
01-0C-CD |{{macaddr|01-0C-CD-01-00-00}} through |0x88B8 |IEC 61850-8-1 GOOSE Type 1/1A |
{{macaddr|01-0C-CD-02-00-00}} through {{macaddr|01-0C-CD-02-01-FF}} |0x88B9 |GSSE (IEC 61850 8-1) |
{{macaddr|01-0C-CD-04-00-00}} through {{macaddr|01-0C-CD-04-01-FF}} |0x88BA |Multicast sampled values (IEC 61850 8-1) |
rowspan="2"|
01-00-0C |{{macaddr|01-00-0C-CC-CC-CC}} |SNAP (length) |Cisco Discovery Protocol (CDP), VLAN Trunking Protocol (VTP), Unidirectional Link Detection (UDLD) |
{{macaddr|01-00-0C-CC-CC-CD}}
|SNAP (length) |Cisco Shared Spanning Tree Protocol Address{{citation needed|date=April 2020}} |
802.11
802.11 wireless networks use the same MAC addresses for multicast as Ethernet.
See also
Notes
{{reflist|group=note}}