Interview Prep/Networking/Network Models, TCP, UDP & Ports

What is the difference between unicast, multicast and broadcast?

BeginnerConceptNetwork Models, TCP, UDP & Ports
Answer

Unicast is one sender to one receiver. Broadcast is one to every host in the L2 domain (ARP requests, DHCP discover). Multicast is one to a subscribed group (224.0.0.0/4), used by routing protocols and some discovery. Anycast is a fourth pattern: the same IP advertised from many places and routed to the nearest.

Cloud VPCs mostly block broadcast and multicast, which affects tools like keepalived/VRRP and some clustering software.

All Networking questions Roadmap: Networking for DevOps

More on Network Models, TCP, UDP & Ports