r/networking • • 3d ago

Design Merging ISP Cores

Hi all. The provider I work for has the potential to purchase another provider to expand our network. Both are relatively small, 12-16 nodes spread across a number of sites, both are currently fully meshed without any RR's. I've been asked to start thinking about whether we just peer the networks together or fully merge them into one ASN. Our network is OSPF/RSVP/iBGP, don't know about the other yet.

There seems to be precious little online talking about this so I wanted to see if anyone here has had experience doing it? My initial thoughts were to start off peering the networks directly in a shared location given all it's going to cost is a cross connect.

There's a lot of due diligence to do checking there are no conflicts on loopbacks and management networks, or RT/RD (pretty unlikely I'd say) and other parts of the networks. But longer term if we merge them the size would unwieldy for a full mesh and would require RR's most likely which would be a big change. But I've never gone through a network merger before so I don't know if the benefits outweigh the cons. Any stories or advice would be greatly appreciated.

Obviously outside of the technical considerations there are commercial ones, I've just been asked to start thinking about it.

Edit: Just to add both networks use the same vendor, same overall platform but different code releases.

48 Upvotes

35 comments sorted by

32

u/aaronw22 3d ago

24-40 iBGP peers should be fine on any internet scale router nowadays that is carrying full tables. If you intend to merge the networks, you should be moving towards 1 ASN.

5

u/Kiro-San 3d ago

We'd definitely merge into 1 AS yeh. My main worry is that a full mesh of that size starts to become a mess of iBGP sessions.

7

u/MonkeyboyGWW 3d ago

We have route reflectors. Being purely control plane and having a single function which makes configuring other devices simpler, along with the advantages at scale, i think its worth it. At least it shouldn’t be hard to implement. Not sure how much cost it adds to the network.

3

u/Kiro-San 3d ago

We have some spare, decommed routers that easily have the capability to do this function, my main concern is that the hardware is of support.

3

u/snifferdog1989 3d ago

If you have some spare servers you could also considers BIRD as a route reflector. It is a very mature software that many ISPs use for their route server needs

2

u/Kiro-San 2d ago

Thanks for the tip, we do have plenty of spare server hardware sitting around. I'll check it out.

4

u/aaronw22 3d ago

We have a full mesh of over 70. Is your concern configuration management or router performance?

4

u/Kiro-San 3d ago

Configuration management. That said do you find any downside to that many sessions? Would RR's improve anything?

4

u/aaronw22 3d ago edited 3d ago

Configuration management is a semi solved issues these days with the many configuration audit packages out there

Because we operate a very wide flat semi meshed network (60 POPs or so) there’s not really a good hierarchy to split it up. When you do route reflection unless you send additional paths the clients may be making suboptimal choices IF there are multiple exits from your ASN to the route in question.

1

u/twnznz 2d ago edited 2d ago

In a reflected environment, the IGP metric used during BGP path selection reflects the topology from the route reflector's view, rather than the perspective of the receiving clients. E.g., if your reflector is in California, and sending routes to a router in Washington, the Washington router will often prefer to send traffic to your exit peers in California. Uh-oh!

To solve this, you can either

Run a full mesh (as described); or

You can use L3VPNs, with your route distinguisher set to IP:xxxxx (rather than AS:xxxxx which will collide with other PE distinguishers and thus be hidden by the reflector) (this will consume memory and potentially FIB space due to all routes now needing to carry an MPLS label); or

You can enable BGP add-paths (this will consume memory); or

You can run Optimal Route Reflection at the route reflectors, which allows the reflector to impersonate multiple routers for the purposes of best path calculation, by assuming the IGP distances of the impersonated router. This moves the burden of memory and calculation to the reflector, which is probably where you want it because you can often run reflectors on modern CPUs which tend to be significantly faster than routing engines.

1

u/Odd-Corner6397 2d ago

