Forum Discussion
jnowlin_44976
Nimbostratus
Jun 01, 2009Load Balance SMTP for Exchange 2007 relay
i am needing to load balance the SMTP relay traffic to my exchange 2007 hub transport servers. i can set this up using auto snat but i have discovered the issue that exchange sees the traffic from my internal bigip ip address (and not the clients) and therefore is allowing any relay sent to the Exchange virtual server to relay (not secure).
preferably i would like the bigip to load balance SMTP and the exchange servers to see the traffic as the client ip addresses for logging and security.
is there any way to accomplish this without changing the default gateway on the exchange servers?
- slomah_85788
Nimbostratus
jnowlin, - jnowlin_44976
Nimbostratus
no i havent. it looks like my only option is to not use bigip and use windows NLB. - John_Alam_45640Historic F5 AccountPut the BigIP in in-line bridging mode. The bigip would still be physically between the servers and their default gateway but it would be bridging.
- jnowlin_44976
Nimbostratus
sounds interesting but i have not found any info on enabling bridging mode. can you point me to a link or somthing? is this going to affect my other load balanced nodes or is this something i can turn on only for my excahnge hub transport nodes? - Rich_77297
Nimbostratus
I am having this exact same issue with Exchange 2010. I contacted support recently about this and they don't officially have a solution. I may have to use Windows Network Load Balancing just for SMTP to resolve this issue. - JRahm
Admin
This isn't an exchange problem or an LTM problem, it's a limitation with the smtp protocol in that there isn't support for an x-forwarded-for header like http has. So your choices are to a) set the LTM as your default gateway on your mail servers b) bridge the traffic through LTM or c) insert the client IP in some sort of mail header that you can then configure your mail server to read, act, and sanitize on. - hoolio
Cirrostratus
I think SMTP does support X- like headers like HTTP does though. Here is an example of how to do it using .NET: - JRahm
Admin
True, the rfc lays the framework, but how many implementations are there that won't require legwork? My point was x-forwarded-for is well-supported in http implementations, but not so much with smtp. There have been enough questions on this front that it might be worthwhile to try to get a working solution with sendmail and Exchange and look at LTM implementations with stream or an smtp proxy. - jnowlin_44976
Nimbostratus
so you mentioned bridge mode and this seems like the only option besides configuring NLB and not using the bigip at all. i have not found any info on enabling bridging mode. can you point me to a link or somthing? is this going to affect my other load balanced nodes or is this something i can turn on only for my exchange hub transport nodes only? - JRahm
Admin
bridging is configured by creating vlan groups.
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