IPv6 assignment fails

The line you are using in debian is wrong for squeeze now.

up ifconfig eth0 inet6 add 2001:470:1f00:3480::3/255.255.255.240

I'm not sure why you are even adding the IPv4 netmask when that isn't used.

It should be...

up ifconfig eth0 inet6 add 2001:470:1f00:3480::3

or

up ifconfig eth0 inet6 add 2001:470:1f00:3480::3/64

Status: 
Closed (fixed)

Comments

Yes, the IPv4 netmask certainly shouldn't be in there.

Are you adding this interface as part of a Virtualmin domain creation, or using Webmin's Network Configuration module?

I was using the "Change IP Address" section

If you run grep netmask /etc/webmin/virtual-server/config , what does it output?

Ok, I see the bug that causes this now - it will be fixed in the next Virtualmin release (3.93).

Is there a fix I can do for now ?

Sure ... just edit /usr/libexec/webmin/virtual-server/feature-virt6.pl and change line 30 from :

                        'netmask' => $d->{'netmask'} ||

to :

                        'netmask' => $d->{'netmask6'} ||

Then run /etc/webmin/restart

Automatically closed -- issue fixed for 2 weeks with no activity.