I'm sorry, but it isn't possible to assign programs or protocols to a
specific network card.
You can assign IP addresses or ranges of IP addresses to a specific
network card by defining a static route. To do it, you need to know:
1. The IP address(es) that you want to assign.
2. The default gateway for the network card that you want to use.
For example, if there's an SMTP server at IP address a.b.c.d, and the
network card has a default gateway at IP address w.x.y.z:
route -p add a.b.c.d mask 255.255.255.255 w.x.y.z
The optional "-p" parameter makes the route persistent, so it applies
across reboots.
What I have is 2 network cards, one connects to VPN, other is my
personal cable. When I am browsing I would like to use my Cable, when
I am checking email I would like to go through VPN line[/QUOTE]
If you're using a corporate VPN, check with the IT department to see
if what you want to do is permitted. Some companies prohibit
simultaneous connections to the VPN and to the Internet because it can
be security risk.
If it's permitted, check with the IT department to find out the IP
addresses of the mail servers and the default gateway for the VPN.
I'm sorry, but I can't give you more specific advice.
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)
Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.
Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com