Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

BGP load Balancing

Inbound

  • See if the ISP supports BGP Communities with local preference to mark routes on their side
  • Adjust the MED, lower is better.
  • Advertise longer prefixes to both ISPs
  • Use AS_Path prepending

Outbound

  • Use Weight
  • Use Local Preference
  • Advertise a default route into the network
  • Filter the provider routes and only install a subset into the RIB.
  • Use AS_Path filtering

BGP Multipath

  • Uses the maximum-paths keyword.

Do not become a Transit Network

  • Filter your routes, only advertise subnets you own.
Last Modified • Wednesday, May 27, 2026. 9:54 pm UTC+00:00 • Commit: a1538ef