0

I am still learning and I've found that there is a formula to calculate: 2*n - 2(where n is number of zeros i.e. digits of hosts). I am trying to calculate for mask: 255.255.255.127 I've converted it to binary I've got 11111111.11111111.11111111.11111110 Here we've got only one zero. So by formula it gives 2*1 - 2 = 0 So it means cannot have any hosts except network address and broadcast address?. Is it correct?

If it's correct why it's like that and is it used anywhere?

0 Answers0