Phillip Windell said:
You can't. TCP/IP does not work that way. Traffic uses the Destination to
determine the proper route in the Routing Table,..the Routing Table then
determines the Nic it is sent from. There is no relationship between the
Nic that receives something and the Nic that replies,...that is considered
two separate communincation sessions.
While I believe you are correct it is for the wrong
reason -- that is NOT how TCP/IP works it is just
how most service programmers use the default and
likely how AD etc will work (unless there is some
registry setting to affect the default which I doubt.)
When a programmer opens a socket, or sending or
receiving, that programmer can specify which IP
to use if the machine has more than one or that
programmer can just use the default which will likely
be the first one, one the first (bound) NIC.
I have heard even professional programmers claim
their service could not work this way due to IP
restrictions, but I have also written the code and it
is quite easy to override the defaults and you can
see this for yourself with many products like IIS
or many SMTP servers.
IIS can bind selectively to any IP address and so
should most SMTP servers (although some of these
are the ones where the programmers claimed they
couldn't do it.)
[/QUOTE]