Code: Select all
Network Destination Netmask Gateway Interface Metric
192.168.1.0 255.255.255.0 192.168.200.28 192.168.200.28 1
route delete 192.168.1.0 192.168.200.*
It pauses for a few seconds and gives me "route: bad gateway address 192.168.200.*"
According to the documentation from route /?, this should work:
I have tried many variations of where to put the *, using ? instead, etc. but I always get the same error. What am I doing wrong? Any ideas?If the command is print or delete, the Gateway parameter can be omitted and wildcards can be used for the destination and gateway. The Destination value can be a wildcard value specified by an asterisk (*). If the destination specified contains an asterisk (*) or a question mark (?), it is treated as a wildcard and only matching destination routes are printed or deleted. The asterisk matches any string, and the question mark matches any single character. For example, 10.*.1, 192.168.*, 127.*, and *224* are all valid uses of the asterisk wildcard.