I'm pretty OK with subnetting, but there's a part in Todd Lammles book regarding Subnetting of Class a/b networks that i don't fully understand. I seem to be missing something.
class B
as long as all the subnet bits on the third are
not all off, then subnet 0 in the fourth octet is valid. Also, as long as all the subnet bits in
the third octet are not all on, 192 is valid in the fourth octet as a subnet.
I don't get that, surely when you borrow bits from both the third and fourth octet, the subnet bits in the third are always on, i.e 255. So subnet zero is always valid. Same goes for subnet 192, which, according to the above statement, isn't valid if you have 255 in the third, which is AWAYS, so it's never valid.
According to the statement above. For 192 in the 4th to be valid, you would need a network mask with something other than 255 in the 3rd octet. Something like this? I've never seen anything like it
255.255.0.192
Same goes for class A
255.255.255.192
Valid subnets? Okay, now we need to add subnet numbers from the second, third, and
fourth octets. In the second and third, they can range from 0 to 255, as long as all subnet
bits in the second, third, and fourth octets are not all on or off at the same time. For the
fourth octet, it will be 256 – 192 = 64. And 0 will be valid as long as at least one other subnet
bit is turned on in the second or third octet. Also, 192 will be valid as long as all the bits
in the second and third octets are not turned on.
So, he says that subnet 0 is valid as long as at least one subnet bit in the second or third octet is on. I've never seen a class A mask where this isn't the case, there's always at least one bit turned on in the second or third, so subnet 0 is always valid in a class A sunbet mask is it not?
And the same again for subnet 192, he says that as long as the subnet bits in the second or third octet aren't all on, then 192 is valid. But when you borrow from the 4th octet, it only stands to reason that all the bits in the second and third are on, or else you wouldn't need to borrow from the 4th octet would you?
Please somebody expalin this to me.