masternodes/vps

ipv6 lost on reboot

himse1f opened this issue · 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.

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}

Any pull request with that added in?