The traditional IP Address ( known as IPv4 ) uses a 32-bit issue to represent an IP address, and it defines both network and horde address. A 32-bit number is capable of providing approximately 4 billion unique numbers, and hence IPv4 addresses running out as more devices are connected to the IP network. A new version of the IP protocol ( IPv6 ) has been invented to offer about illimitable number of unique addresses. An IP address is written in “ dashed decimal ” note, which is 4 sets of numbers separated by time period each determine representing 8-bit number ranging from ( 0-255 ). An example of IPv4 address is 188.8.131.52, which is the IP address previously assigned to iplocation.net .
An IPv4 address is divided into two parts : network and host address. The network address determines how many of the 32 bits are used for the network address and the remaining bits are used for the horde address. The host address can promote divided into subnetwork and host number .
Class A, B, C and CIDR networks
traditionally IP network is classified as A, B or C network. The computers identify the class by first 3 bits ( A=000, B=100, C=110 ), while humans identify the class by inaugural eight ( 8-bit ) number. With scarcity of IP addresses, the class-based organization has been replaced by C lassless I nter- D omain R outing ( CIDR ) to more efficiently allocate IP addresses.
Reading: What is My IP Address?
|Class||Network Address||Number of Hosts||Netmask|
Note: (1) 127 Network Address reserved for loopback test. (2) Class D (224-247, Multicast) and Class E (248-255, Experimental) are not intended to be used in public operation.
Public and Private IP Addresses
note : ( 1 ) 127 Network Address reserved for loopback test. ( 2 ) class D ( 224-247, Multicast ) and Class E ( 248-255, Experimental ) are not intended to be used in public operation.
In ordain to maintain singularity within global namespace, the IP addresses are publicly registered with the N etwork I nformation C accede ( NIC ) to avoid address conflicts.The dDevices that need to be publicly identified, such as network or mail servers, must have a globally singular IP address ; and they are assigned a public IP address. The devices that do not require public entree may be assigned a individual IP address and make it uniquely identifiable within one arrangement. For case, a network printer may be assigned a private IP address to prevent rest of the earth from printing from it. To allow organizations to freely assign private IP addresses, the NIC has reserved certain cover blocks for private habit. A private network is a network that uses RFC 1918 IP address space. The follow information science blocks are reserved for secret IP addresses.
|Class||Starting IP Address||Ending IP Address|
In accession to above classful private addresses, 169.254.0.0 through 169.254.255.255 addresses are reserved for Zeroconf ( or APIPA, Automatic Private IP Addressing ) to automatically create the useable IP network without shape .
What is loopback IP address?
The loopback IP address is the address used to access itself. The IPv4 designated 127.0.0.1 as the loopback address with the 255.0.0.0 subnet dissemble. A loopback interface is besides known as a virtual IP, which does not associate with hardware interface. On Linux systems, the loopback interface is normally called lo or lo0. The represent hostname for this interface is called localhost .
The loopback address is used to test network software without physically installing a N etwork I nterface C ard ( NIC ), and without having to physically connect the machine to a TCP/IP network. A thoroughly model of this is to access the web server running on itself by using hypertext transfer protocol : //127.0.0.1 or hypertext transfer protocol : //localhost .