Parse the arguments for IP and Subnet