IPv6 subnet calculators?

I am trying to find an IPv6 subnet calculator or even a "cheat sheet" that
will help show how a /32 allocation is broken down into /40, /48 and /64
subnets. Has anyone found such a tool? I have been using the NorthStar
web based database tool for dealing with my IPv4 allocations. While the
author has mentioned support for IPv6 in the future, I am trying to get
things rolling now. Any information is greatly appreciated.

Best regards,
Jeff

Jeff,

I am trying to find an IPv6 subnet calculator or even a "cheat sheet" that
will help show how a /32 allocation is broken down into /40, /48 and /64

I guess that you don't even need a cheat sheet for that. All the prefix
lengths you mention are multiples of four, which means they're on nibble
boundaries. Since IPv6 addresses are usually written in hex, this is just
as simple as to break a dotted decimal IPv4 /8 to /16s or /24s.

Maybe the only common mistake you should be careful about: You must always
write down the digits to the next colon (16 bit boundary). So if you break
down 2005:2001::/32 into /40s, then the second /40 is 2005:2001:0100::/40.
(NOT 2005:2001:01::/40, because that would mean 2005:2001:0001::/40, which
is the 2005:2001::/40 prefix.)

Andras

Jeffrey Wheat <jeff@cetlink.net> writes:

I am trying to find an IPv6 subnet calculator or even a "cheat sheet" that
will help show how a /32 allocation is broken down into /40, /48 and /64
subnets. Has anyone found such a tool? I have been using the NorthStar
web based database tool for dealing with my IPv4 allocations. While the
author has mentioned support for IPv6 in the future, I am trying to get
things rolling now. Any information is greatly appreciated.

Try the Net::IP perl module on CPAN. It comes with a nifty little script
that lets you cut the original prefix into a set of smaller prefixes.

Regards,