Create a subnet mask by specifying either its class(:A,
:b
or :C) or acidr
suffix(a number between 0 and 32).
If
thing
is of type IPV4-ADDRESS it is returned as is; if keyword it must be one of:a
,:b
or:c
otherwise it's treated as acidr
suffix.
Apply network netmask
netmask
toaddress
in order to calculate the network part ofaddress
.
Apply network netmask
netmask
toaddress
in order to calculate the host part ofaddress
.
Return
t
ifaddress
is part of the subnet specified bynetwork
.
Return
t
if ADDRESS1 and ADDRESS2 are both part part of the subnet specified bynetwork
.