- #1
Loki23
- 11
- 0
Hi everyone,
I'm still chipping away at networking. Right now in class we are doing "custom subnetting" which I am finding difficult. I find the material that he has given us to learn is not explained very well, so I resorted to internet tutorials. Here is an excerpt from something I found:
So... . I just don't understand how he is calculating the "total hosts". For instance, he said:
In the default case there are no subnets (well, one “subnet” that is the whole network) and 65,534 hosts total.
^ how does he calculate the total hosts? And I'm not even sure what the "default case" is supposed to look like.
I understand how to translate decimal over to binary, and I can identify classes. that's easy enough. But suddenly I'm over my head.
I'm still chipping away at networking. Right now in class we are doing "custom subnetting" which I am finding difficult. I find the material that he has given us to learn is not explained very well, so I resorted to internet tutorials. Here is an excerpt from something I found:
Imagine that we start with a Class B network with the network address 154.71.0.0. Since this is Class B, 16 bits are for the network ID (154.71) and 16 are for the host ID. In the default case there are no subnets (well, one “subnet” that is the whole network) and 65,534 hosts total. To subnet this network, we have a number of choices:
We can decide to use 1 bit for the subnet ID and 15 bits for the host ID. If we do this, then the total number of subnets is 21 or 2: the first subnet is 0 and the second is 1. The number of hosts available for each subnet is 215-2 or 32,766.
We can use 2 bits for the subnet ID and 14 for the host ID. In this case, we double the number of subnets: we now have 22 or 4 subnets: 00, 01, 10 and 11 (subnets 0, 1, 2 and 3). But the number of hosts is now only 214-2 or 16,382.
We can use any other combination of bits that add up to 16, as long as they allow us at least 2 hosts per subnet: 4 and 12, 5 and 11, and so on.
So... . I just don't understand how he is calculating the "total hosts". For instance, he said:
In the default case there are no subnets (well, one “subnet” that is the whole network) and 65,534 hosts total.
^ how does he calculate the total hosts? And I'm not even sure what the "default case" is supposed to look like.
I understand how to translate decimal over to binary, and I can identify classes. that's easy enough. But suddenly I'm over my head.