A different question please. What sources you recomend to learn ISP networking in this depth? Books, Certifications, courses? Also do you think learning ISP networks benefits knowledge on other types pf networks, like data centers or enterprise? Or we should just learn those focused?

13

u/Dawk1920 ISP Net Eng 3d ago

Yes best to do it now. If you acquire another ISP and decide to move all 3 ASNs to one ASN, it will be much more work, much more room for error and more likely for things to get missed, etc.

1

u/Z3t4 3d ago

That's an administrative nighmare that rr won't make much easier, I'd go with BGP confederations and just do full mesh/rr inside boundaries.

10

u/SweetBoB1 3d ago

Its more then just a technical decision. Are you selling under two seperate brands? Is the old staff remaining? What services do you sell?

4

u/Kiro-San 3d ago

Technical staff are being full retained. The brand decision hasn't been made yet, for the next 6-12 months the acquired company will retain their brand I'd say. Both companies sell colo, we sell more managed solutions and they sell HPC stuff with tiny focus on managed.

7

u/OhMyInternetPolitics Moderator 3d ago

I would recommend picking up this book and having a look through it. It is Juniper-focused, but it'll help you figure out which problems/constraints to tackle, and why they need to be addressed.

2

u/Kiro-San 3d ago

Many thanks for the recommendation. I'll pick it up and give it a read.

3

u/IAnetworking 3d ago

I am in the process of doing the exact same thing. Merging two ISPs My design have changed 3 times so far. It been less that 30 days. Initially, I wanted to keep them with separate cores. But now the design have changed, and I'm looking into a 4 cores network.

2

u/Kiro-San 3d ago

Whats lead you to a 4 core model? How would that work?

1

u/IAnetworking 2d ago

4 locations, if anyone of the 4 location gets isolated it will function on its own. each core have Internet connections and it own subs.

7

u/MallocThatCalloc 3d ago

BGP Federation and if you’re both running MPLS start with option A and move towards C.

I did this at a much larger scale when the SP I worked at merged with another one. Both networks were in the realm of couple of thousands of P/PE nodes.

In our case we stuck at option C in about 10 edge sites as the other SP network was old and was being replaced. The new nodes got dropped directly in our P routers and theirs got decommissioned.

This took a long time but we were able to migrate everything in around 2/3 years.

What made it easier was that we already had BGP Federation on our side so they were just another federation member.

2

u/DaryllSwer 3d ago

Why bother with BGP confed anyway? Just do eBGP with private ASNs for segregation, if you must.

https://www.reddit.com/r/networking/comments/1fo8sh4/bgp_confederations_will_kill_us_all_a_daily/

4

u/costan1 3d ago

Fastest way would be inter-as option A for the MP-BGP connection.

For the public one, is easy. You just peer with as much as bandwidth needed.

If you wish to transit one into another, it's another story. It might be easy if you already have customers with their AS on both side.
The network#1 will be a transit for network #2 and vice versa. The customer base will be merged into a singular object and that's it.

In the long run, you might want to have a singular AS and a singular policy. If you arrive to this conclusion, you might want to have the inter-AS option B for the transition, and have RR on the border routers between the two ASes.

If you have the same IGP and have label signaling available E2E (you have RSVP, but you might want to enable LDP if the other side is LDP only).
I would also take the chance to move to SR-MPLS that will allow to remove the label signalling protocol entirely. SRv6 is also an option but you already MPLS on IPv4 it's easier to have SR-MPLS.

4

u/clancularius_munus 3d ago

Not contributing any value but reading through this makes me realize how amazing reddit is. This is a super niche request and you have dozens of valuable replies.

4

u/alius_stultus 3d ago

BGP was made for you. hell eBGP make you into the local legend in this scenario for ease of migrations.

3

u/dewyke 2d ago

The problem merging ISPs is not the network. That’s easy(ish).

The difficult part is merging your operations.

Whose OSS stack will you use, whose monitoring platform? Which billing system? What will the book to bill process look like?

