Bobcares

Digitalocean droplet static IP – How we add the second one?

PDF Header PDF Footer

Do you want to set up a second static IP for DigitalOcean Droplet? 

We can add the additional static IPv6 address.

At Bobcares, we often receive requests regarding Droplets as a part of our Server Management Services.

Today, let’s discuss how our Support Engineers add a static IP in Digitalocean Droplet.

Second static IP for a droplet

Only a single IPv4 address can be set for a Droplet. However, we can set multiple IPv6 addresses for a Droplet.

Thus, to set up another static IP address in Droplet we need to enable IPv6.

The droplet supports a maximum of 16 IPv6 addresses. The only problem faced is that all ISP does not support IPv6.

Thus, connecting to the server from the local machine might be a problem.

Let’s discuss how our Support Engineers add the static IP for a Droplet.

 

How to add another static IP for a Droplet

Recently one of the customers contacted us to add another IP address to his Droplet. For this, first, we need to enable IPv6 for the Droplet. Let’s discuss how our Support Engineers help him set it up.

 

Enable IPv6 During droplet creation

First we login to the control panel. Then we click on the Create button in the top right corner.

From the drop-down click Droplets.

Create a Droplet page appears. Now we fill in the details to create a Droplet.

Then in an Additional option, we check the IPv6 option.

digitalocean droplet static ip

Finally, we click on the Create button.

Thus, the droplet will be created and IPv6 address displays in the header.

 

Enable IPv6 on Existing droplet

To enable IPv6 for an existing droplet. We first shutdown the Droplet.

Then on the Droplet page, we click on the Droplet name.

In the left pane, click on Networking. In the public IPv6 network section we click on Enable.

Then we turn on the Droplet back.

We also need to configure the IPv6 network on the Droplet.

In CentOS, we edit the ifcfg-eth0 file. We add the following lines in the file.

IPV6ADDR=primary_ipv6_address/64
IPV6_DEFAULTGW=ipv6_gateway

Then we restart the network service using the command

systemctl restart network

Finally, we reboot the server using the command

reboot

 

Add new static IP for a Droplet

Once we enable the IPv6 for the Droplet. We first log in to the server. To add additional IPv6 address we use the command

ip -6 addr add new_ipv6_address/64 eth0

We verify the details using the command

ip -6 addr show eth0

Thus, a second IP is added for the Droplet.

 

[Need any further assistance with a droplet? – We’ll help you]

 

Conclusion

In short, we’ve discussed the possibility of adding another IP address to the Droplet. Also, we’ve discussed how our Support Engineers add static IP in DigitalOcean Droplet.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";
0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Bobcares

Use your time to build great apps. Leave your servers to us.

Managing a server is time consuming. Whether you are an expert or a newbie, that is time you could use to focus on your product or service. Leave your server management to us, and use that time to focus on the growth and success of your business.

TALK TO US Or click here to learn more.

Speed issues driving customers away?
We’ve got your back!

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF