Windows - How to add a route

Go to the Command Prompt via `Start / Run / CMD`. And use the following syntax,

Add a route

route -p add [Destination] MASK [Mask] [Gateway]

Remove a route

route -p delete [Destination] MASK [Mask] [Gateway]


This would add a route to network via your gateway address of

route -p ADD MASK

About the Author


R Donato

Rick Donato is the Founder and Chief Editor of He currently works as an SDN/NFV Solutions Architect and has a keen interest in automation and the cloud.

You can find Rick on Twitter @f3lix001