Friday, March 16, 2018

BGP multihoming question

How would you route traffic from VRF A to ISP 1 as primary, and from VRF B to ISP 2 as a primary? But allow both VRFs (or customers, in this case internal) to use the second ISP as a backup?

Pic: https://snag.gy/GimwlR.jpg

Let's imagine the private IPs there are actually our public PI blocks we can advertise to the ISPs. I'd like VRF B users (as they're all in city B) to use ISP 2 as a primary and then ISP 1 as a backup. And the other VRF other way around (it has users in both locations).

Best I could come up is the idea in the picture (it's quite simplified), which is to create two "internet VRFs", that have default routes configured with different local pref than the other "internet VRF". Taking in whole BGP table doesn't probably help at all so I wouldn't do that. Then I'd advertise the IPs with prepended ASs to the secondary ISP.

I wouldn't do any more of those VRFs, as this would balance the traffic well enough.

Reason for this is to be able to load balance traffic better, and not having packets going in towards ISP 1 and coming back from ISP 2. We could use our internet capacity better (2x1Gbps). Or am I worrying about these too much and should take in the full internet table and just have everything in one internet VRF?

Any thoughts? Thanks!



No comments:

Post a Comment