Atreus21
Lifer
I already have the Network+, and this is still stumping me.
I understand what they're for. All the ones in the binary mask are bits attributed to network IDs, and all the 0s are for host IDs.
What I'm having trouble figuring out is how the subnet mask determines the number of network IDs available. I know how it determines the number of hosts available (2^(number of zeroes in mask)-2). But this formula doesn't appear to apply to network ids.
If you have the a /15 (IPv4) mask, which in binary is:
11111111111111100000000000000000
...then you have 15 bits allocated to the network ID, and 17 to host IDs. Using the formula above, that allocates 2^(17)-2 host addresses, which is 131072.
Why do quantity of network IDs not follow the same formula? A subnet calculator says that this subnet mask, with 15 bits allocated to the network ID, would yield a total of 128 network IDs, whereas if we applied the previous formula to is, there would be 32766 of them.
I don't understand.
I understand what they're for. All the ones in the binary mask are bits attributed to network IDs, and all the 0s are for host IDs.
What I'm having trouble figuring out is how the subnet mask determines the number of network IDs available. I know how it determines the number of hosts available (2^(number of zeroes in mask)-2). But this formula doesn't appear to apply to network ids.
If you have the a /15 (IPv4) mask, which in binary is:
11111111111111100000000000000000
...then you have 15 bits allocated to the network ID, and 17 to host IDs. Using the formula above, that allocates 2^(17)-2 host addresses, which is 131072.
Why do quantity of network IDs not follow the same formula? A subnet calculator says that this subnet mask, with 15 bits allocated to the network ID, would yield a total of 128 network IDs, whereas if we applied the previous formula to is, there would be 32766 of them.
I don't understand.