Well, if they did, then those would be the subnets that got calculated by the script. The lookup table would be:
 Code:
172.16.0.0=\server1
172.16.2.0=\server2
172.16.2.128=\server3
172.16.3.0=\server4
172.16.3.128=\server5
172.16.4.0=\server6
172.16.5.0=\server7

Each one would have to be a legitimate subnet with a proper subnet mask. In other words, you could not have a network of 192.168.0.0/24, and have users with addresses 0-127 user server1 and those with addresses 128-255 use server2.

The logic doesn't consider network class - it is based on the CIDR standard. The only thing that's important is the local IP and netmask.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D