Dual Homed Mail Server recieves mail on WAN sends back out through LAN

I have an exchange 2003 server... dual homed (two NICS) ...one IP for LAN and one for WAN through pix fw....

I can send and recieve mail fine, the weird thing is that when the smtp server sends out mail to external addresses...it doesnt use the WAN IP I have designated for the exchange server...it routes outgoing messages through the LAN (Internal IP) and out through the gateway...

The LAN NIC is built into MOBO and the WAN NIC is a pci card...dont think this is issue, but becuase LAN NIC is on MOBO, does it default to that NIC first for outgoing TCP packets?

any help would be awesome...
eseyfriedAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
rhandelsConnect With a Mentor Commented:
Hi,

You can set the properties on what NIC has priority, here's how to..

1. Go to the server and open the Network properties.
2. In network properties, go to advanced
3. In the advanced menu choose Advanced Options
4. Make sure that the Internet connection is last in line at the connections box (you can change properties by using the green arrows next to the box).

You could also go to the WAN NIC and make sure that the default gateway is only set on this NIC and make sure it is the ip address of the WAN NIC.

Still i wouldn't use a multihomed Exchange server. You'd better make sure that the Exchange server has one NIC, and that you're router NAT's the external ip addresses port 25 to the internal address of the Exchange server. This is also safer for your Exchange server.
0
 
eseyfriedAuthor Commented:
right on...thanks...my machine is dual homed   192.168.0  addy and a 192.168.1 addy which is static mapped to WAN IP through the PIX Firewall.

All I did was move the WAN connection up to the top, and took off default gateway on the LAN NIC...

thanks alot
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.