After a few attempts at also adding partial or complete client-side validation to require a mask resulted in getting bogged down with more and more difficult to read and maintain Javascript IP address validation code, I decided to focus on a solution that only validates server-side, and prevent the creation of networks with a mask matching a single IP altogether.
After a few attempts at also adding partial or complete client-side validation to require a mask resulted in getting bogged down with more and more difficult to read and maintain Javascript IP address validation code, I decided to focus on a solution that only validates server-side, and prevent the creation of networks with a mask matching a single IP altogether.