I have a bunch of data stored in a MySQL database with a column called ‘ip’, and each record in the IP table is an IPv4 address that has been INET_ATON’d.
Example:

I’d now like to read out data with a where clause that matches any record such that the IP resolves to something in this range:
10.0.0.0 – 10.0.255.255
Any ideas on how to tackle this?
1 Answer