vps icon indicating copy to clipboard operation
vps copied to clipboard

ipv6 lost on reboot

Open himse1f opened this issue 7 years ago • 2 comments

vultr ubuntu 16.04 VPS

when i run the script (as root and I tried a sudo user) for any number of masternodes, I have tried a few different scripts to see if it was coin related. It does create the number of ipv6 ip's and i can start a masternode on each ipv6 address. When i reboot, the ipv6 address go away and thus the masternode tied to a specific ipv6 address does not work.

the workaround is to create static IP's after i run the script by editing /etc/network/interfaces.

himse1f avatar Jun 09 '18 17:06 himse1f

i updated the script with the following and the ipv6 is persistent on reboot

sed -ie '$i ip -6 addr add '"${IPV6_INT_BASE}"':'"${NETWORK_BASE_TAG}"'::'"${NUM}"'/64 dev '"${ETH_INTERFACE}"'\n' ${NETWORK_CONFIG}

himse1f avatar Jun 09 '18 21:06 himse1f

Any pull request with that added in?

ImTheDeveloper avatar Aug 12 '18 13:08 ImTheDeveloper