How do I get different ip address for each droplet?

February 4, 2017 709 views
IPv6 CentOS

I have a script that converts the droplet to act as a proxy in order for me to access a website blocked, when I deploy multiple servers with the same script expecting different ip address, I receive the same ip address for each droplet.

How do I correct this?

Thanks

2 Answers

You're making a wrong assumption, every droplet always has a different and unique IP address.

@TheNextLBJ623

When it comes to deployment, each Droplet that you deploy will be provided with a unique IP. While they may be from the same or a very similar block, they will be unique as it's not possible for two or more Droplets to share the same IP.

So, for example, if you deploy three Droplets to NYC3, all three will have unique IP addresses.

That being said, there are instances where you'll deploy a new Droplet, destroy it, deploy another and the newest Droplet will have the same IP as the previous. This isn't something you can change though as, in most cases, IP's are provided at random -- in others, you may receive an IP that was previously assigned but not currently in use.

Have another answer? Share your knowledge.