Restrict Wordpress Login

Hi there,

Is there any plugin or any other way to somehow restrict login to the dashboard of a Wordpress site to specific IP addresses.

Even better, can this be only applied to certain account roles rather than every user.

Thanks