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.
More on IP Addressing, CIDR, Subnetting & Routing
What is an IPv4 address and how is it structured?BeginnerWhat are the private IPv4 ranges (RFC 1918)?BeginnerWhat is CIDR notation?BeginnerHow many usable hosts are in a /24, and why minus two?BeginnerSubnet 10.0.0.0/16 into /24 subnets. How many do you get and what are the first three?IntermediateGiven 172.16.37.200/21, what is the network address, broadcast and range?Intermediate