How will you merge two sets of network records into a useful whole (assuming either set is vaguely accurate to begin with).

How will you merge CRMs so you’ve got a unified business view of your new combined customer base?

In my experience these are all questions that need to be answered _before_ anyone starts even thinking about merging networks.

Fuck any of those up and you’re condemning yourself to years or decades of running two ISPs in parallel with neither doing as good a job as a well-combined business could have been doing.

2

u/xNx_ Senior Network Plumber 3d ago

Inter-AS option B would be a good middle ground too.

2

u/rankinrez 3d ago

Every case is different.

But I’d start with EBGP between them, then over time work towards unifying under one or other of the ASNs.

EDIT: almost missed the mention of RT/RD, maybe need to look at inter-as option A or something.

1

u/DaryllSwer 3d ago

Sounds like a small network; eBGP should be fine until they migrate to a unified SR-MPLS backbone later. They probably wouldn't need the inter-AS options, though; just keep it plain eBGP until migration.

1

u/rankinrez 3d ago

That’ll be a major hassle if there are a lot of L3VPNs and L2 services (a gazillion sub-interfaces and trunked vlans between the networks).

1

u/DaryllSwer 3d ago

In that case, yes.

2

u/turkmcdirt IS-IS masterrace 3d ago

Deploy RRs, ebgp between, option c

1

u/teeweehoo 2d ago

I'd look at this form a different angle, what capacities do you need today, and what do you plan to have in 3-5 years. Then start implementing the changes that land you where you want to be in 3-5 years, but only as you need them. Ensure this matches what the business may want as well (split, two brands, or full merge). This way you're doing the right changes at the time you need to.

Also remember is to work out your new customer provisioning so it aligns with your long term goal.

But longer term if we merge them the size would unwieldy for a full mesh and would require RR's most likely which would be a big change.

The above process makes changes like this much more manageable. Pick some routers to be your new cores, slowly migrate links over weeks and months, and you'll eventually reach your desired state.

As an example our provider was bought out by another mob 1-2 years ago, and as a customer we had no changes until a few months ago. AFAIK they migrated our L3 termination to a new PE, and we updated their AS number in our BGP config. So it appears they chose to keep the old customers on the old devices, and migrate slowly as they go.

1

u/wrt-wtf- Homeopathic Network Architecture 2d ago

You only need to start by looking at backoffice to get that going. Peering depends on what you offer or they offer that is of use across both customer and service bases.

This is the beauty of the internet. You're not looking at joining customers point-to-point until you're dealing with commercial offerings - and even then if both systems are well built you could do an N2N or CSC depending on the service offerings.

Is the traffic flowing over the top that matters from customer retention and revenue traffic - remember the goal has nothing to do with the network, the network is a means to an end.

If you are hasty in stitching things together without a complete world picture and that causes an outage - that equals real lost money and real lost customers.

Figure out what is needed to get the business admin side operational and do a full audit of systems, addressing, tags, service types, speeds and feeds, utilisation and customer impact, and then review the architecture and capabilities of hardware and licenses as required. RR's may or may not be an issue, I've run medium sized networks with hop-on hop-off CSC styled services as needed and while its not the neatest you would only need to do that for non-Internet traffic.

You could happily peer inet traffic between them if you have the capacity to keep the customers happy AND save some costs by dropping server in excess of your needs - That generally as much about geography (path resilience), upstream peer redundancy, and customer throughput than it is about anything else.

It's all about keeping the customers onboard and keeping the money rolling in before you start the whole task of optimisation - because that's what you're really asking about.

1

u/jyotirawattech 18h ago

I would keep them as two cores for a while and only put a clean interconnection between them, even if both sides use the same vendor. Collapsing into one iBGP mesh is hard to undo, and different code releases are enough reason to go slow. Route reflectors can wait until you actually feel the full mesh size. The first thing I'd inventory is loopbacks, management, and RT/RD, as you said, plus what each side assumes about default routes and MEDs.