PC Review


Reply
Thread Tools Rate Thread

Assigning individual programs to use specific network card?

 
 
Nickster
Guest
Posts: n/a
 
      3rd Jun 2004
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
 
Reply With Quote
 
 
 
 
Steve Winograd [MVP]
Guest
Posts: n/a
 
      3rd Jun 2004
In article <(E-Mail Removed)>,
(E-Mail Removed) (Nickster) wrote:
>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
 
Reply With Quote
 
Nickster
Guest
Posts: n/a
 
      4th Jun 2004
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

"Steve Winograd [MVP]" <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> In article <(E-Mail Removed)>,
> (E-Mail Removed) (Nickster) wrote:
> >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

 
Reply With Quote
 
Steve Winograd [MVP]
Guest
Posts: n/a
 
      4th Jun 2004
In article <(E-Mail Removed)>,
(E-Mail Removed) (Nickster) wrote:
>> >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.

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


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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
controling which programs use which network card in xp Doug Windows XP General 2 16th Dec 2007 03:52 AM
controling which programs use which network card Doug Windows XP Networking 2 15th Dec 2007 11:23 PM
assigning FullTrust to all the programs installed on a network fol =?Utf-8?B?Um9nZXI=?= Microsoft Dot NET 0 30th Mar 2007 09:48 AM
How to setup an specific sound card to work with specific programs =?Utf-8?B?U3R1c2VydmVy?= Windows Vista Installation 4 7th Jan 2007 01:01 AM
Assigning specific audio devices to different programs =?Utf-8?B?RHJhZWdvcg==?= Windows XP Hardware 0 17th Sep 2004 11:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:00 PM.