How To Add a Persistent Route In Windows?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. Open the Command Prompt window.
2. Type “route -p add destination_network mask subnet_mask gateway_ip metric_cost” and hit Enter.
3. Replace “destination_network” with the IP address of the destination network, “mask” with the subnet mask of the destination network, “gateway_ip” with the IP address of the gateway, and “metric_cost” with the cost associated with the route.
4. Optionally, you can add the “if interface_number” parameter to specify the network interface through which the traffic should be routed.
5. Type “exit” and hit Enter to close the Command Prompt window.
6. The route will now be persistent until it is removed.