I have the 4 sources of IP addresses , I want to store them in SQL Server and allow the ranges, that can be categorised by the originating country code, to be maked in an E
An IPv6 address can be an eight-byte unsigned integer (an ulong in C#)
IPv6 addresses are 128-bit (16 byte) not 8 as suggested. I am grappling with this very problem right now for IP ranges.
I am looking to try padded or hex strings and just do < and > comparisons