Split netmask from ip address