Friday, February 21, 2020

Multicast IP Addresses Overview

One of the differences between unicast and multicast IP addresses, is that unicast IP addresses represent a single network device while multicast IP addresses represent a group of receives. IANA has reserved the class D range to use for multicast. The first 4 bits in the first octet are 1110 in binary which means that we have the 224.0.0.0 through 239.255.255.255 range for IP multicast addresses.
multicast class D range
Some of the addresses are reserved however and we can’t use them for our own applications.
The 224.0.0.0 – 224.0.0.255 range has been reserved by IANA to use for network protocols. All multicast IP packets in this range are not forwarded by routers between subnets. Let me give you an overview of reserved link-local multicast addresses, I’m sure you recognize some of the protocols:
AddressUsage
224.0.0.1All Hosts
224.0.0.2All Multicast Routers
224.0.0.3Unassigned
224.0.0.4DVMRP Routers
224.0.0.5OSPF Routers
224.0.0.6OSPF DR/BDR Router
224.0.0.7ST Routers
224.0.0.8ST Hosts
224.0.0.9RIPv2 Routers
224.0.0.10EIGRP Routers
224.0.0.11Mobile Agents
224.0.0.12DHCP Server / Relay
224.0.0.13All PIM Routers
224.0.0.14RSVP Encapsulation
224.0.0.15All CBT Routers
224.0.0.16Designated SBM
224.0.0.17All SBMS
224.0.0.18VRRP
224.0.0.19 – 255Unassigned
You probably recognized OSPF (224.0.0.5 and 224.0.0.6), RIPv2 (224.0.0.9) and EIGRP (224.0.0.10).  Once you dive more into multicast you will also encounter PIM (Protocol Independent Multicast) with 224.0.0.13.
IANA also reserved the 224.0.1.0 /24 range for certain applications. Everything in the 224.0.1.0 /24 range can be routed however, unlike the 224.0.0.0 /24 range. Here’s an overview:
AddressUsage
224.0.1.0VMTP Managers Group
224.0.1.1NTP
224.0.1.2SGI-Dogfight
224.0.1.3Rwhod
224.0.1.6NSS
224.0.1.8SUN NIS+
224.0.1.20Any Private Experiment
224.0.1.21DVMRP on MOSPF
224.0.1.32Mtrace
224.0.1.33RSVP-encap-1
224.0.1.34RSVP-encap-2
224.0.1.39Cisco-RP-Announce
224.0.1.40Cisco-RP-Discovery
224.0.1.52Mbone-VCR-Directory
224.0.1.78Tibco Multicast 1
224.0.1.79Tibco Multicast 2
224.0.1.80 – 224.0.1.255Unassigned
Many of these applications are never used, if you work with Cisco multicast you will see 224.0.1.39 and 224.0.1.40 when you configure a RP (Rendezvous Point).
Just make sure you don’t use the 224.0.0.0 /24 and 224.0.1.0 /24 range and you will be safe. Just like private and public IP addresses for unicast, IANA has reserved a range of IP addresses that we can use for multicast on our local networks. This is the 239.0.0.0 /8 range. Everything between 239.0.0.0 – 239.255.255.255 is safe to use on your own networks.

No comments:

Post a Comment