In our last article on “What is an IP address?”, we had discussed about what is an IP address, structure of an 32-bit IP address or to say an IPv4 address.. We had also mentioned about classes of IP addresses..
In this article we will be discussing on these classes of IP addresses..
But before that let’s recollect that an IP address is simply a unique number assigned to every device on a network.. and the octets of IP address are used to create classes of IP addresses. The Class of the address determines which part belongs to the network address and which part belongs to the node address.
Lets have a look at these IP classes now..
There are five IP classes plus certain special addresses :
Class A Network -- binary address start with 0, therefore the decimal number can be anywhere from 1 to 126. The first 8 bits (the first octet) identify the network and the remaining 24 bits indicate the host within the network. An example of a Class A IP address is 102.168.212.226, where "102" identifies the network and "168.212.226" identifies the host on that network. These addresses are for large networks with many devices.
Class B Network -- binary addresses start with 10, therefore the decimal number can be anywhere from 128 to 191. (The number 127 is reserved for loopback and is used for internal testing on the local machine.) The first 16 bits (the first two octets) identify the network and the remaining 16 bits indicate the host within the network. An example of a Class B IP address is 168.212.226.204 where "168.212" identifies the network and "226.204" identifies the host on that network. These addresses are for medium-sized networks.
Class C Network -- binary addresses start with 110, therefore the decimal number can be anywhere from 192 to 223. The first 24 bits (the first three octets) identify the network and the remaining 8 bits indicate the host within the network. An example of a Class C IP address is 200.168.212.226 where "200.168.212" identifies the network and "226" identifies the host on that network. These addresses are for small networks (fewer than 256 devices).
Class D Network -- binary addresses start with 1110, therefore the decimal number can be anywhere from 224 to 239. Class D networks are used to support multicasting. These addresses are multicast addresses.
Class E Network -- binary addresses start with 1111, therefore the decimal number can be anywhere from 240 to 255. Class E networks are used for experimentation. They have never been documented or utilized in a standard way.
Out of the almost 4.3 billion possible combinations, certain values are restricted from use as typical IP addresses. For example, the IP address 0.0.0.0 is reserved for the default network and the address 255.255.255.255 is used for broadcasts.
Since numbers are usually assigned to internet service providers within region-based blocks, an IP address can often be used to identify the region or country from which a computer is connecting to the Internet. An IP address can sometimes be used to show the user's general location.
The Internet Assigned Numbers Authority (IANA) manages the IP address space allocations globally. IANA works in cooperation with five Regional Internet Registries (RIRs) to allocate IP address blocks to Local Internet Registries (Internet service providers) and other entities.
Before ending this topic, lets also discuss on static and dynamic IPs.
At one time ISPs used to issue one IP address to each user. These are called static IP addresses. Because there are a limited number of IP addresses and with increased usage of the internet, ISPs now issue IP addresses in a dynamic fashion out of a pool of IP addresses. These are referred to as dynamic IP addresses. This also limits the ability of the user to host websites, mail servers, ftp servers, etc. In addition to users connecting to the internet, with virtual hosting, a single machine can act like multiple machines (with multiple domain names and IP addresses).
References:
• http://www.howstuffworks.com/
• http://en.Wikipedia.org/
• http://www.webopedia.com/
• http://www.searchwindevelopment.com/
In this article we will be discussing on these classes of IP addresses..
But before that let’s recollect that an IP address is simply a unique number assigned to every device on a network.. and the octets of IP address are used to create classes of IP addresses. The Class of the address determines which part belongs to the network address and which part belongs to the node address.
Lets have a look at these IP classes now..
There are five IP classes plus certain special addresses :
Class A Network -- binary address start with 0, therefore the decimal number can be anywhere from 1 to 126. The first 8 bits (the first octet) identify the network and the remaining 24 bits indicate the host within the network. An example of a Class A IP address is 102.168.212.226, where "102" identifies the network and "168.212.226" identifies the host on that network. These addresses are for large networks with many devices.
Class B Network -- binary addresses start with 10, therefore the decimal number can be anywhere from 128 to 191. (The number 127 is reserved for loopback and is used for internal testing on the local machine.) The first 16 bits (the first two octets) identify the network and the remaining 16 bits indicate the host within the network. An example of a Class B IP address is 168.212.226.204 where "168.212" identifies the network and "226.204" identifies the host on that network. These addresses are for medium-sized networks.
Class C Network -- binary addresses start with 110, therefore the decimal number can be anywhere from 192 to 223. The first 24 bits (the first three octets) identify the network and the remaining 8 bits indicate the host within the network. An example of a Class C IP address is 200.168.212.226 where "200.168.212" identifies the network and "226" identifies the host on that network. These addresses are for small networks (fewer than 256 devices).
Class D Network -- binary addresses start with 1110, therefore the decimal number can be anywhere from 224 to 239. Class D networks are used to support multicasting. These addresses are multicast addresses.
Class E Network -- binary addresses start with 1111, therefore the decimal number can be anywhere from 240 to 255. Class E networks are used for experimentation. They have never been documented or utilized in a standard way.
Out of the almost 4.3 billion possible combinations, certain values are restricted from use as typical IP addresses. For example, the IP address 0.0.0.0 is reserved for the default network and the address 255.255.255.255 is used for broadcasts.
Since numbers are usually assigned to internet service providers within region-based blocks, an IP address can often be used to identify the region or country from which a computer is connecting to the Internet. An IP address can sometimes be used to show the user's general location.
The Internet Assigned Numbers Authority (IANA) manages the IP address space allocations globally. IANA works in cooperation with five Regional Internet Registries (RIRs) to allocate IP address blocks to Local Internet Registries (Internet service providers) and other entities.
Before ending this topic, lets also discuss on static and dynamic IPs.
At one time ISPs used to issue one IP address to each user. These are called static IP addresses. Because there are a limited number of IP addresses and with increased usage of the internet, ISPs now issue IP addresses in a dynamic fashion out of a pool of IP addresses. These are referred to as dynamic IP addresses. This also limits the ability of the user to host websites, mail servers, ftp servers, etc. In addition to users connecting to the internet, with virtual hosting, a single machine can act like multiple machines (with multiple domain names and IP addresses).
References:
• http://www.howstuffworks.com/
• http://en.Wikipedia.org/
• http://www.webopedia.com/
• http://www.searchwindevelopment.com/