Sunday, February 5, 2012

IP Address Categories and Address Masks

By Jaidyn Hanton


IP Addressing

The IP address is usually a one of a kind logical identifier for a node or host connection with the IP network. IP address is a Thirty-two bit binary number, and represented by Four decimal values of Eight bits each. The decimal values consist of 0 to 255. Known as "dotted decimal" notation.

Illustration: 192.189.210.078 It is usually beneficial to view the values in their binary form.

Dotted decimal illustration: 192 .189 .210 .078

Binary illustration: 11000000.10111101.11010010.1001110

Each IP address consists of network identifier and node identifier. The IP network is split depending on Class of network. The type of network depends on the main bits of the IP address as shown below.

Address Types There are 5 various address classes. You can determine which class any IP address is in simply by examining the very first 4 bits of the IP address.

Class A addresses begin with 0xxx, or 1 to 126 decimal.

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

Class C addresses begin with 110x, or 192 to 223 decimal.

Category D addresses start with 1110, or 224 to 239 decimal.

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

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

Right now we're able to find out how the Class establishes, automatically, which portion of the IP address belongs to the network (N) and which will part goes to the Host/node (H).

Type A: NNNNNNNN.HHHHHHHH.HHHHHHHH.HHHHHHHH

Class B: NNNNNNNN.NNNNNNNN.HHHHHHHH.HHHHHHHH

Class C: NNNNNNNN.NNNNNNNN.NNNNNNNN.HHHHHHHH

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

In order to identify the network address for any given IP address, the node section is placed to all "0"s. In our example, 192.189.210.0 specifies the network address for 192.189.210.078. Once the node section is determined for all "1"s, it describes a broadcast which is brought to all hosts on the network. 192.189.210.255 specifies the broadcast address.

Private Subnets

There are actually three IP network addresses available to private networks. The addresses usually are 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. They are often utilized by anyone establishing internal IP networks, like an intranet. Internet routers never forward the private addresses over the public Internet.




About the Author:



No comments:

Post a Comment