Yet another binary-search
ip2long and long2ip, only support IPv4
Lookup the physical address of given IP address