Author

Topic: [GUIDE] How to add IPv6 Address Manually On To VPS [Maternode Owner & Staker] (Read 285 times)

hero member
Activity: 994
Merit: 593
aka JAGEND.

Updated with adding EXPECTED BENEFITS

-SNIP-

EXPECTED BENEFITS.
  • Readers can add IPv6 manually to their own VPS.
  • Readers can setup masternodes up-to 2-3 Masternodes with the same project and/or different projects at same VPS (2-3 MN installations are based on my experience using vultr with specification RAM 1GB, Harddisk 25 SSD).
  • Readers can install CLI-Wallet more than 3 coins using 1 VPS (with specification as mentioned above).
  • Save on a monthly fee for vps subscription.

-SNIP-



hero member
Activity: 994
Merit: 593
aka JAGEND.

Additional Guidance :

This guidance applies to those of you who already:
  • rent vps on vultr
  • Already checked add ipv6 option when deploying vps.


Purpose :

By default, when you have checked add ipv6 option when deploying vps on Vultr. Then you only get 1 IPv6 address. This tutorial will add the number of IPv6 address in vps that you rent up-to 4 additional IPv6 address.


Explanation :

1. Go to your VPS. And type this command :
Code:
ip addr

You will have this outputs :


Image H

As you can see in that image, you have 2 IP.
  • IPv4 Address : (inet) 45.63.100.26
  • IPv6 Address : (inet6) 2001:19f0:7401:81de:5400:1ff:fee0:3411


2. Setup VPS Networks :
Please type :
Code:
nano /etc/network/interfaces

Your vps will shows like this :

Now, we do some modification in our vps networks.
as you can see in Image H, my IPv6 address is 2001:19f0:7401:81de:5400:1ff:fee0:3411. When you type this command, don't forget to change the following command with the ipv6 address you have.
Code:
up /sbin/ip -6 addr add dev ens3 2001:19f0:7401:81de:5400:1ff:fee0:3415
up /sbin/ip -6 addr add dev ens3 2001:19f0:7401:81de:5400:1ff:fee0:3414
up /sbin/ip -6 addr add dev ens3 2001:19f0:7401:81de:5400:1ff:fee0:3413
up /sbin/ip -6 addr add dev ens3 2001:19f0:7401:81de:5400:1ff:fee0:3412

copy paste that command on to your vps. After you paste that configuration to your vps, next we need to close that window then back to main menu and then apply our setting.
How to close that window and back to main menu?. Please press CTRL + X, type Y then press ENTER. And you will back to main menu (root menu).

3. Restart VPS To Applied Our Setting.
Please type this commands (you can copy and paste it):
Code:
systemctl restart networking.service
Then press ENTER.

4. Checking Our Configuration.
Please type :
Code:
ip addr
Then press ENTER.
If you do configuration correctly, you will see your additional ipv6 address appears on your vps.

One more thing, don't forget about this :
ADDITIONAL INFORMATIONS
  • Let say you have different results where the output produced ends with alphabet. Kind like this 2001:690:1f18:390::a.
  • Please keep in your mind, if you have IPv6 address result and the last letter is alphabet (like example above). Then you can add additional IPv6 address only from a to f
  • Based on STEP 6, Number III. Adding IPv6 Address To VPS. Then configuration will be like this :
  • IPv6 address output is 2001:690:1f18:390::a (result ended with alphabetical).
Code:
up /sbin/ip -6 addr add dev he-2001:690:1f18:390::b
up /sbin/ip -6 addr add dev he-2001:690:1f18:390::c
up /sbin/ip -6 addr add dev he-2001:690:1f18:390::d
up /sbin/ip -6 addr add dev he-2001:690:1f18:390::e
Copy and paste that configuration to your vps (As shown in Image F), And you can continue with the next step.

hero member
Activity: 994
Merit: 593
aka JAGEND.
NOTE.

1. This thread is published with the intention to share my experiences when adding ipv6 address manually to my own vps.
2. If you find a thread with the same theme, please remind me. So I can delete this thread. Thank you.



EXPECTED BENEFITS.

  • Readers can add IPv6 manually to their own VPS.
  • Readers can setup masternodes up-to 2-3 Masternodes with the same project and/or different projects at same VPS (2-3 MN installations are based on my experience using vultr with specification RAM 1GB, Harddisk 25 SSD).
  • Readers can install CLI-Wallet more than 3 coins using 1 VPS (with specification as mentioned above).
  • Save on a monthly fee for vps subscription.






INTRODUCTION.

