Disclosure up front: I run IPYE, a company that leases IP space. This is a practical how-to, and IPYE comes up where it helps, with a short call to action at the end.
One of the main benefits of leasing a /24 rather than using a provider's addresses is that the range moves with you. Servers keep their addresses, DNS records stay the same, and partner allowlists keep working. The move itself still needs planning, because the origin ASN, the ROA, filters and geolocation all have to follow. This guide is a runbook for moving a leased /24 from IPYE to a new data center. The examples use the documentation prefix 203.0.113.0/24, the old site's origin AS64510 and the new site's origin AS64520.
Two versions of the move
- Same origin ASN, new upstream. You announce from your own ASN at both sites. Only the upstream changes, so the ROA stays the same.
- New origin ASN. The new provider announces the range for you, or you switch from a provider's ASN to your own. The ROA has to change.
Version 1 is simpler. If you'll move more than once, it's worth having an ASN of your own.
Two weeks before
- Confirm the new provider accepts the prefix, and get their LOA requirements.
- Create or update the IRR
routeobject for the new origin if it changes, and check withbgpq4that the new upstream's filter will include it. - If the city changes, update your geofeed and send geolocation corrections. They take weeks to reach every database.
- Lower the TTLs on DNS records you might need to change, as a fallback.
Days before
- Set up the new BGP session, and confirm the upstream has added the prefix to its filter. Bring the session up without announcing yet.
- Prepare the servers or VMs at the new site, with addresses configured but interfaces down, or the addresses held on standby.
Moving day: same ASN
- Announce the /24 from the new site.
- Confirm it's visible on looking glasses through the new upstream.
- Withdraw it from the old site.
- Bring the services up at the new site, and take them down at the old one.
During the overlap, traffic may arrive at either site depending on the path. Keep the overlap short, or keep services running at both sites until the old route is gone.
Moving day: new ASN
- Change the origin ASN on the lease to
AS64520. The ROA updates automatically. - Wait until your validator, or a public RPKI checker, shows the new VRP. Allow up to an hour.
- Start announcing from the new site.
- Withdraw from the old site right away. Once the ROA has changed, the old announcement is RPKI invalid, and validating networks drop it anyway.
- Download a fresh LOA naming the new ASN, and keep it for the new upstream's records.
Moving part of the range
If you're moving only half the servers, you can't just announce the moved /25 from the new site, because most of the internet filters anything longer than a /24. The real options are:
- Lease a second /24 for the new site.
- Keep announcing the /24 from one site, and carry traffic for the moved servers over a tunnel between sites.
- Move the whole range at once.
After the move
- Check reverse DNS. PTR records don't change with a move, but if your nameservers moved, check the delegation.
- Watch your monitoring and BGP alerts for a few days, looking for unexpected origins or loss of visibility.
- Ask the old provider to remove the prefix from their filters, and delete any IRR objects for the old origin.
Start with a portable lease
Region and ASN changes on an IPYE lease apply automatically, and the LOA and ROA follow the new settings, which is what makes a move like this practical.
Next step
Plan the move with the checklist above, then change the location or origin ASN in the IPYE portal when you're ready to switch.
About IPYE
IPYE leases IPv4, IPv6 and ASN space with instant setup. Your first IPv6 /48 is free for the first year, a real allocation you can announce on your own ASN, with a LOA from the portal and the ROA created automatically. IPv4 /24 to /22 leases include LOA, ROA and per-/24 rDNS, and ASN and region changes apply automatically. Locations: Los Angeles, New York, Ashburn, Salt Lake City, London, Amsterdam, Frankfurt. More at ipye.com. Questions: ipye@turnel.com.
Disclosure: I run IPYE