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]

Example

This would add a route to network 10.1.1.0/24 via your gateway address of 192.168.1.100.

route -p ADD 10.1.1.0 MASK 255.255.255.0 192.168.1.100

Rick Donato

Want to become a Windows expert?

Here is our hand-picked selection of the best courses you can find online:
Windows Server 2019 Administration course
Windows 10 Troubleshooting course
and our recommended certification practice exams:
AlphaPrep Practice Tests - Free Trial