IamGimli
join:2004-02-28 Canada
·Primus Talkbroadband
·B2B2C High-Speed I..
3 edits | Re: How do I determine subnet manually? In binary, each position is an exponent of 2 (instead of an exponent of 10 in the decimal system). The first position is therefore worth 1 (2^0), the second position is worth 2 (2^1), the third 4 (2^2), etc. From that it's a bit of mental work to determine the whole number. For 141, for example, what whole exponents of 2 are represented? You got 128 (2^8) or 10000000 in binary, plus 8 (2^4) or 1000, plus 4 (2^3) or 100, plus 1 (2^0) or 1.
bin 10000000 + 1000 + 100 + 1 = 10001101 dec 128 + 8 + 4 + 1 = 141 hex 80 + 8 + 4 + 1 = 8D (disregard that, I'm just trying to confuse you with hexadecimal i.e. base 16 now )
BTW even the Windows calculator can easily translate from decimal to binary values. Just switch it to scientific mode and you'll see the Hex, Dec, Oct and Bin radio button on the left side. Enter a number while the radio button is on Dec, click on the Bin button and see it represented in binary. Just remember to add the leading zero(s) if your value is less than 128 and you are representing an IP address. Each of the four bytes in the IP address needs to be represented by 8 binary positions or bits (hence why you represent 67 with 01000011 instead of just 1000011). |