I have a table which stores a ID, Name, Code, IPLow, IPHigh such as:
ID
Name
Code
IPLow
IPHigh
1, Lucas, 804645, 192.130.1
Depends on which record you are looking for the high or the low.
select * from table where IPlow like '192.168.2.50' or IPHigh like '192.168.2.50'