The technique used by the Internet Protocol (IP) to filter messages into a particular network segment (). The subnet mask is a binary pattern that is stored in the client machine, server or and is matched up with the incoming to determine whether to accept or reject a packet. Also known as address mask.