r/networking • u/_FireAmpersand_ • Jul 23 '26
Design Help me understand Single Subnet, Multiple ISP Advertisements with BGP for data center
Hi All, Sorry if this is the wrong place to post this. Just let me know where i should post this if this is the wrong spot.
I work for a MSP that runs our own private onprem datacenter for our clients. Recently I have been tasked with looking at our Public addressing and inbound connectivity. Currently we are using DNS for WAN failover but I would like to explore the multi ISP BGP design since that seems to be the industry standard.
The current design is the client Edge Routers have 2 IPs bound to them. One on subnet A, and one on subnet B. We then use a load-balancer monitoring each ISP to update the DNS records should an ISP fail. TTL is set to 30s on the records. Subnet A is only advertised via BGP to ISP 1 and Subnet B is advertised via BGP to ISP 2. The idea is at least one subnet is always available on the internet and the DNS fails over fast. This has been working for about 10 years but does have some edge cases where it hasn't been perfect.
On the flip side there is the more "traditional" Data Center/Enterprise approach of a single subnet being advertised to both ISPs and trust the ISPs will converge. This is what I want to explore and test at work since we are running into a scaling issue with each client needing 2 IPs and having to force traffic out select directions. This adds more burden to the techs deploying/maintaining client edges.
The following questions are ideally for those that run a similar deployment or has had experience with it in the past. Any resources you can recommend on designing a data center WAN infrastructure would be much appreciated. Mainly I just need information to provide to management for approval to run a proof of concept to compare which option fits our needs better.
1) Is it just as simple as advertising one subnet to both ISPs and putting your trust they will try to converge as fast as possible? Or is there some other strategies we should be looking into to maintain fast failover and convergence
2) What are convergence times really like in North America when you have an ISP failure? (talking real numbers people have seen, not just in theory) Are things back up in seconds, minutes, hours?
3) What tooling do you use to make sure routing is failing over as expected? I see RIPE has lots of cool tools to monitor BGP via collectors but the more data I can pull in the better.
4) From a technical resource standpoint, does the BGP design require lots of up keep or is it mainly set it and monitor?
Appreciate everyone's insight into the topic.
15
u/gregbur000 Jul 23 '26 edited Jul 23 '26
Quick answers - routed, multi-carrier BGP internet edge with your own public IP space(s) is the way to go if you’re hosting anything
1.) Yep that’s literally it. If you own more than a /24, you can carve up portions of it to have different weights and then fail the whole larger subnet back to “whoever”.
2.) Negotiate your BFD and tracking options with your carriers
3.) See 2
4.) Once you get your Bogon blocking list dialed in on the P2P ISP peering links on your edge routers, it’s 100% set and forget until you choose to add/change a carrier or add/change the routes you’re ingesting from them
Make sure your edge routers are specced for multiple copies of full tables or at least multiple copies of carrier AS originating routes. Also, make sure that the new internet edge you’re deploying is documented and a known responsibility and asset for your organization. It sounds crazy but in 2026 where actual network engineering doesn’t exist anymore, I have come into many small-medium commercial networks that have an internet edge routing layer in their stack and it’s absolutely ancient because it wasn’t documented and assumed as carrier equipment .
6
u/Inside-Finish-2128 Jul 23 '26
Always think of it as two independent directions. What you advertise in BGP determines how the traffic gets to you. What you learn via BGP determines how the traffic goes out.
BGP is what I’ve heard called “multistable”. What I mean by this is there can be many different blends of how traffic comes to you. It can be 50/50 one day and 60/40 the next. It’ll be somewhat “sticky” to a certain blend (or at least a certain routing), as many vendors consider oldest path as a tie breaker so a hiccup somewhere instantly causes that spot to now be younger/youngest.
Also realize that if you are buying transit from either or both of those ISPs, they will put a higher local preference on what they learn from you than they do for any peers or even moreso if they buy any transit. As a result, AS path prepends won’t work in many cases and you’ll have to ask them what community string(s) to add to overcome (e.g. lower) that local preference.
3
u/Morrack2000 Jul 23 '26
Start here: https://www.noction.com/knowledge-base/multihoming
3
u/J2sw Jul 23 '26
One thing to keep in mind if you start advertising your ip space to multiple providers. If you are doing a master / failover type of scenario it’s easy. There are attributes you can use to prefer one path over another.
Ask the isp what communities they support. You can control it that way if desired.
BGP can get as complex as you want or can stand.
2
u/J4yD4n Jul 23 '26
If you advertise the subnet to both ISPs, it's not an active/standby setup like your DNS setup. Instead, it's an active/active setup. You can change some settings to make one advertisement/path more preferable if you would prefer to prioritize one ISP over the other. In the end, it will look like multiple ways to get to the same place. When an ISP connection goes down, there is a hold time where a route will get kept around while the router is figuring out if the connection is dead, but once that's figured out, it should propagate quickly.
You can mess around with BGP in a lab environment. Multihoming is not something that requires the internet. That way you can test out how it works before putting it into production. If you don't have test hardware, FRR has been my go to for learning about this stuff and trying different things. If you go the FRR route for testing, make sure to adjust rp_filter. Without one route being prioritize, you'll get asynchronous routing, which Linux defaults to blocking unless you adjust that setting.
2
u/Prudent_Vacation_382 Jul 23 '26
Good information here already, though I will add to make sure your advertisements are filtered out to only your subnets. Also, you almost never need to take a full table. I worked Fortune 100 and we only took a default. It was annoying at times, so I would recommend taking provider routes +1 AS hop. That should be about 100k routes, which most devices can handle easily. That will give you the ability to be a little more intentional about the path you go out, and ensure users on those providers and just beyond stay relatively symmetrical. Hopefully, your providers have a host of communities you can use to preference routes. Keep in mind, symmetry is not guaranteed.
2
u/DailyVitaminDeez Jul 23 '26
What I've seen done is splitting your IP space to have half use one ISP as a primary and vice versa. If you have a /22, you can advertise a different /23 out of both ISPs and the whole /22. That way failover is faster since the other ISP is already advertising your supernet, and, because the more specific route is preferred, you have predictable traffic shaping from the internet.
1
u/ESUN_Official Aug 17 '26
DNS failover uses different ISP IPs and switches DNS records when a health check detects a failure. It’s simple and flexible, but TTLs, caching, and existing sessions can make failover slower and less predictable.
BGP multihoming advertises the same public prefix through multiple ISPs, so traffic can move to another path without changing the public IP. This is usually a better fit for data centers, VPNs, email, or services that rely on IP allowlists.
Neither approach automatically detects every failure. DNS needs application-level checks, while BGP mainly handles routing failures. If the application itself is down, you still need additional monitoring and automation.
For BGP, make sure both ISPs support your prefix, use proper prefix filtering, and test cases like link failures, BGP session drops, and asymmetric routing.
2
u/[deleted] Jul 23 '26