A multicast address is a logical identifier for a group of
hosts in a
computer network
A computer network is a collection of communicating computers and other devices, such as printers and smart phones. In order to communicate, the computers and devices must be connected by wired media like copper cables, optical fibers, or b ...
that are available to process
datagram
A datagram is a basic transfer unit associated with a packet-switched network. Datagrams are typically structured in header and payload sections. Datagrams provide a connectionless communication service across a packet-switched network. The de ...
s or frames intended to be
multicast for a designated
network service
In computer networking, a network service is an application running at the network layer and above, that provides data storage, manipulation, presentation, communication or other capability which is often implemented using a client–server or pe ...
. Multicast addressing can be used in the
link layer (layer 2 in the
OSI model
The Open Systems Interconnection (OSI) model is a reference model developed by the International Organization for Standardization (ISO) that "provides a common basis for the coordination of standards development for the purpose of systems inter ...
), such as
Ethernet
Ethernet ( ) is a family of wired computer networking technologies commonly used in local area networks (LAN), metropolitan area networks (MAN) and wide area networks (WAN). It was commercially introduced in 1980 and first standardized in 198 ...
multicast, and at the
internet layer
The internet layer is a group of internetworking methods, protocols, and specifications in the Internet protocol suite that are used to transport network packets from the originating host across network boundaries; if necessary, to the desti ...
(layer 3 for OSI) for
Internet Protocol
The Internet Protocol (IP) is the network layer communications protocol in the Internet protocol suite for relaying datagrams across network boundaries. Its routing function enables internetworking, and essentially establishes the Internet.
IP ...
Version 4 (IPv4) or Version 6 (IPv6) multicast.
IPv4
IPv4
Internet Protocol version 4 (IPv4) is the first version of the Internet Protocol (IP) as a standalone specification. It is one of the core protocols of standards-based internetworking methods in the Internet and other packet-switched networks. ...
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
Classless Inter-Domain Routing (CIDR ) is a method for allocating IP addresses for IP routing. The Internet Engineering Task Force introduced CIDR in 1993 to replace the previous classful network addressing architecture on the Internet. Its goal ...
for this group is . The group includes the addresses from to .
The address range is divided into blocks each assigned a specific purpose or behavior.
;Local subnetwork
:Addresses in the range of to are individually assigned by IANA and designated for multicasting on the local
subnetwork
A subnet, or subnetwork, is a logical subdivision of an IP network. Updated by RFC 6918. The practice of dividing a network into two or more networks is called subnetting.
Computers that belong to the same subnet are addressed with an identic ...
only. For example, the
Routing Information Protocol (RIPv2) uses ,
Open Shortest Path First
Open Shortest Path First (OSPF) is a routing protocol for Internet Protocol (IP) networks. It uses a link state routing (LSR) algorithm and falls into the group of interior gateway protocols (IGPs), operating within a single Autonomous syste ...
(OSPF) uses and , and
Multicast DNS uses . Routers must not forward these messages outside the subnet from which they originate.
;Internetwork control block
:Addresses in the range to 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
The Network Time Protocol (NTP) is a networking protocol for clock synchronization between computer systems over packet-switched, variable-Network latency, latency data networks. In operation since before 1985, NTP is one of the oldest Intern ...
using .
;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.
;SDP/SAP block
:Addresses in the reserved range are not individually assigned by IANA. Fallen out of use for security considerations, experimental
Session Announcement Protocol was the primary means of supplying addresses through
Session Description Protocol
The Session Description Protocol (SDP) is a format for describing multimedia communication sessions for the purposes of announcement and invitation. Its predominant use is in support of streaming media applications, such as voice over IP (VoIP) ...
, which now is mostly used in the establishment of private sessions.
;Source-specific multicast
:The (IPv4) and (IPv6) blocks are reserved for use by
source-specific multicast.
;GLOP
:The 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. 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. The method is not applicable to the newer 32-bit ASNs. In , the
IETF
The Internet Engineering Task Force (IETF) is a standards organization for the Internet standard, Internet and is responsible for the technical standards that make up the Internet protocol suite (TCP/IP). It has no formal membership roster ...
envisioned a broader use of the range for many-to-many multicast applications. Unfortunately, with only 256 multicast addresses available to each autonomous system, GLOP is not adequate for large-scale broadcasters.
;Unicast-prefix-based
:The range is assigned as a range of global IPv4 multicast address space provided to each organization that has or larger globally routed unicast address space allocated; one multicast address is reserved per of unicast space. A resulting advantage over GLOP is that the unicast-prefix mechanism resembles the unicast-prefix capabilities of IPv6.
;Administratively scoped
:The range is assigned for private use within an organization. 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 range may be structured to be loosely similar to the scoped IPv6 multicast address.
;Ethernet-specific
:In support of link-local multicasts which do not use IGMP, any IPv4 multicast address that falls within the and 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.
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
The Internet Assigned Numbers Authority (IANA) is a standards organization that oversees global IP address allocation, Autonomous system (Internet), autonomous system number allocation, DNS root zone, root zone management in the Domain Name Syste ...
(IANA).
IPv6
Multicast addresses in
IPv6
Internet Protocol version 6 (IPv6) is the most recent version of the Internet Protocol (IP), the communication protocol, communications protocol that provides an identification and location system for computers on networks and routes traffic ...
use the prefix .
Based on the value of the flag bits, IPv6 multicast addresses can be Unicast-Prefix-based Multicast Addresses, Source-Specific Multicast Addresses, or Embedded RP IPv6 Multicast Addresses. 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.
The service is identified in the ''group ID'' field. For example, if refers to all
Network Time Protocol
The Network Time Protocol (NTP) is a networking protocol for clock synchronization between computer systems over packet-switched, variable-Network latency, latency data networks. In operation since before 1985, NTP is one of the oldest Intern ...
(NTP) servers on the local network segment, then 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.
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. For example, to listen to , a client must send a MLD report to the router, containing the multicast address, to indicate that it wants to listen to that group.
Ethernet
Ethernet frames with a value of 1 in the least-significant bit of the first octet
[On 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
A MAC address (short for medium access control address or media access control address) is a unique identifier assigned to a network interface controller (NIC) for use as a network address in communications within a network segment. This use i ...
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 () 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 to for group addresses for use by standard protocols. Of these, the MAC group addresses in the range of to are not forwarded by
802.1D-conformant
MAC bridges.
802.11
802.11 wireless networks use the same MAC addresses for multicast as Ethernet.
See also
*
Broadcast address
*
Reserved IP addresses
Notes
References
{{DEFAULTSORT:Multicast Address
Network addressing