Help:Range blocks

Definition from Wiktionary, the free dictionary
Jump to: navigation, search

How to: Block an IP range[edit]

This is a brief how-to concerning range blocks.

  • What is a range block?
    A range block is a block which includes multiple IPs within a single block.
  • Why use a range block?
    Range blocks should be employed when a large amount of vandalism has been coming from a specific range of IP addresses, which usually signifies that a single vandal has access to multiple IPs, such as is the case with a college network, a dynamically addressed ISP, or an IPv6 network.
  • How do I issue a range block?
    A step by step guide is below.
  • Why should I not issue a range block?
    If you have any doubt about whether you are blocking the correct range, or whether a range block is needed, it is better to ask first and block later.
  • I need more help...this is complicated.
    The MediaWiki page goes into more detail than this one, or phone a friend.

The Process[edit]

Step by step instructions on range blocking.

  1. Establish the range.
    The first step is to decide what range of IPs need to be blocked. This is done through a variety of methods, but the easiest one is to recognize that a persistent vandal always seems to be coming from IPs which are related, like one day and the next. If this is the case, a range block is probably in order. Do a WHOIS on the IP, and it will tell you the range.
  2. Formulate the block.
    Once the range has been determined, formulate the block based on the range. The chart at the bottom of this page may be of use in this. Two common ranges to block are /24 and /16, 192.168.0.* and 192.168.*.* respectively.
  3. Block the range.
    A range block uses the same mechanism as a normal block, only with a range parameter appended to it in the form /# where the number is the size of the network part of the range. blocks through, as an example.
  4. Contact the ISP.
    If an entire range of IPs require blocking, it is because one user, or a small group of users have been persistently disruptive, and it is in the interests of all Wikimedia projects to let the ISP know that one of their clients has been behaving inappropriately on Wiktionary. See Abuse reports for more information on this.
  5. IPv6 range blocks
    See MediaWiki page for details of this nightmare world.

More detailed charts[edit]

Ranges, significant bits, and number of addresses blocked.

Range # of IPs Significant bits example addresses
/32 this blocks just one address, so leave off the /32 and block as normal.
/31 2 11000000.10101000.00000000.00000001 -
/30 4 11000000.10101000.00000000.00000001 -
/28 16 11000000.10101000.00000000.00000001 -
/26 64 11000000.10101000.00000000.00000001 -
/24 256 11000000.10101000.00000000.00000001 -
/22 1024 11000000.10101000.00000000.00000001 -
/20 4096 11000000.10101000.00000000.00000001 -
/18 16,384 11000000.10101000.00000000.00000001 -
/16 65,536 11000000.10101000.00000000.00000001 -
blocks of /15-/0 are not allowed on Wikimedia projects, for blocks this large multiple blocks must be used.


  • [1] for calculating subnets, masks, etc.
  • [2] for determining ownership and location of IP addresses.