Traffic types

3 minuti

Data traversing a network can be sent in one of four fundamental ways: to a single recipient (unicast), to a group (multicast), to the nearest of many (anycast), or to everyone (broadcast). Each type has a specific use case, and knowing which one an application uses tells you how it scales and where it fails. These notes follow Prof. Messer’s Network+ N10-009 video Network Communication.

⏱ Video — Network Communication (3:45): 0:02 unicast (one-to-one) · 1:08 multicast (one-to-many) · 2:07 anycast (one-to-one-of-many) · 3:01 broadcast (one-to-all)

Unicast — one-to-one

  • Unicast is the most common network communication. One station sends information directly to another station in a one-to-one relationship. Nothing in that conversation is ever sent to anyone else on the network.
  • Used for web browsing, file transfers, email — practically any point-to-point communication.
  • Works with both IPv4 and IPv6.
  • Disadvantage: to reach many recipients, the sender must build a separate unicast connection to each one, duplicating the data for every recipient.

Multicast — one-to-many

  • Multicast is a one-to-many-of-many communication. One sender transmits to multiple recipients simultaneously.
  • Recipients must subscribe to the multicast feed — not everyone on the network receives it automatically.
  • Used for multimedia streaming, stock exchange tickers, and routing protocol updates.
  • Requires that network equipment understand and support multicast — it does not work on every network and is rarely forwarded across different Autonomous Systems.
  • Available with both IPv4 and IPv6.

Anycast — one-to-one-of-many

  • Anycast is used when one device needs to send to one of many devices, all configured identically.
  • The sender uses what looks like a unicast IP address. The network delivers the traffic to whichever device is closest (topologically) among the group.
  • Common use case: anycast DNS — a DNS query reaches the nearest data centre, which responds.
  • Works with both IPv4 and IPv6.

Broadcast — one-to-all

  • Broadcast is a one-to-all relationship: one station sends a single packet and every device on the local network receives it.
  • The scope is limited to the local broadcast domain — a broadcast frame cannot traverse a router and never appears across the internet.
  • Used for ARP (Address Resolution Protocol) requests and routing updates.
  • IPv4 supports broadcast. IPv6 removed broadcast entirely and uses multicast instead.

Where attacks live — mental map (beyond the video)

Not from the video — why this matters for security.

  • Broadcast traffic can be observed by every host on the local segment — an attacker on the same VLAN sees ARP requests, DHCP discover messages, and NetBIOS name queries.
  • Multicast groups can be joined by any host that asks — an attacker can subscribe to a sensitive multicast stream if IGMP snooping and port security are not in place.
  • Unicast to the wrong MAC (ARP poisoning) lets an attacker intercept traffic intended for another host — the start of a man-in-the-middle attack.
  • Anycast relies on routing trust — if an attacker advertises the anycast prefix (BGP hijack), traffic destined for the legitimate service arrives at the attacker’s network instead.