Submitted by hescominsoon on Tue, 09/17/2019 - 15:29 Pro Licensee
I am creating a new hosting account and virt tried to assign the new account an existing ipv6 address: Adding IPv6 address 2604:4100:2:7:0:0:0:110 .. .. IPv6 address failed! : Failed to remove old IPv6 address : SIOCDIFADDR: Cannot assign requested address
Status:
Closed (cannot reproduce)
Comments
Submitted by hescominsoon on Tue, 09/17/2019 - 15:34 Pro Licensee Comment #1
I recreated the domain without an ipv6 allocation(which sped up the creation time to instant) and then i went into server config --- change ip address. I then selected allocate dedicated address in the ipv6 section and it allocated correctly:
Updating IP addresses in virtual server ***********.com
Re-starting DNS server .. .. done
Applying web server configuration .. .. done
Re-loading Webmin .. .. done
Submitted by JamieCameron on Thu, 09/19/2019 - 01:13 Comment #2
So when you allocated the IPv6 address afterwards it did correctly choose a free IP?
Submitted by hescominsoon on Thu, 09/19/2019 - 16:29 Pro Licensee Comment #3
yes. to add further..when i tried to restore a domain to the server it tried to over-write a current ipv6: Adding IPv6 address 2604:4100:2:7:0:0:0:112 .. .. IPv6 address failed! : Failed to remove old IPv6 address : SIOCDIFADDR: Cannot assign requested address
also read a related issue: https://www.virtualmin.com/node/67149#comment-817204
Submitted by JamieCameron on Sat, 09/21/2019 - 01:00 Comment #4
If you go to Webmin -> Networking -> Network Configuration -> Network Interfaces, does it show the IP that's being re-used as assigned to any interface?
Submitted by hescominsoon on Sat, 09/21/2019 - 06:15 Pro Licensee Comment #5
Yep it is already assigned to another existing domain
Submitted by JamieCameron on Sun, 09/22/2019 - 16:23 Comment #6
Ok .. I'm not entirely sure how this could happen, but in the next Virtualmin release I'm going to add extra protection to prevent double-use of an IPv6 address at allocation time.
Submitted by hescominsoon on Fri, 10/04/2019 - 07:31 Pro Licensee Comment #7
what is the timetable for release on this fixed version?
Submitted by hescominsoon on Tue, 10/22/2019 - 21:06 Pro Licensee Comment #8