Saturday, 4 February 2012

IP Address Classes and Address Masks

By Vance Z. Isgro


IP Addressing

The IP address is usually a exceptional logical identifier for a node or host connection with the IP network. IP address is a 32 bit binary number, and represented simply by 4 decimal values of 8 bits each. The decimal values range between 0 to 255. Known as "dotted decimal" notation.

Example: 192.189.210.078 It is usually beneficial to see the values within their binary form.

Dotted decimal description: 192 .189 .210 .078

Binary illustration: 11000000.10111101.11010010.1001110

Each IP address is made of network identifier and node identifier. The IP network is split according to Class of network. The class of network depends upon the leading bits of the IP address as shown down below.

Address Types You can find 5 different address types. You possibly can select which class any IP address is in by evaluating the very first 4 bits of the IP address.

Type A addresses start with 0xxx, or 1 to 126 decimal.

Type B addresses start with 10xx, or 128 to 191 decimal.

Type C addresses start with 110x, or 192 to 223 decimal.

Class D addresses begin with 1110, or 224 to 239 decimal.

Type E addresses start with 1111, or 240 to 254 decimal.

Addresses beginning from 01111111, or 127 decimal, are available to loopback as well as for internal testing on the local machine. Type D addresses are available to multicasting. Type E addresses are reserved for future use. They must not be used in host addresses.

Now we're able to discover how the Class establishes, by default, which area of the IP address is just about the network (N) and which part belongs to the Host/node (H).

Type A: NNNNNNNN.HHHHHHHH.HHHHHHHH.HHHHHHHH

Type B: NNNNNNNN.NNNNNNNN.HHHHHHHH.HHHHHHHH

Type C: NNNNNNNN.NNNNNNNN.NNNNNNNN.HHHHHHHH

In the illustration, 192.189.210.078 is actually a Class C address so by default the Network area of the address (also known as the Network Address) is determined by the very first three octets (192.189.210.XXX) and the node part is determined with the last one octets (XXX.XXX.XXX.078).

For you to establish the network address for any given IP address, the node section is set to all "0"s. In our example, 192.189.210.0 describes the network address for 192.189.210.078. When the node section is set for all "1"s, it identifies a sent out that is brought to most hosts on the network. 192.189.210.255 identifies the broadcast address.

Private Subnets

There are actually 3 IP network addresses available to private networks. The addresses are usually 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. They can be utilized by any individual establishing internal IP networks, such as an intranet. Internet routers never ever forward the private addresses over the public Internet.




About the Author:



No comments:

Post a Comment