Skip to content
AdminKit

IP multicast

What is IP multicast?

IP multicast is a way of sending one packet to every member of an interested group at once, instead of broadcasting to a whole network or sending a separate unicast copy to each recipient. AdminKit's guide to mDNS, SSDP and UPnP LAN discovery covers how those zero-configuration protocols build on multicast to find other devices.

By AdminKit team, Netbase JSC · Updated

IP multicast (RFC 1112) is a way of sending one packet to a group of interested receivers at once, instead of either sending to a broadcast address that reaches every device on a network or sending a separate unicast copy to each recipient individually — the same one-to-many-versus-unicast tradeoff Cisco’s IP Multicast Technology Overview walks through. A sender transmits to a reserved multicast address (224.0.0.0/4 for IPv4, or a ff00::/8 address for IPv6), and only devices that have joined that group, typically via IGMP for IPv4, actually receive and process the packet. Linux’s ip(7) manual page, for example, describes its IPv4 stack as containing a multicasting implementation conforming to RFC 1112 and lists 224.0.0.0 through 239.255.255.255 as dedicated to multicast use. On a local network, several zero-configuration discovery protocols build on this: mDNS and SSDP both send queries and announcements to a multicast address so other devices on the same segment can find them without a central server, which is convenient on a trusted home LAN but also means any other device on that same segment receives the same broadcasts by design.

Multicast traffic meant to stay within one subnet can still leak across routed segments if multicast routing is misconfigured.

AdminKit groups iP multicast under its IP & network cluster — browse the AdminKit glossary index for other related terms.

Frequently asked questions

How is IP multicast different from broadcasting?

Multicast only delivers a packet to devices that joined a specific group, while a broadcast reaches every device on the network regardless of interest -- multicast is group-addressed, broadcast is unconditional.

How does a device actually join a multicast group?

Typically via IGMP for IPv4, signaling to the local network that it wants to receive traffic sent to a particular reserved multicast address, rather than that traffic being flooded to every device by default.

What address ranges does multicast use?

224.0.0.0/4 for IPv4, or a ff00::/8 address for IPv6 -- reserved ranges set aside specifically for group delivery rather than individual hosts.

What LAN discovery protocols rely on multicast?

mDNS and SSDP both send queries and announcements to a multicast address so other devices on the same segment can find them without a central server -- convenient on a trusted home LAN, but it also means any other device on that segment receives the same traffic by design.