Symptom:RFC 3531 (A Flexible Method for Managing the Assignment of Bits of an IPv6 Address Block) describes ways to manage the subnet part of an IPv6 network prefix.
Problem:This scheme requires bitwise calculations from left, right or from the center of the 16bit subnetpart of the IPv6 prefix. Bitwise calculations are hard without proper tools.
ipv6gen is tool which generates list of IPv6 prefixes of given length from certain prefix according to RFC 3531. (A Flexible Method for Managing the Assignment of Bits of an IPv6 Address Block)
This is intended as a helper script for either constructing IPv6 addressing scheme or allocating prefixes automatically. ipv6gen is structured into functions, which can be used in proprietary scripts.
ipv6gen is written in Perl.ipv6gen and other related scripts are GPL licensed.