Since we're on the topic of subnetting i have a very BASIC question.
I understand how to subnet, find hosts, subnets, ranges, ect. Theres one SMALL easy math concept that I simply cant get (BTW -- math was my worst subject in HS!
When finding the # of networks or hosts, usually you'll take the 128 64 32, ect. and then find the bit necessary to let you gain how many networks/hosts you'd like.
Example
170.50.0.0/16 client wants 1000 hosts.
The answer was listed as 10 bits (1024) but why cant it be 9 or 8 bits?
1000
1024
------
-24
Thats a negative number so wouldn't the correct answer be 11 bits?
Another example is
199.9.10.0 client wants 12 hosts
This is simple...4 bits since
12
8
----
4 (not a negative number)
So i can see the math there works out but not for the other answer above. And no I didnt conclude 4 bits for the above because it 12-8 happens to be 4. I am saying 1000-1024 would result in a negative number so wouldnt it be 11 bits? Did the Dec > Bin calculator and it did give me 10 bits but I dont see the math logic if 1000-1024 gives you a negative number.
EDIT: I think I solved my problem -- i was going about it the wrong way. Its not a matter of subtraction but a matter of "1024 is higher than 1000 and 512 isnt so the answer is 10 bits". Anyone please let me know if this is the "right" way of going about this -- thanks!