IPv4 & IPv6 Multicast Basics
Understanding multicast addressing, scopes, well-known groups, and local subnet limitations.
What is Multicast?
Multicast allows one sender to transmit data to multiple receivers simultaneously. Unlike broadcast (everyone) or unicast (one specific recipient), multicast sends to a specific group of interested receivers. This is more efficient than sending individual unicast packets to each recipient, especially for streaming media, software updates, or real-time communications.
IPv4 Multicast
Range: 224.0.0.0/4 (224.0.0.0 to 239.255.255.255)
224.0.0.0/24
224.0.1.0/24
224.1.0.0 to 224.1.255.255
224.2.0.0 to 224.2.255.255
239.0.0.0/8
IPv6 Multicast
Range: ff00::/8 (all addresses starting with ff)
Address Structure
Format: ff[flags][scope]::/16
Well-Known IPv6 Multicast Addresses
Address | Name | Description |
---|---|---|
ff01::1 | All Nodes (Interface-Local) | All nodes on the same interface |
ff02::1 | All Nodes (Link-Local) | All nodes on the local network segment |
ff02::2 | All Routers (Link-Local) | All routers on the local network segment |
ff02::5 | OSPFv3 All SPF Routers | All OSPF routers |
ff02::6 | OSPFv3 All DR Routers | OSPF designated routers |
ff02::9 | RIPng Routers | RIP next generation routers |
ff02::fb | mDNSv6 | Multicast DNS over IPv6 |
ff05::2 | All Routers (Site-Local) | All routers within the site |
Common Protocol Multicast Addresses
Protocol | IPv4 | IPv6 | Purpose |
---|---|---|---|
OSPF | 224.0.0.5, 224.0.0.6 | ff02::5, ff02::6 | Routing protocol communication |
RIP | 224.0.0.9 | ff02::9 | Routing updates |
DHCP | 224.0.0.252 | ff02::1:2 | Configuration relay |
mDNS | 224.0.0.251 | ff02::fb | Zero-configuration networking |
LLMNR | 224.0.0.252 | ff02::1:3 | Link-local name resolution |
SSDP | 239.255.255.250 | ff0x::c | UPnP device discovery |
Important Limitations
Many multicast addresses are designed for local subnet use only
- 224.0.0.x addresses don't cross router boundaries by default
- ff02:: addresses are link-local scope in IPv6
- Routers need multicast routing (PIM, IGMP) to forward between subnets
- Without multicast routing, traffic stays on the local segment
- This is intentional for protocol efficiency and security
Devices must signal interest in multicast groups
- IGMP (IPv4) or MLD (IPv6) tells routers which groups are wanted
- Without IGMP/MLD, routers may drop multicast traffic
- Switches need IGMP snooping to avoid flooding
- Managed switches should have multicast features enabled
Firewalls often block multicast by default
- Corporate firewalls frequently block multicast ranges
- Home routers may not forward multicast between VLANs
- VPN tunnels typically don't carry multicast traffic
- Cloud environments often don't support multicast
Troubleshooting Common Issues
- No multicast routing configured
- IGMP snooping disabled
- Firewall blocking
- Enable PIM on routers
- Configure IGMP snooping
- Allow multicast ranges in firewall
- No IGMP snooping
- Switches flooding multicast
- Rogue applications
- Enable IGMP snooping on switches
- Monitor multicast sources
- Implement multicast rate limiting
- Not joined to group
- IGMP queries not working
- Wrong scope
- Verify group membership
- Check IGMP querier
- Use correct multicast scope
Best Practices
- Use appropriate multicast scopes (link-local vs site-local vs global)
- Enable IGMP snooping on managed switches
- Configure multicast routing (PIM) only where needed
- Monitor multicast traffic to prevent network flooding
- Use organization-local ranges (239.x.x.x) for private applications
- Test multicast applications in isolated environments first
- Document multicast group assignments to avoid conflicts