Deleting Routes From the Routing Table in Windows With ROUTE DELETE Command
The command to delete a route from the Windows routing table is route delete
.
route delete <SUBNET_ID>
To delete a route in Windows, use the route delete
command followed by the subnet ID (IP address of the destination network/host).
For example, to delete routes to the 192.168.1.0
network, issue the route delete
command as follows:
route delete 192.168.1.0
To be more specific, for example, to delete the route to the destination network 10.10.0.0
with the subnet mask of 255.255.255.0
, enter the route delete
command as follows:
route delete 10.0.0.0 mask 255.255.255.0
You can issue the route print
command to check the Windows routing table.