Peer1IX
Internet Exchange
Services

Interconnection

Internet ExchangeMicro PoPsEdge Data Centers

Network Services

Data Center to Data CenterVirtual Connectivity HubData Center to CloudCloud to CloudPeer1ix Cloud RouterPeer1ix Virtual EdgeNAT GatewayPeer1ix PortVirtual Cross Connect

Security Services

DDoS ProtectionPeer1ix FWaaSIPsec Tunnel

Cloud Interconnect

Cloudflare Network Interconnect
Locations
Network toolsAll-in-One Network ReportBGP Looking GlassRPKI ValidatorBGP Security & Hijack CheckIP WHOISAS WHOISBGP Route ExplorerASN InsightsBGP Hijacks & Route LeaksInternet Outage TrackerCountry Internet InsightsTop Domains RankingDNS LookupSubnet CalculatorWhat Is My IP
BlogAboutContact Get connected

BGP Basics for Cloud Engineers

· 1 min read · Peer1IX Team

BGP Basics for Cloud Engineers

Cloud engineers increasingly need to understand BGP to connect private networks. A plain-language introduction to the essentials.

Why cloud engineers meet BGP

Private connections into clouds — direct-connect services, VPN gateways, cloud routers — almost always use BGP to exchange routes. Understanding a few concepts makes these connections much easier to design and troubleshoot.

Routes and prefixes

A route says: "To reach this network (a prefix like 10.20.0.0/16), send traffic to me." BGP is the protocol two routers use to tell each other which prefixes they can reach.

Autonomous System Numbers

Each BGP speaker belongs to an autonomous system identified by an ASN. Public ASNs are used on the internet; private ASNs (64512–65534 and 4200000000–4294967294) are fine for private connections inside your organisation.

Sessions

Two routers configure each other as neighbours and form a session. Once up, they exchange routes. If the session drops, the routes learned over it are removed.

Policy

You decide which routes to accept and which to advertise, and how to prefer one path over another — for example using local preference or AS-path prepending.

Failover

With two connections and BGP on both, if one fails its routes disappear and traffic uses the other automatically. BFD can speed up detection.

Practice

Use our looking glass to see how public prefixes are routed on the internet — the same concepts apply to your private network.

BGPcloud engineeringrouting basics