Interview Prep/Networking/IP Addressing, CIDR, Subnetting & Routing

What is anycast and how is it different from unicast?

IntermediateConceptIP Addressing, CIDR, Subnetting & Routing
Answer

Anycast announces the same IP prefix from several locations; routing delivers each client to the topologically nearest one. It gives low latency and built-in failover: if one site withdraws the route, traffic shifts.

Public DNS resolvers (8.8.8.8, 1.1.1.1), root servers, CDNs and AWS Global Accelerator rely on it. It suits stateless or short-lived UDP/TCP flows; long TCP connections can break if routing flips mid-session.

All Networking questions Roadmap: Networking for DevOps

More on IP Addressing, CIDR, Subnetting & Routing