3/28/12

Class distribution of IP Address and Subnetting

* Understanding

IP address is used as the address in the relationship between hosts on the internet so it is a universal communication system as a method of addressing that has been accepted worldwide. By determining the IP address means that we have provided a universal identity for each interadce computer. If a computer has more than one interface (eg using two ethernet) then we must give two IP addresses for each computer for each interface.

* Writing Format IP Address

IP addresses consist of 32-bit binary numbers separated by a dot every eight bitnya. Every 8 bits is referred to as octets. IP address form can be written as follows:

xxxxxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx

So the IP address has a range of 00000000.00000000.00000000.00000000 to 11111111.11111111.11111111.11111111. IP address with the notation as a binary number is hard to use, so often written in the fourth decimal, each separated by 4 pieces of a point known as "dotted decimal notation". Each decimal number represents the value of one octet IP address. Example of an IP address in relation binary and decimal format:
* Division of IP Address Class

The number of available IP addresses is theoretically 255x255x255x255

or about 4 billion more to be distributed to the entire Internet network users worldwide. The division of these classes are intended to facilitate the allocation of IP addresses, both for host / network or to certain specific purposes.

Addresses can be separated into two parts, namely the network (net

ID) and the host (host ID). Net ID instrumental in the identification of a network from another network, while the host ID serves to identify the host within a network. Thus, all hosts connected to the same network have the same net ID. Much of the early bits of the IP Address is the network bit / network number, while the rest is for the host. The dividing line between the network and the host is not fixed, depending on the class network. IP address is divided into five classes, namely class A, class B, class C, class D and class E. Differences of each class is the size and number. For example class A IP network is used by few but the number of hosts that can be accommodated by each of the network is very large. Class D and E are not used in general, a class D is used for network multicast and class E for experimental keprluan. Internet Protocol software to determine the distribution of these types of classes to test some of the first bits of the IP Address. Grading is done in the following ways:

* The first bit of class A IP address is 0, with a length of 8 bit net ID and host ID 24 bits long. So the first byte of the IP address class A has a range of 0-127. So there are 127 in class A network with each network can accommodate about 16 million hosts (255x255x255). IP address assigned to the class A network with a very large number of hosts, the IP of this class can be depicted in the figure below:
* Two bits of a class B IP address is always set to 10 so that the first byte is always worth between 128-191. Network ID is 16 bits and 16 bits of the first remainder is the host ID, so if there is a computer having IP address 192.168.26.161, network ID and host ID = 192 168 = 26 161. On. Class B IP address has a range of IP 128.0.xxx.xxx to 191.155.xxx.xxx, which amounted to 65 255 network by the number of hosts per network host 255 x 255 or about 65 thousand hosts.
* Class C IP address originally used for small networks such as LAN. The first three bits of a class C IP address is always set to 111. Network consists of 24 bit ID and host ID so that the remaining 8 bits can be formed about 2 million networks with each network has 256 hosts.
* A class D IP address used for multicasting. The first 4 bits of the class D IP address is always set to 1110 so the first byte range between 224-247, while the next bit is set as required using the multicasting group IP address. In multicasting is not known the term network ID and host ID.

* E-class IP addresses are not intended for public use. The first 4 bits of the IP address class of 1111 is set so that the first byte ranges from 248-255. In addition the term also known as Network Prefix, which is used to designate the IP address is the network prefix jaringan.Penulisan with a slash "/" followed by numbers that indicate the network prefix length in bits. Eg to appoint a class B network 192.168.xxx.xxx used 192.168/16 writing. Number 16 is a bit long for the network prefix class B.

No comments:

Post a Comment