masternodes / vps

A handy bash script to setup crypto masternodes in no time. Initially developed for $PIVX. Now many more ;-)
https://masternodes.github.io/vps/
GNU General Public License v3.0
250 stars 490 forks source link

ipv6 lost on reboot #112

Open himse1f opened 6 years ago

himse1f commented 6 years ago

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 commented 6 years ago

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}

ImTheDeveloper commented 6 years ago

Any pull request with that added in?