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 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
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, -- leo vegoda RIPE NCC Registration Services
participants (3)
-
JAKO Andras
-
Jeffrey Wheat
-
leo vegoda