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

No comments: