Use the following code in .htacces file. Then all the request from that ip will be denied. This will helps to protect the website from particular ip attack.
## USER IP BANNING
<Limit GET POST>
order allow,deny
deny from 192.168.1.0
allow from all
</Limit>