IP Addresses

A simple explanation of what and how.

The IP address is an address assigned to every computer (also includes routers and switches and other devices) on the Internet to uniquely define them. No two computers can use the same IP address. However, one computer (or device) may have several IP addresses. A simple example would be a computer that serves as a host for multiple services in which case each service may have one or more IP addresses.

Your ISP (Internet Service Provider) may have a pool of addresses which is assigned dynamically as each person logs on. This address then becomes your address while connected. Once you disconnect that address goes back into the pool. This is called dynamically assigned IP addresses. You never know what your will be until after connecting and it is quite unlikely to be the same next time you connect. In contrast when given a static IP address you have the same address always. This address is yours whether you are connected to the net or not. Of course, no one can find the IP address or the web page located on your computer unless you are connected.

The IP address consist of 32 bits often shown as 4 octets. For simplicities sake we normally use the dotted decimal approach to describe the addresses in this form 212.240.225.204. This would actually appear this way in the binary form 11010100 11110000 11100001 11001100

These addresses contains some key information. The first bits in the first octet always provides information as to what type of network the address belongs.

If the first bit is a zero (decimal this would mean the first three digits from 0-127) then we have a class A network. This makes the first 8 bits the network address and the next 24 bits host addresses

If the first two bits are 10 then we have a Class B network (decimal 128-191). This makes the first 16 bits network addresses and the next 16 bits host addresses.

If the first three bits are 110 then we have a class C network (decimal 192-223). This makes the first 24 bits network addresses and the next 8 host addresses. In the example above we can see that the first bits are 110 and furthermore the decimal notation in the first octet is 212 thus this represents an address in a class C network.

If the first for bits are 1110 we have a class D. This is used for multicasting and is not supported on NT as an example and is not used as network addresses. The decimal value would be 224-239. IF the first bits are 1111 we have a class E network decimal 240-255. These addresses are experimental and not used. Neither Class D or E network addresses can be used thus any further discussion is limited to Class A,B and C.