As you know, an masternode investor MUST have VPS to run their masternode investment. This article is intended to :
  • Add IPv6 address manually (by yourself). Where the VPS you are currently using requires additional fees for adding IPv6 or when you did forgot to give a thick mark "add ipv6" option when you use Vultr services.
  • To reduce your vps monthly rental fees to run your masternode investment. Instead you have 2 vps with IPv4, it is much more economical to have 1 vps with 2 different IP address (IPv4 & IPv6).



MATERIAL EXPLANATION.

How to add IPv6 Address Manually On To Your VPS.
STEP 1. You Must Have VPS
For those of you who don't have vps, i suggest you to read following article: How To Deploy New VPS (For Hosting Your Masternode And Setup CLI Wallet).
Article that i shared explain in detail how to deploy new vps, including how to activate IPv6 addres feature for free. For those of you who already deploy vps on vultr but forget to activate IPv6 feature or for those of you who already have vps but don't know how to activate IPv6 addres on your vps, then you can proceed to Step 2.


STEP 2. Create User Account At Tunnel Broker
Tunnel Broker Website : https://tunnelbroker.net/.
That website in principle is very useful to lighten our task. If you do not have an account on the website, please register yourself first. Don't forget, there is a certification test that you must pass to have an account on that website.
For those of you who already have an account on a tunnelbroker and for those of you who have certified status, you can proceed to Step 3.


STEP 3. Create IPv6 Address.
Please follow the instructions as explained below.

Image A
Image A Caption :
  • 1. Create reguler tunnel
  • 2. Fill your VPS IPv4 address
  • 3. Pick location based on your vps location.
  • 4. Create Tunnel.

STEP 4. Output Checking

Image B
Image B Caption :
  • 5. Click "Example Configuration" tab

STEP 5. Output Configuration Checking

Image C
Image C Caption :
  • 6. Choose OS system based on your vps OS.
  • 7. Copy all texts that appears in that column.

STEP 6. Applied TunnelBroker Output To VPS (VPS Configuration).
I. Login to your vps.
Please remember, you must have root privilege to apply tunnelbroker output. After login, please type this on your vps (you can copy paste this command).

Code:
nano /etc/network/interfaces

Output will be like this (Image D) :


Image D

II. Paste All text From TunnelBroker Output To VPS.
Paste all text that you have from TunnelBroker output as mentioned in Step5, Image C.

As shown in (Image E) :

Image E

III. Adding IPv6 Address To VPS.
  • For adding IPv6 to your vps, we must do modification from result that we have from Step5, Image C.
  • As you can see on Image E. (Above Image).  IPv6 address ouput that i got is 2001:470:1f08:690::2 (the output you get is certainly different from what i get. Before going to next step, make sure you already know your IPv6 address from tunnelbroker result.).
  • From 1 IPv6 address output, we can add up to 4 additional IPv6 address.

How to add?
Remember, Please change 2001:470:1f08:690 with your IPv6 address
.

  • IPv6 address output that i got from TunnelBroker output is 2001:470:1f08:690::2.
Code:
up /sbin/ip -6 addr add dev he-2001:470:1f08:690::3
up /sbin/ip -6 addr add dev he-2001:470:1f08:690::4
up /sbin/ip -6 addr add dev he-2001:470:1f08:690::5
up /sbin/ip -6 addr add dev he-2001:470:1f08:690::6
Copy and paste that configuration to your vps (As shown in Image F below).

Image F

  • After you paste that configuration to your vps, next we need to close that window then back to main menu and then apply our setting.
  • How to close that window and back to main menu?. Please press CTRL + X, type Y then press ENTER. And you will back to main menu.

STEP 7. Restart VPS To Applied Our Setting.
Please type this commands (you can copy and paste it):
Code:
systemctl restart networking.service
Then press ENTER.

STEP 8. Checking Our Configuration.
Please type :
Code:
ip addr
Then press ENTER.
If you do configuration correctly, you will see your ipv6 address appears on your vps. (As shown in Image G below).

Image G

STEP 9. Congrats! You have added additional IPv6 address to your vps.




ADDITIONAL INFORMATIONS
  • Let say you have different results where the output produced ends with alphabet. Kind like this 2001:690:1f18:390::a.
  • Please keep in your mind, if you have IPv6 address result and the last letter is alphabet (like example above). Then you can add additional IPv6 address only from a to f
  • Based on STEP 6, Number III. Adding IPv6 Address To VPS. Then configuration will be like this :
  • IPv6 address output is 2001:690:1f18:390::a (result ended with alphabetical).
Code:
up /sbin/ip -6 addr add dev he-2001:690:1f18:390::b
up /sbin/ip -6 addr add dev he-2001:690:1f18:390::c
up /sbin/ip -6 addr add dev he-2001:690:1f18:390::d
up /sbin/ip -6 addr add dev he-2001:690:1f18:390::e
Copy and paste that configuration to your vps (As shown in Image F), And you can continue with the next step.
Jump to: