parsing the ip address