You can only have one default route out of your machine. You CAN make two default routes, but the one with the lowest metric will win. If you have two interfaces with the same metric, the first interface will win. If you want to specifically route the traffic through the second interface, you will have to add a static route to that interface. Do a ROUTE PRINT and you'll see which interface is currently the defualt route. Example:

Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0  192.168.200.254  192.168.200.212    266

You can make specific traffic go via another route by using ROUTE ADD. ROUTE -p ADD to make it permanent.

Lester

On 08/09/2010 13:32, Fastream Technologies wrote:
Hello,

I have a customer who wishes to use our ICS-based product to cache/proxy
between connection in two different NICs with different IPs. The listening
part is trivial. He says Winsock cannot automatically route the traffic to
the second NIC outbound port when a public IP is destinated. I have no clue
why!

Is there something I am missing on this?

Regards,

SZ
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to