Use prefixLength instead of subnetMask

subnetMask has been deprecated