I have an IP address
12.23.34.22
I need to find the network prefix for this IP Address. For that I need to find the subnet mask and then count the number of contiguous 1s to get the network prefix.
How can we calculate the subnet mask (255.x.x.x)
for this given IP ?