100% Free Forever
AI-Powered Learning
Industry Expert Content
Certificates & Badges
Learn At Your Own Pace

Broadcast vs Multicast vs Unicast

Understand unicast, multicast, and broadcast networking — how each delivers packets, real protocol examples, and IPv6 differences.

mediumQ91 of 224 in Computer Networks Est. time: 6 minsLast updated:
Open Code Lab

Expected Interview Answer

Unicast sends a packet from one sender to exactly one receiver, broadcast sends it from one sender to every device on the local network segment, and multicast sends it from one sender to a specific group of interested receivers who have opted in — the three describe how many recipients a single transmission targets.

Unicast is the default mode for most traffic, such as loading a webpage: one client talks to one server over a one-to-one connection, and routers forward the packet toward that single destination. Broadcast sends a single packet to every host on a local broadcast domain at once, using an address like 255.255.255.255 or the subnet’s broadcast address (e.g., 192.168.1.255) — DHCP discovery and ARP requests rely on this because the sender does not yet know a specific destination address. Multicast sits between the two: a sender transmits once, and only devices that have joined a specific multicast group (in the 224.0.0.0/4 range for IPv4, using protocols like IGMP) receive it, which is efficient for things like IPTV streaming or routing protocol updates where many, but not all, hosts care. IPv6 removed broadcast entirely in favor of multicast for these use cases, since broadcast tends to waste bandwidth on uninterested hosts.

  • Unicast is efficient and private for one-to-one communication
  • Broadcast lets a sender reach an unknown destination on the local segment
  • Multicast avoids flooding every host while still reaching many at once
  • Choosing the right mode reduces unnecessary bandwidth and processing

AI Mentor Explanation

Unicast is like a captain quietly telling one specific fielder to move two steps left — only that player hears and acts on it. Broadcast is like the umpire announcing a weather delay over the stadium’s PA system, heard by every single person in the ground whether they care or not. Multicast is like a WhatsApp group chat set up only for the team’s bowlers to discuss field placements — only members of that group receive the message, not the whole squad or the crowd.

Step-by-Step Explanation

  1. Step 1

    Unicast

    One sender addresses a packet to exactly one recipient's specific IP address.

  2. Step 2

    Broadcast

    One sender addresses a packet to every host on the local segment using a broadcast address.

  3. Step 3

    Multicast

    One sender addresses a packet to a group address; only hosts that joined that group via IGMP receive it.

  4. Step 4

    Selection

    Protocols pick the mode based on need: unicast for direct communication, broadcast for discovery, multicast for group delivery.

What Interviewer Expects

  • Clear one-line definition distinguishing all three modes
  • Concrete real protocol examples (DHCP/ARP for broadcast, IPTV/routing for multicast)
  • Knows multicast requires group membership (IGMP) unlike broadcast
  • Mentions IPv6 dropped broadcast in favor of multicast

Common Mistakes

  • Confusing multicast with broadcast as if they reach everyone the same way
  • Not knowing broadcast is confined to a local segment, not the whole internet
  • Forgetting multicast requires explicit group membership via IGMP
  • Assuming IPv6 still supports traditional broadcast addressing

Best Answer (HR Friendly)

Think of it as three ways to send a message: unicast is a one-on-one conversation, broadcast is shouting an announcement so everyone in the room hears it whether they want to or not, and multicast is sending a message only to people who signed up for that specific group, like a mailing list. Networks use whichever one fits the situation to avoid wasting bandwidth on people who do not need the message.

Code Example

Observing unicast, broadcast, and multicast traffic
# Unicast: a normal ping to one specific host
ping -c 2 192.168.1.10

# Broadcast: ping every host on the local subnet at once
ping -c 2 -b 192.168.1.255

# Multicast: join and listen on a multicast group (needs socat/iperf tooling)
# Example membership check via IGMP-aware tooling
ip maddr show

# Example multicast address in the reserved range
echo "224.0.0.251 is used by mDNS for local service discovery"

Follow-up Questions

  • Why did IPv6 remove broadcast in favor of multicast?
  • What role does IGMP play in multicast group membership?
  • Why does DHCP discovery rely on broadcast instead of unicast?
  • What is anycast and how does it differ from these three modes?

MCQ Practice

1. Which transmission mode sends a packet to every host on the local segment?

Broadcast delivers a single packet to every device on the local broadcast domain.

2. What protocol manages multicast group membership?

IGMP (Internet Group Management Protocol) lets hosts join and leave multicast groups.

3. Which of these did IPv6 remove entirely, replacing it with multicast?

IPv6 has no broadcast addressing; it uses multicast for the same discovery and group use cases.

Flash Cards

Unicast definition?One sender to exactly one receiver.

Broadcast definition?One sender to every host on the local segment.

Multicast definition?One sender to a specific group of subscribed receivers.

Does IPv6 support broadcast?No — IPv6 replaced broadcast entirely with multicast.

1 / 4

Continue Learning