Subnet Calculator

Created 2012-08-06 23:32:00
Updated 2020-03-30 22:43:57

PHP Subnet Calculator. Enter an IP/Mask as follows: please.

Use IP & CIDR Netmask:
Or IP & Netmask:
Or IP & Wildcard Mask:
The apache2 web server confronts dayly to the massive automatic attacks from some geographical zones of which the IP intervals are known and fixed by the 5 RIRRegional Internet Registry: AFRINIC, APNIC, ARIN, LACNIC, RIPE NCC.s in the World, which consumes uselessly your bandwidth, and worse block the human visitors from loading your page, we can do it simply with the following directive in the configuration file like /etc/apache2/apache2.conf:
<Location />
  Deny from
We have specified here the forbidden subnet addresses by the couple IP/IP-Mask. The IP mask can be given in two ways. The first is like for a subnet of class C, prohibiting the following machines: - The second way is to use the sum of high-bits of the IP mask, Effectivelt the IP mask in binary form is as follows: 11111111.11111111.11111111.00000000, which includes exactly 24 non-zero high-bits (the most left bytes). The above directive is so equivalent to this one:
<Location />
  Deny from
Valid HTML 4.01!
Réf. PHP Subnet Calculator

Give us feedback (0)

No any user feedback.
Email Web

Please copy the string:
String to copy.

Asia Home™ > Tools > Subnet Calculator | General Sales Conditions | Returns and refunding | Privacy Policy | FAQ

Want to come? | Call us 7/700 33 467 790 487 (Phone)

Popup Window    Close
Patience please...