I could use some help with my way of calculating usable subnets and usable hosts.
the way i normally do it:
169.199.109.137 (class B)
255.255.255.192
network | host
169.199 | 109.137
255.255 | 255.192 = 11111111.11000000 = 10(1) 6(0)
2^10 = 1024 usable subnets
2^6 = 64-2 = 62 usable hosts
that is the way I normally do it but my teacher would like to me use another method since i have use my own method wrong on multiple occasions.
His version:
222.152.18.64 (class C)
255.255.255.248
network bits (n), subnet bits (s) and host bits (h)
nnnnnnnn.nnnnnnnn.nnnnnnnn.sssshhhh
then from that he gets the numbers he needs above the 2^?
2^? = ? usable subnets
2^? = ?-2 = ? usable hosts
I don't understand how his way works, how he gets the correct amount of n, s and h, and what to place above the 2^
I am one week into learning about ip's and subnetting, so when you give me a way to learn his way do explain it so I would understand it.