Hi all,
I am looking for a clean way to store my customers IP address pools in a SQL database. The only way I have found so far is :
Table IP
- ref_ip bigint
- address string (containing 10.0.0.1)
Table Customer
- Name string
- Blah string
- ip_address string (containig a serialized array of all the IP addresses used by this customer).
It does not work well in particular if I want to search customers by IP address.
Anyone has an idea ? It should work with a random number of IP address per customer, being easilly searchable, and if it could follow the database normalisation standards that would be great (coffee too ? No thanks).
Thanks all.
Best regards,
Maniak