IP Addresses

Classes

A Loop B C D E
1 - 126 127 128 - 191 192 - 223 224 - 239 240 - 255
126 1 31 31 15 15
0 1 10 110 1110 1111
67.55.221.20 127.0.0.1   192.168.1.1    

Base 2

Base 10 Base 2

Class

1 1 A
3 11
7 111
15 1111
31 11111
63 111111
126 1000000
127 1111111 Loop back
128 10000000 B
191 10000001
192 11000000 C
223 11011111
224 11100000 D
239 11101111
240 11110000 E
255 11111111

Webopedia

http://www.webopedia.com/DidYouKnow/Internet/2002/IPaddressing.asp

Every computer that communicates over the Internet is assigned an IP address that uniquely identifies the device and distinguishes it from other computers on the Internet. An IP address consists of 32 bits, often shown as 4 octets of numbers from 0-255 represented in decimal form instead of binary form. For example, the IP address: 168.212.226.204 in binary form is 10101000.11010100.11100010.11001100.

But it is easier for us to remember decimals than it is to remember binary numbers, so we use decimals to represent the IP addresses when describing them. However, the binary number is important because that will determine which class of network the IP address belongs to. An IP address consists of two parts, one identifying the network and one identifying the node, or host. The Class of the address determines which part belongs to the network address and which part belongs to the node address. All nodes on a given network share the same network prefix but must have a unique host number.

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.

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.

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.

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.

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.

For further information on IP addressing and subnetting, see:
Introduction to the TCP/IP LAN: A Hands-on How-to from Brass Cannon Consulting and the Brass Cannon Project
IP Addressing Architecture
IP Addressing Fundamentals


Example for a Corporation

From To For
10.0.1.0   Base IP
10.0.1.1   Media converter
10.0.1.2   Wireless for Bitcoin miners
10.0.1.3   Wireless for DNZ
10.0.1.4   VOIP
10.0.1.5   Firewall
10.0.1.6 10.0.1.19 In house computers and laptops
10.0.1.20 10.0.1.219 200 Web sites
10.0.1.200 10.0.1.229 30 Email servers
10.0.1.230 10.0.1.234 5 security devices
10.0.1.235 10.0.1.254 20 web sites