Is there a fastest/quickest way to find the subnet of a specific host IP without making a list of subnets? Also, for question like the fist valid host and broadcast.
Here is an example question from subnettingquestion.com:
[B]Question:[/B] Which subnet does host 172.23.82.201/20 belong to?
[B]Answer:[/B] 172.23.80.0
[B]Question:[/B] [I]Which subnet does host 172.18.187.141/28 belong to?
[/I][B]Answer: [/B]172.18.187.128
[B]Question: [/B][I]What is the first valid host on the subnetwork that the node 10.75.126.160 255.255.240.0 belongs to?[/I]
[B]Answer: [/B]10.75.112.1
[B]Question: [/B][I]What is the broadcast address of the network 192.168.93.208 255.255.255.240?[/I]
[B]Answer: [/B]192.168.93.223
I could not find some question that something complicated, but you know what I mean.
I think the
Boolean AND seem to help to find the subnet faster than making a list, but it takes a little bit of time to convert the decimal number into binary.
Thank you in advance.