BGP

Definition

Border Gateway Protocol - routing protocol used to exchange routing information between different networks on the internet.

Use Cases

Provider Equivalents

Frequently Asked Questions

What's the difference between BGP and OSPF?
BGP is mainly used to exchange routes between different organizations or networks (inter-domain routing), like between an ISP and a cloud provider. OSPF is mainly used inside a single organization’s network (intra-domain routing) to route within a campus or data center. In practice, many companies use OSPF internally and BGP at the edge to connect to ISPs and clouds.
When should I use BGP?
Use BGP when you need dynamic routing between separate networks, especially for hybrid cloud connectivity (on-prem to cloud), multi-site WANs, or multi-homing to more than one ISP/provider for redundancy. It’s also useful when you want automatic failover and scalable route management instead of maintaining many static routes.
How much does BGP cost?
BGP itself is a protocol and has no licensing cost. Costs come from what you run it on and where: routers/firewalls that support BGP, managed cloud routing features (if applicable), and connectivity charges such as dedicated circuits (e.g., Direct Connect/ExpressRoute/Interconnect/FastConnect), VPN gateways, data transfer/egress, and potentially additional ports or attachments. Pricing varies by provider, region, bandwidth, and traffic volume.

Category: networking

Difficulty: advanced

Related Terms

See Also