BGP · · 4 min read

BGP Design for Enterprise Networks: Dual-Homed and Multi-Homed

Enterprise BGP design is about answering a few critical questions: How many ISPs? How many border routers? Full routing table or just defaults? Active-active or active-standby? The answers determine your resilience, your traffic engineering capability, and your operational complexity. This article covers the standard enterprise design patterns — from simple single-homed (spoiler: you don't even need BGP) to fully multi-homed with traffic engineering.

Do You Need BGP?

BGP is only necessary when you need to:

If you have a single ISP with a single connection, you don't need BGP. A static default route is simpler, has zero convergence overhead, and provides the same connectivity.

Design Pattern 1: Single-Homed (No BGP Needed)

         [ISP-A]
            |
         [R1-HQ]
            |
       [Internal]

One ISP, one link. Use a static default route and PAT/NAT. If the ISP link fails, you're down regardless of what protocol you run. BGP adds complexity with zero benefit here.

Design Pattern 2: Dual-Homed, Single ISP

         [ISP-A-PE1]---[ISP-A-PE2]
            |               |
         [R1-HQ]--------[R2-HQ]
            |               |
         [  Internal Network  ]

Two links to the same ISP. BGP provides automatic failover between links. Since it's the same AS, the ISP handles internal path selection.

What to Request from ISP

Configuration

router bgp 65001
 neighbor 172.16.0.2 remote-as 65010
 neighbor 172.16.0.2 description ISP-A-PE1-Primary
 neighbor 172.16.0.2 prefix-list ACCEPT-DEFAULT in
 neighbor 172.16.0.2 route-map PRIMARY-IN in
!
 neighbor 172.16.0.4 remote-as 65010
 neighbor 172.16.0.4 description ISP-A-PE2-Backup
 neighbor 172.16.0.4 prefix-list ACCEPT-DEFAULT in
 neighbor 172.16.0.4 route-map BACKUP-IN in
!
route-map PRIMARY-IN permit 10
 set local-preference 200
!
route-map BACKUP-IN permit 10
 set local-preference 100

Design Pattern 3: Multi-Homed, Two ISPs, Single Router

      [ISP-A]     [ISP-B]
         \         /
          [R1-HQ]
             |
        [Internal]

This is the PingLabz BGP Lab topology. One border router, two ISPs. Provides ISP redundancy but the router is a single point of failure.

Routing Table Options

OptionMemoryTE CapabilityComplexity
Default routes onlyMinimalPrimary/backup onlyLow
Partial routes + defaultsModerateGood for ISP customersMedium
Full tables~2GB+ RAMOptimal per-prefix decisionsHigh

For most enterprises, partial routes + defaults is the sweet spot. Full tables (950K+ IPv4 prefixes) require significant memory and offer diminishing returns unless you're doing sophisticated per-prefix traffic engineering.

Traffic Engineering

Design Pattern 4: Multi-Homed, Two ISPs, Two Routers

      [ISP-A]     [ISP-B]
         |           |
      [R1-HQ]-----[R2-HQ]
         |           |
      [  Internal Network  ]

The gold standard for enterprise BGP. Each ISP connects to a different border router, and iBGP between R1-HQ and R2-HQ shares routing information.

Design Decisions

Configuration (R1-HQ)

router bgp 65001
 bgp router-id 1.1.1.1
!
 ! eBGP to ISP-A
 neighbor 172.16.0.2 remote-as 65010
 neighbor 172.16.0.2 description ISP-A
 neighbor 172.16.0.2 prefix-list OUR-SPACE out
 neighbor 172.16.0.2 prefix-list ISP-A-IN in
 neighbor 172.16.0.2 route-map ISP-A-POLICY in
 neighbor 172.16.0.2 password SecurePass!
 neighbor 172.16.0.2 fall-over bfd
!
 ! iBGP to R2-HQ
 neighbor 2.2.2.2 remote-as 65001
 neighbor 2.2.2.2 update-source Loopback0
 neighbor 2.2.2.2 next-hop-self
 neighbor 2.2.2.2 description R2-HQ-iBGP
!
 ! Advertise our space
 network 10.1.0.0 mask 255.255.0.0
!
! Redistribute default into OSPF for internal routers
router ospf 1
 default-information originate always

Announcing Your Address Space

If you have provider-independent (PI) address space from a RIR:

If you use provider-assigned (PA) space from one ISP, you can only advertise it if the ISP allows (check your agreement). Most PA space can't be announced to a second ISP — you'll need PI space for true multi-homing.

Design Checklist

Key Takeaways

Read next

© 2025 Ping Labz. All rights reserved.