<P> IP addresses are usually written and displayed in human - readable notations, such as 172.16. 254.1 in IPv4, and 2001: db8: 0: 1234: 0: 567: 8: 1 in IPv6 . </P> <P> The IP address space is managed globally by the Internet Assigned Numbers Authority (IANA), and by five regional Internet registries (RIR) responsible in their designated territories for assignment to end users and local Internet registries, such as Internet service providers . IPv4 addresses have been distributed by IANA to the RIRs in blocks of approximately 16.8 million addresses each . Each ISP or private network administrator assigns an IP address to each device connected to its network . Such assignments may be on a static (fixed or permanent) or dynamic basis, depending on its software and practices . </P> <P> An IP address serves two principal functions . It identifies the host, or more specifically its network interface, and it provides the location of the host in the network, and thus the capability of addressing that host . Its role has been characterized as follows: "A name indicates what we seek . An address indicates where it is . A route indicates how to get there ." </P> <P> The header of each IP packet contains the IP address of the sending host, and that of the destination host . A host may use geolocation software to deduce the geolocation of its communicating peer . </P>

What is the public ip address and private address