expand ipv6ranges first, so that CIDR notation is correct.