How can I own an IP address like I do with domains?

I have done some research and it seems that you can't buy a single IP, but rather you have to purchase a range of IP addresses.

Update : Important Note
I want this IP to use it with my servers. for example I had a VPS, it went bad, I want to be able to use the same IP on another VPS from another company.

  • In short: You can. Check sxtnc's answer.
    – Apache
    Aug 16, 2011 at 8:59
  • I updated the question.
    – 2hamed
    Aug 16, 2011 at 9:04
  • Posted an answer. :)
    – Apache
    Aug 16, 2011 at 9:39
  • 1
    Just note that you can't get an IPv4 address anymore by yourself (they're all allocated as of a few months ago), you'll need to get it from an ISP or VPS/web host who already has it. You can, however, reserve IPv6 addresses (we have trillions to go). Aug 16, 2011 at 10:45
  • 3
    The reason we have domains is so that you don't have to own an IP. Aug 20, 2011 at 22:10

7 Answers 7


What you want just isn't possible on a small scale.

IP Addresses are purchased in blocks by companies with a hell of a lot of money and more importantly, infrastructure. When you get one, unless you are going direct to your RIR (Regional Internet Registry), you are only renting the IP.

Even if you then owned an IP by going direct to your RIR (which can be very expensive just to register... See ARIN, RIPE), I highly doubt any VPS provider will add a route to your IP as it will require a significant change to their own infrastructure.

The best thing you can do is to use a single provider that specialises in uptime/100% availability, it will be expensive, but, this is by far the cheapest way of going around it.

I'm updating this answer significantly as I have received so many emails asking for more info or help and approximate costs...

What you are asking for is hard and expensive. For just two VPS from a provider - I highly doubt you will find anyone willing due to complexity... But if someone does want to go down this route, it isn't impossible.

To understand routing across the internet, you need to know that there is more than IP routing alone. BGP is a routing protocol used by providers in order for them to say "My ips are here". To participate in BGP, you need an AS number, and to get an AS number and IPs, you need to register with a RIR (as explained above).

When participating in BGP, instead of buying internet as a service from a provider, you buy IP transit from a provider which allows you to publish your AS number/IPs

So, you would have IP transit at multiple locations and you would then publish BGP routes from one, and if connectivity to one site fails, you publish the route to the other location and ips are routed there.

As for price, you will need to find a colocation package that allows you to have IP transit... If you shop around, minimum would probably be £300 a month for a quarter rack.

Next, the transit itself - around £5-£10 per Mb of IP transit when purchased at low totals.

I am not sure on all RIR fees as they all have different prices and structures (e.g. ARIN pay for how many IP blocks you have, starting at $500 for a /24 with a max price of $32,000, where as ripe is €1,800 for unlimited).

Lastly, you will need a server (any price!) and a router capable of BGP.

After you have done this, duplicate it, or even triplicate it! (Other than the RIR fees, that's a one off!).

And if you can't follow this, I'm always up for consultation ;)

  • do you mean to buy 1 IP address it cost 5k USD?
    – Pacerier
    Aug 18, 2011 at 12:40
  • 1
    @Pacerier - I never mentioned a cost other than being expensive... You need to register to the authority in question before you even buy one IP, you get them by the block, but, price is a very complicated matter. Aug 18, 2011 at 12:42
  • 1
    Assuming you live in the US, it looks like the very least you'll pay is USD500 per year for a /22 (v4) or /40 (v6) block. See the ARIN fee schedule. As the annual fee implies, you can only reserve a block; one cannot own addressable space.
    – chb
    Dec 1, 2013 at 22:42
  • What exactly is a 'block'? Is it the same as a 'range'? Can it be any size? Is it something like 1.2.3.x (= 255 IPs)?
    – P i
    Sep 13, 2021 at 2:59
  • 2
    @WilliamHilsum Maybe you should update your answer, as it is not that impossible nowadays, AWS allows you to bring your own IPs (BYOIP) (docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html)
    – Melardev
    Dec 8, 2021 at 23:00

