I'm having an issue allocating new IPv6 addresses when creating/modifying virtual servers. This is on Ubuntu 12.04.05 LTS. I set up the address range on the Webmin side (Webmin > Networking > Network Config > Network Interfaces > eth0), and that seems to be correct because the allocation process appears to be picking appropriate addresses. It just can't add them to the interface.
The specific error message I'm seeing is: "Failed to change IP address : SIOCSIFHWADDR: Device or resource busy - you may need to down the interface".
Is there some step I'm missing or additional configuration required?
Howdy,
At what point are you receiving that error message? What button are you clicking when that occurs?
Also, I'm curious if Webmin is still adding that IP to your config files, if it just isn't able to apply it to the active interface.
If you restart the networking service, or reboot your server, does the IPv6 IP address show up at that point?
-Eric
At what point are you receiving that error message? What button are you clicking when that occurs?
The problem occurs when creating a new virtual server, or when using the "Change IP Address" page to change from a shared address to a private one ("Allocate private address").
Also, I'm curious if Webmin is still adding that IP to your config files, if it just isn't able to apply it to the active interface.
It appears to be adding the IP address to the list in Webmin > Networking > Network Config > Network Interfaces > eth0 > IPv6 addresses (static configuration), but the the output of
ip -6 addr show eth0
does not show the additional IP address. Also, the configuration for the virtual server (as listed on the "Change IP Address" page) appears to revert back to the shared IP.If you restart the networking service, or reboot your server, does the IPv6 IP address show up at that point?
It does not show up after restarting the networking service, however, I do get a new error message:
* Reconfiguring network interfaces...
RTNETLINK answers: File exists
net.ipv6.conf.eth0.autoconf = 0
RTNETLINK answers: File exists
Failed to bring up eth0.
Interestingly enough, the interface is still brought up, just without the additional IP.
I'm having similar problems while chaning from one private IPv6 address to another on CentOS.
Virtualmin seems to be unable to remove the old address: Removing IPv6 address x:x:x::1:6005 .. Failed to change IP address : SIOCSIFHWADDR: Device or resource busy
If I remove the old address manually if the ifcfg script, Virtualmin goes to the next step and is unable to add the new one Removing IPv6 address x:x:x::1:6005 .. .. no IPv6 interface with this address was found Adding IPv6 address x:x:x::7:6005 .. Failed to change IP address : SIOCSIFHWADDR: Device or resource busy
I also tried to add the new one manually and flag "already active", but I'm getting the same error message.
Do the following steps
Now revert the settings back:
Virtualmin >> System Settings >> Virtualmin Configuration
Under Network Settings change the "Default virtual server IPv6 address" to "From network interface" and update the settings
Refresh [F5] and go to Webmin. Check IP Address allocation.
Visit us at https://secure.kreationnext.com for vps and dedicated servers, configuration and assistance on server setup.
Regards
Kreation Next
KreationNext.com