TL;DR
Given 8.8.8.8
, what do I call its 8.8.8.0
or 8.8.8.1
?
Why do I need this information?
I'm working on a program that resolves the location of IP addresses. To reduce the number of API requests it makes, I replace the last octet of each IP address with 0
and cache the results, presuming that whole subnet belongs to the same location anyway.
What do I need to know?
I need to name the database column for that value, and I'd like to do that properly. What word should I choose for a column name?
Also, is there something I need to know about 8.8.8.0
vs 8.8.8.1
? Should I prefer one over another?
I found this question but there doesn't seem to be an answer to my question on that page.
Thank you!