|
Home -Networking Info - Hex and Binary - Wild Card Masks - TTY Info - Photo Pages - Blog - About us - |
|
Hex and Binary Binary (Power of 2) 2 to the 0 =
1 2 to
the 12th = 4096 I only go up to 2 to the 22nd because that is the maximum number of bits that can be borrowed when subnetting. Borrowing 22 bits from a Class A address will give us 4,194,302 networks. (4194304 -2)
The above represents one octet (8 bits). An IP address has 4 octets. The numbers are the binary value of each bit. If there is a 1 in any position, then the binary value of that bit is used. (00000001 would equal decimal 1. 00000011 would equal 3, and so on.) If we had an address of 192.168.255.255, the binary values in each octet would be: 11000000.10101000.11111111.11111111 HEX (Power of 16) (Use the octet example above for all the binary calculations) 0 1 2 3 4 5 6 7 8 9 A(10) B(11) C(12) D(13) E(14) F(15) Convert 17 DEC to HEX convert to binary first break down in groups of 4 convert each group of 4 to HEX combine the results left to right (DO NOT add) Convert 58 DEC to HEX 00111010 = 58 0011 =3 58 DEC = 3A HEX Convert 765 DEC to HEX 1011111101 = 765 001011111101 then break down into groups of 4 0010 | 1111 | 1101 0010 = 2 Convert HEX to DEC First convert to binary starting with the first number (3), take only the significant digits - 11 Convert BAD to Dec. B = 11 = 00001011 Practice on your own using the above examples.
|