go to  www.allaboutip.com   
AllAboutIP
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  Classification Based On ClassId
 
Subject: Classification Based On ClassId
Author: AllAboutIP
In response to: Format, Classification and Distribution Of IP Address
Posted on: 12/14/2005 03:35:26 AM

IP address can be classified among 5 classes, based on ClassId

...................0........8........16.......24.....31
..................+--------+--------+--------+--------+ 
..Class A.........|0.NetId.|...........HostId.........| 
..................+--------+--------+--------+--------+ 
..Class B.........|10......NetId....|.....HostId......| 
..................+--------+--------+--------+--------+ 
..Class C.........|110.........NetId.........|.HostId.| 
..................+--------+--------+--------+--------+ 
..Class D.........|1110.......multicast address.......|
..................+--------+--------+--------+--------+ 
..Class E.........|11110....reserved for future use...| 
..................+--------+--------+--------+--------+ 



In humans friendly format:

....................Lowest Address....Highest Address
------------------+-----------------+-----------------+
..Class A.........|.....0.1.0.0.....|.126.0.0.0.......| 
..................+-----------------+-----------------+ 
..Class B.........|...128.1.0.0.....|.191.255.0.0.....| 
..................+-----------------+-----------------+ 
..Class C.........|...192.0.1.0.....|.223.255.255.0...| 
..................+-----------------+-----------------+ 
..Class D.........|...224.0.0.0.....|.239.255.255.255.| 
..................+-----------------+-----------------+ 
..Class E.........|...240.0.0.0.....|.247.255.255.255.| 
..................+-----------------+-----------------+ 



where, 127.0.0.0 is reserved for loopback and inter-process communication on the local machine; all 0s refers to network itself; and all 1s is reserved for broadcasting.



Spencer
 

> On 12/14/2005 02:59:39 AM AllAboutIP wrote:

Conceptually, a 32-bit IP address takes the format of

ClassId | NetworkId | HostId


ClassId -- for classification of IP address;

NetworkId -- for identifying which network the IP address belongs to

HostId -- for identifying the host

Defining IP address in such a way is to extract each portion quickly.


Spencer




References:

 


 
Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
 
Get your own forum today. It's easy and free.