BGP Outbound Traffic Engineering: Where Your Traffic Leaves
You buy a second transit link, configure two eBGP sessions, and a week later the graphs show most of the traffic on the old ISP and the new one almost idle. Nothing is broken. BGP picked one path per prefix, and for most prefixes the decision came down to which session came up first. BGP outbound traffic engineering is the part of routing policy that decides where your traffic leaves your network, and it is the one part of Internet routing that is 100% your decision: you control it with import policy on your own routers, mainly LOCAL_PREF, weight and the choice of which routes you accept at all. This part of the series turns that into designs you can deploy: primary/backup, load sharing by destination, cost- and latency-based exits, default versus partial versus full tables. We test five import policies on a real GoBGP router with two upstreams, and we check the assumptions against a real 1.07-million-prefix table from RIPE RIS.