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

How does BGP work at a high level, and where do you meet it as a DevOps engineer?

AdvancedConceptIP Addressing, CIDR, Subnetting & Routing
Answer

BGP is a path-vector protocol where autonomous systems (ASNs) advertise IP prefixes to peers over TCP/179. Routers choose paths using attributes: local preference, AS path length, MED and others. It is policy driven rather than shortest-path.

You meet it in Direct Connect/ExpressRoute/Cloud Interconnect, VPN with dynamic routing, anycast setups (advertising the same prefix from multiple sites), and Kubernetes CNIs like Calico or Cilium that peer with top-of-rack switches to announce pod CIDRs.

All Networking questions Roadmap: Networking for DevOps

More on IP Addressing, CIDR, Subnetting & Routing