Every device participating in a computer network is given a unique numeric designation known as an IP (Internet Protocol). It serves two main functions. It provides the network location of the host and identifies the host or network interface.