VMware ESXi and vSphere Cluster Management

IPv4 Address Types: Unicast, Multicast, and Broadcast

Learn how IPv4 unicast, multicast, and broadcast addresses differ, including delivery scope, subnet broadcast calculations, examples, and router boundaries.

IPv4 address types describe how traffic is delivered. They are based on communication behavior—not on historical address classes such as Class A, B, or C. The three core delivery types are unicast, multicast, and broadcast.

These types describe the relationship between a sender and its intended receivers:

  • Unicast: one sender to one destination interface.
  • Multicast: one sender to a selected group of receivers.
  • Broadcast: one sender to every host in an IPv4 broadcast domain.

In every IPv4 packet, the source IP address identifies the sender, while the destination IP address identifies where the packet should be delivered. The delivery type is determined primarily by the destination address.

Unicast addressing

A unicast address is an address assigned to one network interface. Unicast communication is a one-to-one exchange: one sender directs a packet to one destination host or interface.

Normal host-to-host IPv4 communication typically uses unicast destination addresses. For example, if a workstation sends traffic to a server at 192.168.0.150, the packet has a destination IP address of 192.168.0.150. That address identifies the server interface, not a group of receivers.

Source IP:      192.168.0.25   (the workstation)
Destination IP: 192.168.0.150  (the server)
Delivery type:  unicast

The source and destination have different roles. A router uses the destination address to make a forwarding decision, while the source address identifies where the packet originated and allows replies or error reporting to be associated with the sender.

A typical unicast path can cross switches, routers, and multiple IP networks. Each router forwards the packet toward the one destination represented by the destination IP address.

Multicast addressing

Multicast is one-to-many delivery to members of a multicast group. A multicast destination address represents a group, not one individual endpoint.

IPv4 multicast addresses occupy this range:

224.0.0.0 through 239.255.255.255

Hosts that want to receive a particular multicast stream must join or subscribe to its multicast group. In IPv4 networks, IGMP—the Internet Group Management Protocol—is commonly used by hosts and routers to manage group membership.

For example, RIPv2 sends routing updates to multicast address 224.0.0.9. Routers participating in RIPv2 can receive and use those updates. An unrelated workstation does not process the update merely because it shares the same LAN.

Multicast forwarding is selective. A router can replicate a multicast packet and forward copies only toward network segments that have interested receivers. This avoids sending the traffic to every network and every host.

  • A multicast destination identifies a receiver group.
  • Group members accept and process traffic for that group.
  • Non-member hosts on the local network do not accept multicast traffic intended for a group they have not joined.
  • Routers may replicate multicast traffic toward segments with group members.

Multicast is therefore different from broadcast. Broadcast is intended for all hosts in the local broadcast domain; multicast is intended only for interested members of a selected group.

Broadcast addressing

Broadcast is one-to-every-host delivery within an IPv4 broadcast domain. A broadcast domain is the Layer 2 network scope in which broadcast traffic is delivered. All hosts in that domain are intended to receive and process a broadcast frame or packet for that domain.

Routers separate broadcast domains. A router interface marks a boundary: a broadcast generated on one connected network is not normally forwarded into another connected network.

Directed broadcast

A directed broadcast address is the broadcast address for a particular subnet. It is formed by setting every host bit to 1, while leaving the network bits unchanged.

The subnet mask separates an IPv4 address into:

  • Network bits: the portion identified by the mask as the network prefix.
  • Host bits: the portion available to identify hosts within that subnet.

For 192.168.30.0/24, the first 24 bits are network bits and the final 8 bits are host bits. Setting those eight host bits to 1 produces the directed broadcast address:

Network address:     192.168.30.0
Host bits:           00000000
All host bits = 1:   11111111
Directed broadcast:  192.168.30.255

A packet sent to 192.168.30.255 is intended for all hosts in the 192.168.30.0/24 broadcast domain. It is not a normal usable host address in that subnet.

Limited broadcast

The limited broadcast address is 255.255.255.255. It means all hosts on the current local network segment or broadcast domain.

Limited broadcasts are local-only. Routers normally do not forward them to other networks. Therefore, a device that sends to 255.255.255.255 cannot use that address to reach remote subnets.

Forwarding directed broadcasts is also commonly disabled because broadcast forwarding can be abused to amplify unwanted traffic. Some network devices provide an ip directed-broadcast configuration option, but enabling it requires a specific design and careful security review.

Broadcast domains and router boundaries

Switches can connect hosts within the same Layer 2 broadcast domain. A router separates that domain from another network. For example, a router might connect:

  • 192.168.30.0/24, whose directed broadcast is 192.168.30.255
  • 192.168.40.0/24, whose directed broadcast is 192.168.40.255

A broadcast sent to 192.168.30.255 is associated with the first subnet. It does not normally cross the router to reach hosts in 192.168.40.0/24. This containment prevents one subnet's broadcast traffic from automatically consuming resources in every connected subnet.

Multicast has a different forwarding model. It is not automatically delivered to every host in the broadcast domain. Instead, group membership determines which hosts should process the traffic, and multicast-aware routers can forward copies toward interested segments.

