I use the following thechnique to ban an Ip address or an Ip block:
- Look up the IP: DnsStuff. Note the IP (xy.zw.221.230) and the CIDR (xy.zw.0.0/16).
- Block the IP: deny from xy.zw.221.230
- Block the IP range: deny from xy.zw.0.0/16
Where x,y,z and w are numbers.