Article # 685, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
AccessPoint requirements for an IP address.
The mask setting must meet the same requirements as an IP address, plus the following extra rule: When viewed as a 32 bit binary numeral, it must match the regular expression 1*0*0. That is to say, all the "1" bits must be contiguous in the high bits of the mask, and all the "0" bits contiguous in the low bits of the mask. Additionally, it can't be all 1s. We do allow all 0s, although that is not a useful mask. Examples: 00000000 00000000 00000000 00000000 0.0.0.0 valid 11111111 10000000 00000000 00000000 255.128.0.0 valid 11111111 11110000 00000000 00000000 255.240.0.0 valid 11111111 11111111 11111111 11111111 255.255.255.255 invalid 11111111 10100000 00000000 00000000 255.129.0.0 invalid 00000000 00000000 00000000 00111111 0.0.0.127 invalid 00000000 00001111 11111110 00000000 0.15.254.0 invalid