To add a route on the windows machine to force route the traffic through a particular gateway when two connections are connected on it

c:/>route ADD “network” MASK “subnet mask” “gateway ip”

c:/>route ADD 8.8.8.8 MASK 255.255.255.0 192.168.1.12

or

c:/>route ADD 10.10.10.0 MASK 255.255.255.0 192.168.1.12

Advertisements

Posted on January 6, 2016, in Linux (Ubuntu/CentOS), Uncategorized. Bookmark the permalink. Leave a comment.

Leave a Reply

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

WordPress.com Logo

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

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

%d bloggers like this: