Hello!
Well, for several days I have been browsing the Internet and trying to figure out how to calculate the number of possible subnets.
I have the following examples of masks:
255.255.255.0/24
255.255.255.224/27
255.255.0.0/16
255.0.0.0/8
I will calculate the number of possible hosts e.g. for the mask / 24 - 2 ^ 8 = 256 - 2 = 254
But I can't figure out how to calculate the number of possible subnets.
I know you borrow bits, but I don't understand the principle that you can borrow so much here and so much here.
Could somebody help me understand this?
Well, for several days I have been browsing the Internet and trying to figure out how to calculate the number of possible subnets.
I have the following examples of masks:
255.255.255.0/24
255.255.255.224/27
255.255.0.0/16
255.0.0.0/8
I will calculate the number of possible hosts e.g. for the mask / 24 - 2 ^ 8 = 256 - 2 = 254
But I can't figure out how to calculate the number of possible subnets.
I know you borrow bits, but I don't understand the principle that you can borrow so much here and so much here.
Could somebody help me understand this?