Assuming you are somewhere in the geographic area covered by ARIN, this tells you what you need to do. Generally you need to be an ISP of some sort. You probably want to apply for an AS number as well since if you are an ISP you need it for your BGP routing.


You can buy blocks of numbers from Addrex they really know their stuff. The RIRs are leasing numbers now. If you get IPs from your ISP you are renting. If you are on a hosting service you are not going to be able to purchase numbers that can port or take with you. The RIRs are pretty much out of space so the secondary market is your best bet. Companies like ARIN still require needs assessment and are designed for ISPs more than small companies or application providers.

  • It appears that the question is about purchasing a single IP address and not a range.
    – killermist
    Jan 13, 2015 at 17:40

Now that is NOT possible. Different ISPs, providers, can provide different IP blocks.
What you need, is a domain address. That you can point to your VPS's IP all the time, no matter how many times you change your provider.

  • 1
    you see, my problem is I have to connect to various servers which need IP authentication. if I change the IP address, I have to recheck with them and every time it takes around a week to be confirmed.
    – 2hamed
    Aug 16, 2011 at 9:46
  • The only solution for that is having a good VPS provider which gives you a reliable VPS. That's all. OR you can tunnel your traffic through a static IP ...vps, shell, whatsoever ... every time you connect to such a "static IP authenticated" host.
    – Apache
    Aug 16, 2011 at 9:54

I would have a read here: http://www.ripe.net/lir-services/resource-management/faq/faq-general-resources

The best thing, if you don't need a huuuge net - is to get dedicated IP-adresses from your ISP. I know many provides pretty large nets, if needed.

Edit: I believe the question has been edited.. But the comments are correct!

To own them I would go for a Provider Independent network, and get the ISP in question to route.

  • 7
    Dedicated IP is not ISP transferable...
    – Pylsa
    Aug 16, 2011 at 10:17
  • 1
    @BloodPhilia, Dedicated IP is not owned by you.......
    – Pacerier
    Oct 27, 2014 at 21:40
  • URL in this answer is dead now
    – Penguin9
    Dec 18, 2020 at 0:52
  • 1
    @Penguin9 - You are correct sir. It seems like some information is still available at: ripe.net/participate/member-support/become-a-member
    – xstnc
    Dec 19, 2020 at 1:08

Just like @William Hilsum and @ultrasawblade, you must spent a considerable amount of money and effort to own and operate and IP address range. You will become a quite decent ISP if you actually have such infrastructure.

However, you don't actually need to own an IP address to achieve what you want. All you need is the right to use a fixed IP address. You might be able to get one from an ISP, cloud service or co-location provider and ask them "route" it to your actual IP through VPN or address translation.


I have a possible solution. Just set up a cron job/bash script to constantly take note of your servers current public IP address. If it changes, make the script change your IP on the DNS Server (which you should also be hosting if you're doing this). This way, you don't actually need a static IP address.

Also, let me know if you try this.

  • Please add further details to expand on your answer, such as working code or documentation citations.
    – Community Bot
    Sep 7, 2021 at 15:52
  • @Juno Sprite, I wouldn't hold my breath waiting for feedback. It's a 10 year old thread, and the OP has posted nothing since 2013... :-D Sep 7, 2021 at 16:35
  • 1
    This is called "dynamic DNS" and many DNS servers support it in some flavor; you won't have to run your own DNS server. (And can't, because the DNS server itself needs a known fixed IP, in order to be authoritative for a domain)
    – Ben Voigt
    Sep 7, 2021 at 16:49
  • 1
    @Peregrino69 well the OP is still alive and well :D but the actual problem no longer stands.
    – 2hamed
    Sep 10, 2021 at 8:08
  • @2hamed I'm glad to hear that - please pass my best regards to the OP :-D Sep 10, 2021 at 8:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .