Ip Address And Its Classes

We are going to describe how IP adresss ics wroking and what arwe the classes of IP address.

What Is IP Address and its type.

Internet requires an address that Identity the connection of a host to its network. which we can as IP Address.

It identities a network on internet

Address – The unique id assigned to one host to identitys.

Subnet – A portion of a network that Shares a particular address.

Subnetting – Dividing a large block of addresses into several sub-blocks and the sub-blocks into different smaller Network.

What is IP

Internet protocols are made up of 32 bits. It is divided into 4 octet where each octet is 8 bits 4 x 8 bits =32 bits

Each object is converted into decimal no separated by a dot. (.).

The value of each octet ranges from 0 to 265 that in the case of binary 00000000 to 11111111.

How binary octet converted to decimal ?

It is similar to the conversion of binary to decimal like 111 – binary 2+2+2 & 7 & decimal similary the binary octet can be converted to decimal

Eg.

1 1 1 1 1 1 1

= 2^7 + 2^6 +2^5 +2^4 + 2^3 + 2^2 + 2^1 +2^0

= 128 +64+32 +16 +8+4 +2+1

= 255

Ex2 Binary to decimal

0 1 0 1 0

= 0 + 2^3 + 0 +2^1 + 0

= 0 +8+0+2+0

= 10

CLASSES OF IP

There are 5 different classes we are used A B, C, D & E

Ip Address And Its Classes

Class A

IP addness is assigned to those networks that contains a large no of host. Hene NID D = 8 bits

HOST ID = 24 bits

1st bit of 1st octet (network portion) –

NID = 27 2128 Network address 24 7

HID = 2^24 – 2

HOST upto 65,536 (upto 16 7T1214).

CLASS B

Here NID Is 16 bits

HOST TD = 16 bits

2 bits of 1st octet is said (10) –

NID is = 1197 214 14 +

Host ID is = 2-2

Network address= 128.0.0.0 -191.255.255.255

CLASS C

Here NID 24 bits

HOST ID 8 bits

1st 3 bits are of ist octect set to HOST ID is = 2 -2 21

So NID – 2^21

Net address is = 192.0.0.0-223.255.250 255.

CLASS D

Here an IP address is reserved for multicast address.

4 bits of 1st octet is set to 1110 and the remaining 28 bits is Host id

It has not have any subnet mask netwonk

Address is 224.00 0 -239 2551 255

CLASS E

This type Of IP address is used for the future reference for the research and development purpose

4 bits of 1st octet is set to and the remaining 28 bits is HOST ID

It has not any subnet mask

Network address is 240.0.0

Liveipl2021

leave a comment

Create Account



Log In Your Account