First rough version of ip lookup.