Networking

What is BGP? Why Does Your Business Need Self-Operated BGP?

Knowledge Base / BGP Explained

If the internet were a global highway system, BGP would be the "road signs" at every intersection — telling data packets "to reach this destination, take this road." BGP (Border Gateway Protocol) is the internet's core routing protocol, and all internet traffic path selection ultimately depends on it.

BGP Fundamentals

AS (Autonomous System): The internet comprises tens of thousands of "autonomous systems," each an independently managed network. Your company, your ISP, AWS, Tencent Cloud — each can be an AS. Each AS has a globally unique number called an ASN (Autonomous System Number). ASNs are allocated by IANA through five RIRs (Regional Internet Registries); in Asia-Pacific, this is APNIC's responsibility.

IP Prefix: Each AS owns one or more IP address ranges (e.g., 203.0.113.0/24). BGP's role is to announce to the entire internet that "these IP addresses are managed by my AS."

BGP Peering: Two ASes must establish a BGP session to exchange routing information — like setting up road signs where two highways intersect. BGP peering has two types: eBGP (external BGP, between different ASes) and iBGP (internal BGP, within the same AS).

Routing Tables and Path Selection: When your data packet needs to reach a certain IP address, the router checks the BGP routing table, finds all possible paths to that IP prefix, then selects the optimal path based on a series of attributes (AS path length, local preference, MED, etc.).

Why Self-Operated BGP Matters

Many enterprises use "resold" bandwidth from carriers — the carrier allocates IP addresses and bandwidth from their AS, and your traffic mixes into the carrier's pool. This works in most cases, but self-operated BGP provides critical advantages in these scenarios:

1. Multi-Carrier Redundancy

With only one upstream carrier, their outage means your entire network goes down. With your own ASN and BGP, you can purchase upstream bandwidth from multiple carriers simultaneously (called multihoming) and automatically select optimal paths via BGP. When one carrier fails, traffic automatically switches to others, achieving second-level failover.

2. Routing Control

With self-operated BGP, you can precisely control inbound and outbound traffic paths. For example:

  • Set policies routing China Telecom user traffic through China Telecom upstream and China Unicom user traffic through China Unicom upstream — avoiding cross-carrier latency.
  • Adjust BGP attributes (AS Path Prepending, Community) to influence remote router path selection, optimizing traffic paths from specific sources.
  • Implement granular Traffic Engineering, dynamically adjusting routes based on time periods, bandwidth utilization, and other conditions.

3. IP Address Portability

Using carrier-assigned IP addresses means changing carriers requires changing all IPs — DNS records, firewall rules, whitelists, SSL certificates all need modification. Owning your own IP blocks (PI addresses, Provider Independent), you can announce these addresses at any carrier, switching carriers without affecting existing services.

4. Reputation Management

Your IP address "reputation" directly affects email deliverability, search engine rankings, and security scores. When sharing carrier IP blocks, if other users in the same block send spam or engage in malicious activity, your IP reputation suffers collateral damage. Owning your IP blocks gives you complete control over your network reputation.

The "Cost" of Self-Operated BGP

Of course, self-operated BGP isn't free. You need:

  • ASN and IP Addresses: Applied for through RIRs like APNIC, with annual fees (APNIC minimum membership is approximately AUD 1,500/year).
  • BGP Router: Hardware supporting BGP (Cisco, Juniper, MikroTik, etc.) or software routers (BIRD/FRRouting).
  • Technical Expertise: BGP misconfiguration can have severe consequences — route leaks can affect global internet routing. Experienced network engineers are essential.
  • RPKI/ROA: To prevent route hijacking, you need RPKI (Resource Public Key Infrastructure) and ROA (Route Origin Authorization) to validate route announcement legitimacy.

Areapac's BGP Services

Areapac operates self-managed BGP announcements in Beijing and Shanghai, giving us direct control over routing quality at these critical nodes. For enterprises needing self-operated BGP access but lacking technical capability, we offer complete managed BGP services:

  • Assistance with APNIC ASN and IP address applications
  • BGP router configuration and management
  • Multi-upstream BGP peering establishment and optimization
  • RPKI/ROA configuration and maintenance
  • 24/7 routing monitoring and incident response

If your business requires multi-carrier redundancy, granular routing control, or IP address portability, self-operated BGP access is infrastructure worth investing in. Its value isn't in daily operations — it's in the fact that when failures occur, your network recovers in seconds, not hours.

Explore Areapac Managed Network Services

BGP Route Announcement Architecture
Areapac 自有 BGP (AS Number)
宣告路由
上游運營商 A (電信)
路由傳播
上游運營商 B (移動)
路由傳播
全球互聯網
Self-Operated BGP vs Bandwidth Resale
特性自有 BGP帶寬轉售
路由控制完全自主 ✓依賴上游
故障切換自動多路徑 ✓單點故障
IP 歸屬自有 IP 段 ✓共享 IP
可定制性路由策略可調 ✓無法調整

Areapac provides IP Transit, ASN registration, BGP management, and 24/7 network monitoring services.

View Managed Services
WeCom