Options: Add invalid check for IP and gateway address