I have two NICs:
- Network 1
- Network 2
Network 1 is awesomely fast but blocks access to Site A
. How can I route traffic to just Site A
through network 2?
When I have them both connected, Windows somehow knows to use network 1 for everything (I assume this is via the metric
setting?).
Site A
can be an IP address (vs. a domain name) if it makes this easier.
You need to use the "Route" command.
route ADD (site ip) MASK (site umask) (gateway) IF (number of the interface you want to use)
So to get to 200.200.200.200 on interface 2:
if you want to make the route change permanent, add the -p flag. The metric doesn't really matter very much in this context, it's more of a statement of priority, so the system knows which route to choose, all other things being equal.