<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/load-balancing-across-external-bgp-paths-bgp-labs-avjl0nq1d" -->

---
title: Load Balancing across External BGP Paths « BGP Labs
description: A hands-on BGP lab exercise focused on configuring ECMP (Equal-Cost Multipath) load balancing across external BGP (EBGP) paths. The lab walks through observing...
canonical: https://daily.dev/posts/load-balancing-across-external-bgp-paths-bgp-labs-avjl0nq1d
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Load Balancing across External BGP Paths « BGP Labs | daily.dev
og:description: A hands-on BGP lab exercise focused on configuring ECMP (Equal-Cost Multipath) load balancing across external BGP (EBGP) paths. The lab walks through observing...
og:url: https://daily.dev/posts/load-balancing-across-external-bgp-paths-bgp-labs-avjl0nq1d
og:image: https://api.daily.dev/og/posts/avJL0Nq1d.png
og:image:alt: Load Balancing across External BGP Paths « BGP Labs
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Load Balancing across External BGP Paths « BGP Labs

**[ipSpace.net Blog](https://daily.dev/sources/ipspace)** · 5 min read · 0 upvotes · 0 comments

## Summary

A hands-on BGP lab exercise focused on configuring ECMP (Equal-Cost Multipath) load balancing across external BGP (EBGP) paths. The lab walks through observing default EBGP ECMP behavior across parallel paths in the same AS, then configuring a router to load balance across paths from multiple autonomous systems by using maximum-paths settings and ignoring AS path contents via bgp bestpath commands. Verification examples are provided for both Arista EOS and FRRouting devices, showing expected BGP table and IP routing table output with two paths to one prefix and three paths to another.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.ipspace.net/2024/05/bgp-labs-ebgp-ucmp>

## Questions this post answers

### How do I configure EBGP ECMP load balancing across paths from different autonomous systems on Arista EOS or FRRouting?

EBGP ECMP across multiple autonomous systems requires two configuration steps: enable load balancing with a maximum-paths command (allowing at least four parallel paths), and configure the router to ignore AS path contents when selecting equal-cost paths using a command starting with bgp bestpath. On Arista EOS, the BGP table marks ECMP paths with 'E' (ECMP head) and 'e' (ECMP) status codes. FRRouting shows multiple via entries under a single BGP route in the IP routing table.

_Engineers tuning BGP path selection for multi-AS environments track vendor-specific knobs like these on daily.dev._

### What is the risk of enabling ECMP across multiple autonomous systems in BGP?

ECMP across multiple autonomous systems is generally discouraged because it requires knowing each AS's internal structure and end-to-end delay. Without that knowledge, traffic may be distributed unevenly or experience inconsistent latency. The main use case where it becomes necessary is environments that have replaced an IGP with EBGP, where traditional single-path selection would underutilize available links.

_Networking engineers replacing IGP with EBGP find architecture trade-offs like this discussed on daily.dev._

## Similar posts on daily.dev

- [ProxySQL HA with BGP ECMP Anycast](https://daily.dev/posts/proxysql-ha-with-bgp-ecmp-anycast-eykf9l3mm) · Planet MySQL · 2 upvotes · 0 comments

---

Tags: [#networking](https://daily.dev/tags/networking), [#bgp](https://daily.dev/tags/bgp)

[View this post on daily.dev](https://daily.dev/posts/load-balancing-across-external-bgp-paths-bgp-labs-avjl0nq1d)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Load Balancing across External BGP Paths « BGP Labs","url":"https://daily.dev/posts/load-balancing-across-external-bgp-paths-bgp-labs-avjl0nq1d","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/load-balancing-across-external-bgp-paths-bgp-labs-avjl0nq1d"},"datePublished":"2026-08-11T08:52:48.008Z","dateModified":"2026-08-11T09:09:51.672Z","description":"A hands-on BGP lab exercise focused on configuring ECMP (Equal-Cost Multipath) load balancing across external BGP (EBGP) paths. The lab walks through observing...","image":"https://media.daily.dev/image/upload/s--P4t4XyoV--/f_auto/v1722860399/public/Placeholder%2001","thumbnailUrl":"https://media.daily.dev/image/upload/s--P4t4XyoV--/f_auto/v1722860399/public/Placeholder%2001","isAccessibleForFree":true,"articleSection":"ipSpace.net Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"ipSpace.net Blog","logo":"https://media.daily.dev/image/upload/s--xS7E82MT--/f_auto,q_auto/v1786438303/logos/ipspace?_a=BAMAMicg0","url":"https://daily.dev/sources/ipspace"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/load-balancing-across-external-bgp-paths-bgp-labs-avjl0nq1d","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"networking,bgp","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"ipSpace.net Blog","item":"https://daily.dev/sources/ipspace"},{"@type":"ListItem","position":3,"name":"Load Balancing across External BGP Paths « BGP Labs"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/load-balancing-across-external-bgp-paths-bgp-labs-avjl0nq1d#faq","mainEntity":[{"@type":"Question","name":"How do I configure EBGP ECMP load balancing across paths from different autonomous systems on Arista EOS or FRRouting?","acceptedAnswer":{"@type":"Answer","text":"EBGP ECMP across multiple autonomous systems requires two configuration steps: enable load balancing with a maximum-paths command (allowing at least four parallel paths), and configure the router to ignore AS path contents when selecting equal-cost paths using a command starting with bgp bestpath. On Arista EOS, the BGP table marks ECMP paths with 'E' (ECMP head) and 'e' (ECMP) status codes. FRRouting shows multiple via entries under a single BGP route in the IP routing table. Engineers tuning BGP path selection for multi-AS environments track vendor-specific knobs like these on daily.dev."}},{"@type":"Question","name":"What is the risk of enabling ECMP across multiple autonomous systems in BGP?","acceptedAnswer":{"@type":"Answer","text":"ECMP across multiple autonomous systems is generally discouraged because it requires knowing each AS's internal structure and end-to-end delay. Without that knowledge, traffic may be distributed unevenly or experience inconsistent latency. The main use case where it becomes necessary is environments that have replaced an IGP with EBGP, where traditional single-path selection would underutilize available links. Networking engineers replacing IGP with EBGP find architecture trade-offs like this discussed on daily.dev."}}]}
```

