- 1). Find your IP or use the standard IP address of a router: 192.168.0.1. In binary code, 192.168.0.1 is equal to: 11000000.10101000.00000000.00000001
- 2). Convert the binary to decimal by placing a value of 0 on all the 0 bits in the number. 1s get a value of 2 to the power of the bit's location. So if the binary number is 11000000, the first 1 is in the seventh position, while the second 1 is in the sixth position (The last 0 has a position of 0, not 1). The equation would then look like this: 2^7 + 2^6.
- 3). Take 2 to the power of 7 plus 2 to the power of 6 and you'll end up with: 128+64 = 192.
- 4). Convert the other binary by following the same format. 10101000 = 2^7+2^5+2^3 = 128+32+8 = 168. 00000000 = 0, and 00000001 = 2^0 = 1. You now have an IP address of 192.168.0.1 from the binary code of 11000000.10101000.00000000.00000001.
previous post
next post