Ok, I have a situation that I can't seem to solve and hope someone here can shed some light.
I have one ISP connection that provides me with a number of static (public) IPs. I want to use 2 of them, each hosting a different domain name. (lets call tem domain1.com and domain2.com)
First, to get more than one connection to my WAN I have the incoming WAN connected to a switch, of course.
I currently have a Linksys WRT54GS connected (that provides wireless as well) and an older BEFSRU31 on the other. (which I plan to upgrade eventually).
WRT54GS = 10.2.1.1 (gateway mode) BEFSRU31 = 10.2.1.2 (tried both gateway and router mode) both using 255.255.255.0 internal network all using default gateway of 10.2.1.1
Now, lets say I have incoming email to domain1.com. It flows through the WRT router just fine to my internal Exchange server (10.2.1.15). Outbound works just fine. Everything seems to work just fine with the WRT and domain1.
incoming email through domain2.com does not work. I assume this is because te BEFSR passes it to the Exchange server which has a default gateway of the other router, so the conversation never happens and the session is dropped.
My question.. how to fix this? Am I missing a router on the inside perhap? And if so, what should I use... (prefer linksys hardware)
You might want to ask "why the second router" because port 25 (smtp) works just fine if I point both domains to router1, but for things like port 80 where I want it to point to different internal servers, this configuration doesn't work.
Any help would be appreciated!!