This came up in a test question and I would like to know the real answer as the possible choices confuse me.
How many hosts can a network handle at the most, based on the following address: 188.8.131.52/22
A: 1024, B: 1023, C: 1022, D: other
So if I'm not mistaken, /22 is 1024 (2^10) hosts. However, I'm not sure if network and broadcast address should be taken into consideration. I have the big book of networking by Tanenbaum and the example shown there doesn't exclude either one. I have an app on my phone that does this calculation and it points out the usable number of IP addresses is 1022 (google also found a claculator that said the usable number was 1023).
Could someone clear this up for me?