diff --git a/src/lib/components/IPv6SubnetCalculator.svelte b/src/lib/components/IPv6SubnetCalculator.svelte new file mode 100644 index 0000000..2df588a --- /dev/null +++ b/src/lib/components/IPv6SubnetCalculator.svelte @@ -0,0 +1,837 @@ + + +
Calculate IPv6 subnet information with 128-bit addressing and modern network prefix notation.
+{getPrefixDescription(prefixLength)}
+{subnetResult.subnet.networkCompressed}
+
+ {subnetResult.subnet.networkExpanded}
+
+ {subnetResult.subnet.subnetMask}
+
+
+ {subnetResult.subnet.firstAddress} - {subnetResult.subnet.lastAddress}
+
+
+ {formatLargeNumber(subnetResult.subnet.assignableAddresses)}
+
+ {subnetResult.subnet.reverseZone}
+
+ {subnetResult.subnet.binaryPrefix}
+
+ Showing network and host portions for {subnetResult.subnet.networkCompressed}/{prefixLength}
++ IPv6 subnetting uses 128-bit addresses and hierarchical prefix-based allocation + to provide virtually unlimited address space. Unlike IPv4, IPv6 simplifies subnet planning with: +
+ +128-bit addressing provides 2^128 addresses - virtually unlimited for any network
+Standard /64 subnets eliminate complex subnet calculations
+Provider-independent addressing with clear network hierarchy
+Uses multicast instead of broadcast, improving network efficiency
+Internet-routable addresses for global connectivity
+Local network communication, automatically configured
+Private addresses for internal networks (like RFC 1918)
+One-to-many communication replacing broadcast
+Use /64 for all LAN segments to ensure SLAAC and privacy extensions work properly
+Plan address space hierarchically: /48 sites, /56 small sites, /64 subnets
+Use :: notation to compress consecutive zero groups for readability
+Use 2001:db8::/32 for examples and documentation
++ IPv6's massive address space eliminates the need for complex subnetting. Focus on + logical network hierarchy rather than conserving addresses. A single /64 subnet + provides more addresses than the entire IPv4 internet. +
+