Classes of IP Addressing

IP addressing:

IP internet protocol address is a unique identifier for a node or a whole connection on end IP Network. In IP address is 32 bit binary usually represented as 4 decimal values each representing 8 bit in the range of 0 to 255.The two devices can’t have same IP address.

ip address

Notations:

1) Binary notation

Ipv4 is displayed as 32 bit of 4 byte is called binary notation.

 

2) Dot it decimal notation:

Dot it decimal notation is used to make compact to and easy to read.

 

3) Hexadecimal notation:

Each hexadecimal is equivalent to 4 bit this means that 32 bit address has at hexadecimal.

 

classes of ip addressing

 

Address classes:

You can determine which class and IP address is in my examine the first 4 bit of the IP address.

Class A addresses begin with 0XXX, or 1 to 126 decimal.
Class B address begin with 10XX, or 128 to 191 decimal.
Class C address begins with 110x, or 192 to 223 decimal

 Class D address begins with 1110, or 224 to 239 decimal.
Class E addresses begin with 1111, or 240 to 254 decimal.

 

Note:

Address is begin with 01111111 or 127 decimal are reserve for loopback and For internal testing on a local machine.
Class D reserve for multi casting. Class E address are reserve for future use.

 

 

 

Classes of IP Addressing

Class full IP Addressing:

When IP was first standard dies in September 1981 the first IP address can be divided into two parts the first part of an Internet address identifier the net worth on which the host sites while the second part identify the particular horse on the given network this creates to level addressing hierarchy that is illustrate in the figure given below.

Primary Classes of Ip Address

In recent year the network number field has been referred to as the network prefix because the leading portion of each IP address identify the network number all Host on a given network shares the same network prefix but must have a unique Host  number.

 

Primary class Address classes:

To provide the flexibility required to support network of various size the internet design decides that the IP address should be divided into three address classes classes class B and Class C. This is often refer to us class full addressing.

 Each class fix the boundary between the network prefix and the host number at a different point within the 32 bit address.

Classes of IP Addressing

Class A network (/8 prefix):

Each class a network address has /8 bit network prefix with a high order bit set to 0, and 7 bit network number followed by a 24 bit host number.

 

A maximum of 126 (28 ) the calculation subtract 2 because in the /8 network 0.0.0.0 is Reserve for the use of the default Route, and /8 network 127.0.0.0 is Reserve for the loopback function.

 

/ 8 address space is 50% of the total ipv4 Uni caste address space.

Classes of IP Addressing

Note:
Network ID = 8 bit =
Host ID 24 beat
Range 0-127 use.

Class B network / 16 prefix:

Each class B network address has a /16 bit network prefix with the two highest order bit set to 1-0 and 14 bit network number followed by a 16 bit host number.
It represent 25% of the total ipv4 unique addresses.

 

Note:

Network ID 14 bit = total of 214  =16, 384 .

Host ID = 216 = 65,536

Classes of IP Addressing

Class C (/24 Prefix)

Each class C network address has a 24 bit network prefix with 3 highest order bit set to 110 and 21 bit network number followed by a 8 bit host number.

Class c network now referred to a /24 since they have a 24 bit network prefix. It represent 12.5% of the total IPv4 unique us address space.

Note:

 Network ID =21 bit = 221 = 2,09,7152.

Host ID= 8 bit = 28 = 254.

Classes of IP Addressing

Other classes in addition to 3 most popular classes there are two additional classes:

 Class D

 Class D  address has their leading 4 bit set to 1110 and are used to support IP multicasting.

 

Classes of IP Addressing

 Class E :

 Class E  address has their leading for beat set to 1111 and a reserve for experimental.

Classes of IP Addressing