Ip comparison