I think you should try:
172.16.1.0/24
The /24 is the number of Bits of the subnet mask that are set to "1", starting from the Most Significant Bit (MSB) - in this case, the first 24 bits = 255.255.255.0 or 11111111111111111111111100000000
In this notation (shorthand for the 255.255.255.0 ) there is no place for "255"
Cheers
Ian