How do calculate an IP address?
Answer
In order to calculate an IP address correctly. It would be preferred to us an IP address calculator. However, there is another method to use and its by using binary numbers. As we know that an IP address is consists of 32 bits which is the shortest compared to IPv6 addresses. To achieve calculating an IP address by using binary numbers we take 128 and cut it in half till we get to 1. For example if I take 128 and cut it in half I get 64 and half again to get 32 and continue this process till we get to 1. Now lets try out some examples.
Hint(8 bits are in 1 bit)
128,64,32,16,8,4,2,1
01100000= 96
Explanation: Whenever there is a 1 in a set of numbers like this it will equal the number that is placed in that area. Since there is a 1 in the place of 64 then it equals 64 and the same goes for 32 and add them up to get 96.
Now you maybe asking what does it equal when the set of binary numbers are all 1. If they're all 1 then our answer 255 when adding up all the binary numbers.