How to add a static route to force specific traffic to go through a specific NIC

route -p add mask

This will permanently (-p) add a static route so that any request going to an IP in the ( network goes through the network gateway of the other network card

In case you need only one specifc IP, use the exact IP instead of and change the mask to or remove it completely, e.g.

route -p add mask


  • To delete a route, use the command route delete
  • To avoid making it permanent, remove the -p

That’s it, Enjoy!


About SoCRaT

Systems Engineer, OSS & Linux Geek
This entry was posted in Windows and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s