What about a student logged in from home?
What about them?
They are on a different IP address. Why would you tie choices to the address rather than the account?
Sure, you could do both.