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.
More on Network Models, TCP, UDP & Ports
What are the layers of the OSI model, and why does a DevOps engineer care?BeginnerHow does the TCP/IP model map to the OSI model?BeginnerWhat is the difference between TCP and UDP?BeginnerDescribe the TCP three-way handshake.BeginnerHow does TCP close a connection, and what is TIME_WAIT?IntermediateWhat is a port, and what are well-known, registered and ephemeral ranges?Beginner