Broadcast address calculation

To calculate a subnet's directed broadcast address:

  1. Identify the network address and subnet mask or CIDR prefix.
  2. Determine which bits are network bits and which are host bits.
  3. Keep the network bits unchanged.
  4. Set every host bit to 1.
  5. Convert the resulting 32-bit value back to dotted-decimal notation.
Network addressPrefix or subnet maskHost-bit rangeCalculated broadcast address
192.168.30.0/24 or 255.255.255.0Final 8 bits192.168.30.255
10.20.8.0/21 or 255.255.248.0Final 11 bits10.20.15.255

For 10.20.8.0/21, the first 21 bits are network bits and the final 11 bits are host bits. The /21 network covers third-octet values from 8 through 15. Setting all host bits to one gives 10.20.15.255.

Network:   10.20.8.0/21
Range:     10.20.8.0 through 10.20.15.255
Broadcast: 10.20.15.255

IPv4 address type comparison

Address typeCommunication modelIntended receiversDestination-address characteristicForwarding scopeExample
UnicastOne-to-oneOne host interfaceTypical host addressCan cross routed networks toward one destination192.168.0.150
MulticastOne-to-manyMembers of a selected group224.0.0.0–239.255.255.255Can be replicated toward segments with interested receivers224.0.0.9 for RIPv2
Directed broadcastOne-to-all in a specific subnetAll hosts in the target broadcast domainAll host bits are 1 for that subnetNormally contained by routers; forwarding is commonly disabled192.168.30.255 for 192.168.30.0/24
Limited broadcastOne-to-all locallyAll hosts on the current local segment255.255.255.255Local-only; routers normally do not forward it255.255.255.255

How to recognize common IPv4 destinations

Use the address value together with the subnet prefix when classifying a destination:

  • 192.168.10.25 is a typical unicast host address, assuming it is not the network or broadcast address for its subnet.
  • 224.0.0.9 is a multicast address used by RIPv2.
  • 192.168.30.255 is a directed broadcast for 192.168.30.0/24.
  • 255.255.255.255 is the limited broadcast address.

A multicast packet's processing depends on multicast group membership. A host that has not joined the group should not process traffic intended for that group. A broadcast packet, in contrast, is intended for all hosts in the local broadcast domain, even though host firewalls or operating system policies may affect what an individual host ultimately accepts.

Practical verification and troubleshooting

No device configuration is required to understand the core delivery types. In an optional Cisco IOS lab, these commands can help inspect related information:

show ip igmp groups
show ip interface
  • show ip igmp groups can help verify multicast group memberships on a router.
  • show ip interface displays interface addressing and related interface information.

Multicast expected to reach every LAN device

Symptom: A host expects every device on the LAN to receive traffic sent to a multicast address.

Cause: Multicast is not broadcast. Only hosts that joined the applicable group should process the traffic.

Concept to review: IGMP and multicast group membership.

Limited broadcast expected to reach a remote subnet

Symptom: A device sends to 255.255.255.255 and expects remote subnets to receive the packet.

Cause: The limited broadcast is local to the current network segment and is not routed.

Concept to review: Local broadcast scope and router boundaries.

Directed broadcast does not cross a router

Symptom: Traffic sent to a subnet's broadcast address does not reach a remote subnet.

Cause: Routers generally block directed broadcast forwarding, often for security reasons.

Concept to review: The difference between directed and limited broadcast, and normal router behavior.

Broadcast address treated as a host address

Symptom: The calculated broadcast address is treated as a usable normal host address.

Cause: An address with all host bits set to 1 is the directed broadcast address for that subnet.

Concept to review: Network bits, host bits, subnet masks, and CIDR prefixes.

RIPv2 updates expected from every endpoint

Symptom: RIPv2 updates are expected to be received by every endpoint on the LAN.

Cause: RIPv2 uses multicast destination 224.0.0.9. The update is intended for participating RIP routers, not all end hosts.

Concept to review: Protocol-specific multicast destinations.

IPv4 broadcast versus IPv6

Broadcast behavior is an IPv4 concept. IPv6 does not use broadcast; IPv6 uses multicast for functions that need delivery to multiple receivers. Do not transfer the IPv4 limited-broadcast address 255.255.255.255 into IPv6 addressing.

Exam-relevant summary

  • Unicast means one sender to one destination interface.
  • Multicast means one sender to members of a selected group.
  • IPv4 multicast addresses range from 224.0.0.0 through 239.255.255.255.
  • Broadcast means one sender to all hosts in an IPv4 broadcast domain.
  • A directed broadcast has all host bits set to one for a particular subnet.
  • The limited broadcast address is 255.255.255.255 and is local-only.
  • Router interfaces separate broadcast domains.
  • Routers normally do not forward limited broadcasts, and directed-broadcast forwarding is commonly disabled.
  • To calculate a directed broadcast, preserve the network bits and set every host bit to one.
  • RIPv2 uses multicast address 224.0.0.9, not a broadcast address.

For a related overview of IPv4 address categories, see IPv4 address types.