Forum Discussion
coda6_52611
Nimbostratus
May 12, 2010SMTP, Client IP Preservation and multiple Virtual Servers
I understand that to preserve the source IP address of an SMTP client I need to turn off SNAT and have the gateway of the Exchange servers set to the virtual servers IP.
BUT, I have multiple virtual servers pointing to those Exchange boxes. How would I prevent asymmetrical routing from occurring for the other virtual servers?
Any ideas would be appreciated.
Thanks
- hoolio
Cirrostratus
Hi Coda, - coda6_52611
Nimbostratus
Hoolio, - hoolio
Cirrostratus
Do you mean that the servers themselves are accessing a VIP they're a pool member for? If so, you could still set their default gateway to the LTM floating self IP and then apply a SNAT from an iRule only when the client and server addresses are on the same subnet: - coda6_52611
Nimbostratus
Here is what we have, 1 VLAN with our SMTP servers. - coda6_52611
Nimbostratus
I attached a logical diagram of the environment. - hoolio
Cirrostratus
If you change all of the servers' default gateways to LTM's floating self IP (not any virtual server IP address), this will work so long as there aren't any clients on the same subnet as the servers making requests to the VIPs. If there are any clients on the same subnet as the servers, then you'd need to use SNAT. You could enable SNAT just for those clients using an iRule. - coda6_52611
Nimbostratus
That makes sense. I was confiusing the VS virtual IP with the LTMs floating IP.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects