Perspective sign in by hostname

Is there a posibility that sign in a prespective view by host mane or a ip adresses?, in order to make it faster, I want to have some computers with an automatic sign in, nd the rest with a user and password.
Thanks in advance
Best Regards