Rabu, 3 September 2014

Binary Digits Convertion

BINARY DIGITS CONVERTION
Determine the value of the octet by adding the values of positions wherever there is a binary 1 presents.
If the is a 0 in a position, do not add the value.
If all 8 bits are 0 [ 00000000 ] the value of the octet is 0.
If all 8 bits are is , 111111111 the value of the octet is 255 ( 128+64+32+16+8+4+2+1 ).
If the 8 bits are mixed, such as the example 00100111, the value of the octet is 39 [ 32+4+1].
So the value of each of the four octets can range from 0 to a maximum of 255.


Address Class

1st Octet range
(decimal)

1st Octet bits (green bits don’t change)

Network (N) Host (H) Parts of an address

Default Subnet mask (Decimal and Binary)
Numbers of possible networks and host per network.


A

1-127
00000000-01111111

N.H.H.H

255.0.0.0
11111111.00000000.
00000000.00000000
126 nets (2^7-2) 16.777.214 hosts per net (2^24-2)


B

128-191
10000000- 10111111

N.N.H.H

255.255.0.0
11111111.11111111.
00000000.00000000
16 382 nets (2^114-2) 65.534 hosts per net (2^16-2)

C

192-223
10000000-11011111

N.N.N.H

255.255.255.0
11111111.11111111.
11111111.00000000
2.097.150 nets (2^21-1) 254 hosts per net (2^8-2)

D

224-239
11100000-11101111
Not for commercial use as a host



E

240-255
11110000-11111111
Not for commercial use as a host




Tiada ulasan:

Catat Ulasan