Help:Range blocks/IPv6

See range blocks for the main page on range blocking, and for IPv4. Like IPv4, IPv6 range blocks are limited by, which by default allows range blocks of up to   in size (before MediaWiki 1.20wmf5, which changes the default to  ).

Technical explanation
IPv6 addresses are each 128 bits long. Because each digit in an IPv6 address can have 16 different values (from 0 to 15), each digit represents the overall value of 4 bits (one nibble), with 32 digits total. As with IPv4, CIDR notation describes ranges in terms of a common prefix of bits. For example  means that the range described has the first 32 bits set to the binary digits. Also like IPv4, MediaWiki implements IPv6 range blocks using CIDR notation.

Collateral damage
The best guideline for assessing collateral damage for an IPv6 range block is to check the WHOIS and actual amount of activity from the range. A single  subnet can represent anything from a single user to hundreds or even thousands of users; simply counting addresses may not be accurate enough, unlike in IPv4.

How to calculate an IPv6 CIDR range

 * 1) Find the common prefix - that is, the string of digits shared by all of your addresses.
 * 2) Expand the common prefix completely (including redundant zeros), and multiply the total number of digits by   - that's the size of your common prefix.
 * 3) Use the table below, and add the specified number to your prefix size (this is your CIDR suffix, the number of bits common to all addresses in the range). Append the specified digit to the common prefix you found above. Complete the group of four digits with zeros if necessary.
 * 4) The CIDR is then [common prefix (with additional digit as specified by table below, followed by zeros as necessary to keep the group of four digits complete)]/[common prefix length (plus 1,2, or 3 as specified by the table below)].

Prefix modification table
Example: If your prefix is  (completely expanded to  ), and you have addresses like   and , you'd use the entry saying that the digits after your prefix match  , append   to the prefix, and add 2 to your common prefix's size. This would generate.

Range table
The color-coding is approximate, and there will be overlaps.

Aralık blokları/IPv6 范围封禁/IPv6