A batch script that validates IP addresses and recognizes the class and default subnet mask in forms (set /p).