Featured post

IBPS SO IT TRICKS TO GET FULL MARKS

JOIN GROUP-  https://www.facebook.com/groups/bankibpssoit/ If you wish to get full marks in IBPS SO IT . We will provide you the gui...

IP Address Classes



POST:


The number of addresses usable for addressing specific hosts in each network is always 2N - 2

ClassLeading
bits
Size ofnetwork
number
bit field
Size ofrest
bit field
Number
of networks
Addresses
per network
Total addresses
in class
Start addressEnd address
Class A    0    8    24    128 (27)    16,777,216 (224)    2,147,483,648 (231)0.0.0.0127.255.255.255
Class B    10    16    16    16,384 (214)    65,536 (216)    1,073,741,824 (230)128.0.0.0191.255.255.255
Class C    110    24    8    2,097,152 (221)    256 (28)    536,870,912 (229)192.0.0.0223.255.255.255
Class D (multicast)    1110    not defined    not defined    not defined    not defined    268,435,456 (228)224.0.0.0239.255.255.255
Class E (reserved)    1111    not defined    not defined    not defined    not defined    268,435,456 (228)240.0.0.0255.255.255.255
The number of addresses usable for addressing specific hosts in each network is always 2N - 2, where N is the number of rest field bits, and the subtraction of 2 adjusts for the use of the all-bits-zero host portion for network address and the all-bits-one host portion as a broadcast address. Thus, for a Class C address with 8 bits available in the host field, the number of hosts is 254.
In the following table:
  • n indicates a bit used for the network ID.
  • H indicates a bit used for the host ID.
  • X indicates a bit without a specified purpose.
Class A
  0.  0.  0.  0 = 00000000.00000000.00000000.00000000
127.255.255.255 = 01111111.11111111.11111111.11111111
                  0nnnnnnn.HHHHHHHH.HHHHHHHH.HHHHHHHH

Class B
128.  0.  0.  0 = 10000000.00000000.00000000.00000000
191.255.255.255 = 10111111.11111111.11111111.11111111
                  10nnnnnn.nnnnnnnn.HHHHHHHH.HHHHHHHH

Class C
192.  0.  0.  0 = 11000000.00000000.00000000.00000000
223.255.255.255 = 11011111.11111111.11111111.11111111
                  110nnnnn.nnnnnnnn.nnnnnnnn.HHHHHHHH

Class D
224.  0.  0.  0 = 11100000.00000000.00000000.00000000
239.255.255.255 = 11101111.11111111.11111111.11111111
                  1110XXXX.XXXXXXXX.XXXXXXXX.XXXXXXXX

Class E
240.  0.  0.  0 = 11110000.00000000.00000000.00000000
255.255.255.255 = 11111111.11111111.11111111.11111111
                  1111XXXX.XXXXXXXX.XXXXXXXX.XXXXXXXX

No comments:

Post a Comment

You will get Reply with in 24 hours