I'm sorry if this has been asked, I've watched basicly every (well, almost) subnetting video on youtube and I still don't get the basics of IP addressing and masks. When I google "How do you calculate mask from IP" I can't find an actual answer to my question.
So if I have the made-up example of the IP:
145.10.0.7
How do I calculate
what mask it has? According
to this calculator the mask is: 255.255.255.0 = 24
What? Where did this number even come from? The default mask of a class B address is 255.255.0.0, and the
number of bits that are on is 7 in total in the IP address. Shouldn't the mask be /7 or 255.255.7.0 = 23?
All I find is articles explaining subnetting. But how can I understand subnetting if I don't even know how to calculate the mask from a specific IP address. Thanks