Saturday, 6 October 2018

October 06, 2018 - , No comments

IPv4 Subnetting: Understanding Binary Number


Focus: We will use 8bits binary number or an octet value which is our focus in subnetting.

To Compute:
Given the binary of 11111111

Set the exponent value starting 0 from right to left in every bit position.

Exponent Value         7     6     5   4    3      2     1     0
Binary                      1   1    1   1   1    1    1    1


          Multiply the base value to the exponent of a particular bit position 2n.


n = 0 20 =1
n = 1  21 = 2
n = 2  24  = 4
n = 3  23 = 8
n = 4 24 =16
n = 5 25  = 32
n = 6  26  = 64
n = 7  27 = 128

255
=
128
64
32
16
8
4
2
1
11111111
=
1
1
1
1
1
1
1
1

So by default, we call them constant value of every bit position in an 8 bits value.

Be speedy in adding up the values at random bit positions.
128+64 = 192 , 128+32 = 160 and so on.

0 comments:

Post a Comment

If possible, leave a positive comment. No hate speech or elicit comments. Thank you.