SMTP server uses wrong IP address for a server with 2 NICs, 2 Static addresses

Hi,

I have several static IP addreses.  I put 2 NICs in one computer.  My O/S is Windows 2000 Server with IIS 6.0 installed.  I have 2 virtual SMTP servers set up, 2 domains set up, I assign the IP addresses, etc... everything seems to be configured properly, ie. subnets, gateways, etc.

The problem is, when someone at my company sends an email from one domain, the last entry in the header record of the email uses the incorrect IP address.

Do I need to bind the IP address to the SMTP server virtual domain?  

Please help!

Thanks,
Scott
smac693Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
shauncroucherConnect With a Mentor Commented:
you cant, as explained in my last post.

shaun
0
 
proadminCommented:
Yes. If you don't bind the IPs you want to use it will use whatever is first in the list. I would suggest you bind ALL IPs to SMTP servers, its the best to make sure your set up correctly - otherwise you may have issues you never knew were there and can't explain.

Hope that helps!
0
 
smac693Author Commented:
Thanks, proadmin.  Could you explain exactly how to do that?  I'd like to award you with the points if you can help with that.

0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
shauncroucherCommented:
if you are trying to use a particular smtp virtual server for outbound delivery based on the 'sender' domain, you cannot do this.

routing is based on recipient domain, not sender domain.

shaun
0
 
smac693Author Commented:
Thanks, shauncroucher, but please see:

http://support.microsoft.com/kb/149399

"A single network interface card (NIC) configured with multiple IP addresses defined on different logical subnets will always use the first IP address defined in the TCP/IP configuration as its source address, regardless of the destination. "

I have windows 2000 Server and it still doesn't work when I send messages.
0
 
shauncroucherCommented:
Hi,

This is the behaviour for routing, but for SMTP virtual servers providing access to the same domain space, ie "*", it will load balance if the costs are the same, or you can force it to use one over the other by changing the cost on the SMTP connector. In the event that the lowest cost connector is not available, the next one will still be used.

http://www.msexchange.org/tutorials/Using_SMTP_Connector_Internally.html

You can't chose based on sender domain though.

Shaun
0
 
smac693Author Commented:
Still not working.

On one computer, I have a single NIC, multiple IP addresses, multiple websites, and multiple SMTP servers.  So, each SMTP server is independent from the others.  

When I send email, the primary ie. first IP listed in TCP/IP is the one that is used.

How can I specify an IP address for outgoing email based on the virtual SMPT server I use?
0
 
smac693Author Commented:
I finally called Microsoft.  This will not work prior to Windows 2008 Server.  I am using Windows 2000 Server.
0
All Courses

From novice to tech pro — start learning today.