View and create routes with netsh

In some previous versions of MS Windows, IP protocol static routes could be managed using commands to the netsh program. Those commands have changed.

Is there still a way to manage routes with netsh?

If not, what would be the equivalent?

1 Answer

They are still under netsh interface, only the interface ip context has been renamed to interface ipv4.

netsh> interface ipv4
netsh interface ipv4> add route

See documentation for ipv4and ipv6 on Microsoft.

In addition to netsh, some Windows NT versions have a route command:

C:\> route print
C:\> route add

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like