An IP address is a unique set of numbers assigned to each device. A subnet mask divides an IP address into two parts. The first part identifies your device, the other part identifies the network to which it belongs.