Fix the VLAN_BASE and IPBASE to start counting from zero and fit at the end of a /24.