mywindowsdownloads.blogspot.com
Click here for all Free Linux Downloads
Bits of IPv4 addresses
Bit is a binary digit. There are only two possible numbers in binary system: 0 and 1. Being switched off is represented by 0 and being switched on is represented by 1. One byte contains 8 bits. Every alphanumeric key of our keyboard is associated with a unique byte. All the 32 bits of IPv4 address are organized in four groups (Octets) of 8bits each. To find the decimal equivalent of one byte i.e. 8 bits, is to get the sum of underlying place value of all 1s. The place values of all the bits of any byte are as follows:
128 64 32 16 8 4 2 1
Let us assume that we want to get decimal equivalent of binary number 11000000, in this case we will have to sum up the place values of two 1s only and this will be 128 + 64 = 192. In the same way decimal equivalent of 10101000 will be 128 + 32 + 8 = 168, of 00000001 will be 1 and of 01001000 will be 64 + 8 = 72. Maximum value of any single byte is 11111111 = 255.