Server template does not remember IPv6 ranges

I just received IPv6 networks for my server, so I started experimenting with IPv6 under Virtualmin. Expect some reports! :)

First: In server templates, section "Virtual IP Address", when I enter addresses in the "Ranges for automatic IPv6 allocation" fields, they are not saved when clicking "Save". Returning to the section shows empty fields.

Consequently, when trying to auto-assign an IPv6 address to a vserver using the "Change IP address" function, and choosing "Allocate private IP address", I get:

Updating IP address in virtual server test5.test.tianet.de
Adding IPv6 address ..
Failed to change IP address : ifconfig eth1 inet6 add /64 failed : /64: Unknown host]/code]
Status: 
Closed (fixed)

Comments

Addendum: I just noticed that the reported behavior occurs when I use upper-case hexadecimal letters in the IP addresses. Seems there's a parsing problem. :) A-F should be accepted as well as a-f (possibly converted).

What did you enter for the starting and ending IP addresses for the range exactly? Upper and lower characters should be supported , and work OK in my tests .... but the issue may be with the range itself.

I entered 2a01:4f8:101:1ffc::1:20 for start and 2a01:4f8:101:1ffc::1:2F for end, which causes both fields to become empty.

When I enter 2f in the last word though, it is saved, applied and used correctly.

Ok, I see the bug now .. it is indeed upper-case digits that cause this in some cases. I will fix this in Virtualmin 3.88.

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