Assigning individual programs to use specific network card?

  • Thread starter Thread starter Nickster
  • Start date Start date
N

Nickster

I have a XP Pro machine with 2 NIC cards. Each card is connected to a
diffeent network. Is there a way to assign certain protocols to use
certain cards.

the way I want to set up is
all the mail realted calls STMP. mail. should go to NIC #1
Http:// and https:// should go to NIC #2

How can I bind certan addresses(or programs) on certain cards
 
I have a XP Pro machine with 2 NIC cards. Each card is connected to a
diffeent network. Is there a way to assign certain protocols to use
certain cards.

the way I want to set up is
all the mail realted calls STMP. mail. should go to NIC #1
Http:// and https:// should go to NIC #2

How can I bind certan addresses(or programs) on certain cards

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.
--
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
 
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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top