Lowest Random Weight hashing for IPv4 addresses