For more security reasons, I suggest to hide the IP address in the error message that appears when a student try to access a test from a forbidden location. The students should not know that the problem is because of the location. It would be better to allow the admin to customize the error message.
Besides, the administrator should be able to create more than one range.
For example, If there are 5 exam labs, then the admin should be able to create a range for each lab.
The instructor is allowed to choose IP addresses, but most of the instructors don't know how to deal with IPs. So it would be better for them to choose LABA, LABB, LABC, LABD, ...
|Product Version (if applicable):|