This is the problem that was randomly generated with my answers:
Mask = 255 . 255 . 1 1 1 1 1 1 1 1 . 1 1 1 0 0 0 0 0
Convert 137 to bin: 1 0 0 0 1 0 0 1
----------------
Do bit-wise AND: 1 0 0 0 1 0 0 1 (= 137)
Magic = 32
What is the Dotted Decimal Subnet Mask? 255 . 255 . 255 . 224
Find this SubNetwork 152 . 207 . 137 . 0
Find the First useable IP address 152 . 207 . 137 . 1
Find the Broadcast address 152 . 207 . 168 . 255
Find the Last useable IP address 152 . 207 . 168 . 254
What is the Total Number of IPs per Subnet? 32 - 27 = 5 ; 25 = 32
How many useable Hosts Addresses per subnet? 32 - 2 = 30
What is the Next Subnetwork Number? 152 . 207 . 169 . 0
What IP Class is this? Class B
How many possible Subnetworks with this IP Class and mask? 27 - 16 = 11 ; 211 = 2048
As you can see, I got numbers 2, 3, 4, 5 and 8 wrong. The correct answers should have been:
2. 152 . 207 . 137 . 96
3. 152 . 207 . 137 . 97
4. 152 . 207 . 137 . 127
5. 152 . 207 . 137 . 126
8. 152 . 207 . 137 . 128
When I calculated this subnetwork number, I was working in the wrong octet of the given dotted quad!
Always, always work in the octet that contains the subnet / host crossover! So, instead of using the third octet to find the subnetwork address in this case, I should have been using the fourth octet to find the subnetwork address.