What is Subnet mask?
A 32-bit value whose leading ones mark the network portion of an IPv4 address.
ANDing an address with its mask gives the network address; ORing it with the inverted mask gives the broadcast.
ANDing an address with its mask gives the network address; ORing it with the inverted mask gives the broadcast.