Expand or compress an IPv6 address, identify its scope, and compute the exact first/last address and size of its subnet. / ពង្រីក ឬបង្រួមអាសយដ្ឋាន IPv6 កំណត់ប្រភេទរបស់វា និងគណនាអាសយដ្ឋានដើម/ចុង និងទំហំ subnet ពិតប្រាកដ។
documentation (2001:db8::/32)
2001:db8:1234:5678::
2001:0db8:1234:5678:0000:0000:0000:0000
/48
2001:db8:1234::
2001:db8:1234:ffff:ffff:ffff:ffff:ffff
2^80 = 1208925819614629174706176
2^16 = 65536
Math per RFC 4291: an IPv6 address is a 128-bit integer; the /prefix fixes the leading bits and the remaining host bits range within the subnet. Compression follows RFC 5952 (longest zero run becomes ::). Address scopes: fe80::/10 link-local, fc00::/7 unique local, ff00::/8 multicast, 2000::/3 global unicast, 2001:db8::/32 documentation. / គណិតវិទ្យាតាម RFC 4291៖ អាសយដ្ឋាន IPv6 ជាលេខគត់ ១២៨-ប៊ីត; /prefix កំណត់ប៊ីតដើម ហើយប៊ីតផ្សេងទៀតផ្លាស់ប្តូរក្នុង subnet។ ការបង្រួមតាម RFC ៥៩៥២ (ដំរីសុទ្ធក្រោយវែងបំផុតទៅជា ::)។ ប្រភេទ៖ fe80::/១០ link-local, fc00::/៧ unique local, ff00::/៨ multicast, ២០០០::/៣ global unicast, 2001:db8::/៣២ ឯកសារ។