Ban a user form q&a through IP

Is there a way to completely ban the IP of a user on Q&A, in case someone is spamming with different accounts?

Thanks you.