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