Create a subnet mask by specifying either its class(:A,
:bor :C) or acidrsuffix(a number between 0 and 32).
If
thingis of type IPV4-ADDRESS it is returned as is; if keyword it must be one of:a,:bor:cotherwise it's treated as acidrsuffix.
Apply network netmask
netmasktoaddressin order to calculate the network part ofaddress.
Apply network netmask
netmasktoaddressin order to calculate the host part ofaddress.
Return
tifaddressis part of the subnet specified bynetwork.
Return
tif ADDRESS1 and ADDRESS2 are both part part of the subnet specified bynetwork.