Tuesday, September 15, 2009

HOW IP ADDRESSES ARE CLASSIFIED

What is ip address and How can we classify the ip address how we can solve some problems such as blocked sites e.t.c




Ip address is a 32 bit address which was divided in to 4 equal parts (i.e.) 8bits each

Let us take an example here yahoo ip address is 87.248.113.14

Here 87 is the first 8 bits and 248 is the 2nd 8bits and 113 is the 3rd 8 bits14 is the 4th 8 bits

This ip address is divided in to 5 classes

They are:-
1) A---->0.0.0.0 to 126.255.255.255
2) B---->128.0.0.0 to 191.255.255.255
3) C---->192.0.0.0 to 223.255.255.255
4) D---->224.0.0.0 to 239.255.255.255
5) E---->240.0.0.0 to 255.255.255.255

In 'A' class the first 8 bits are network id and next 24 bits are host id
In 'B' class the first 16 bits are network id and next 16 bits are host id
In 'C' class the first 24 bits are network id and next 8 bits are host id
In 'D' class the 32 bits are multi cast group id
Class 'e' is not in use


The yahoo ip address is 87.248.113.14 we can convert this ip in to many forms
Such as hexadecimal notation,DWord value, binary form, octal format

Let us see the various formats
Decimal ---->87.248.113.14
Hexadecimal ---->57f8710e
Dword ---->147589962
Binary ---->1010111111110000111000100001110
Octal ---->0127.0370.0161.016
Note:-type these formats in browser
Note:-not all browser support all format

coding

The number system is actually a system of codes to represent information that is not intrinsic to the code itself. So is the alphabet.

Since encryption also involves coding, some people confuse between codes and encryption. While there are elements common to both, the purpose of coding is to represent information efficiently, enabling arithmetical and logical manipulation, while the purpose of encryption is to hide information from unauthorized people. In that sense, code is information that is potentially available to all who who know the rules of coding and code-manipulation, while encryption is the process of restricting the meaning of the code to a select few. A good example of code would be DNA where the information is coded but not hidden. An example of encryption would be the way user-passwords are stored by most website databases.