manimj avatar

Add additional IPV6 on Vultr VPS

manimj

Published: 22 Jan 2019 › Updated: 22 Jan 2019Add additional IPV6 on Vultr VPS

Add additional IPV6 on Vultr VPS

Any VPS that you rent from Vultr come with 1 IP4 and 1 IPV6. In some case you want to add more IPV6.
In my case I wanted to run Few Masternodes on same VPS.
Lets get going.

1.

Click on the VPS that you want to add IPV6 on.
-0.png

2.

Click on setting.
-1.png

3.

On the top you will find IPV6, click on it. In the middle of the page you will file Recursive DNS.
1.png

4.

For my Recursive DNS I have 2001:19f0:3000:1704::6 .
Take first 2 or 3 set of numbers

2001:19f0:3000

Add

::1

To get IPV6.

Following would be IPv6

2001:19f0:3000::1

Now keep changing last digit to obtain next IPV6.I made followingIPV6 for my self.

2001:19f0:3000::3
2001:19f0:3000::4
2001:19f0:3000::5
2001:19f0:3000::6
2001:19f0:3000::7
2001:19f0:3000::8
2001:19f0:3000::9

5.

Now let's ssh into VPS by using IP4. Once you are in, type the following command.

nano /etc/network/interfaces

You will see 1 IP4 and 1 IPV6.
3.png

6.

Now add "up /sbin/ip -6 addr add dev ens3" following by IPV6 that you made earlier.

up /sbin/ip -6 addr add dev ens3 2001:19f0:3000::3
up /sbin/ip -6 addr add dev ens3 2001:19f0:3000::4
up /sbin/ip -6 addr add dev ens3 2001:19f0:3000::5
up /sbin/ip -6 addr add dev ens3 2001:19f0:3000::6
up /sbin/ip -6 addr add dev ens3 2001:19f0:3000::7
up /sbin/ip -6 addr add dev ens3 2001:19f0:3000::8
up /sbin/ip -6 addr add dev ens3 2001:19f0:3000::9

2.png

save the file (on Mac) control "x" then hit "Y" then hit enter.

Restart your network by following command.

sudo systemctl restart networking

Wait for few seconds. Do ifconfig to see your IP info.

4.png

All Done.

Note.

When ever you use IPV6, you need to use it in [ ] .

[up /sbin/ip -6 addr add dev ens3 2001:19f0:3000::3]

Good luck...

Leave Add additional IPV6 on Vultr VPS to:

Written by

Read more #vultr posts


Best Posts From manimj

We have not curated any of manimj's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From manimj