Jump to content
x
Upvote if you also have this question or find it interesting.
Learn more
Sign in to follow this  

Exchange and Source IP

rbarrick1 | Enthusiast | 17 | Members | 144 posts

Hello, trying to setup SMTP load balancing but instead of the NS sending the SNIP address we want to see the client IP. We followed the following article which was to enable MAC based forwarding and Source IP. We had to change the protocol from TCP to Any and then add the loop-back adapter on the server. Has anyone got this to work correctly, without the need of setting the server to use the NS as the default gateway? Any other workarounds?

 

http://citrix.stefanriek.de/citrix/howto-load-balance-while-preserving-a-clients-source-ip-but-not-using-the-netscaler-as-your-gateway/

 

and

 

http://www.ingmarverheij.com/citrix-netscaler-dsr-poor-mans-load-balancing-solution/

 

Thanks

Share this post


Link to post

8 answers to this question

Recommended Posts

x
Mark this reply as best answer, if it answered your question.
Learn more
x
Upvote if you found this answer helpful or interesting.
Learn more
x
Mark this reply as best answer, if it answered your question.
Learn more
x
Upvote if you found this answer helpful or interesting.
Learn more
rbarrick1 | Enthusiast | 17 | Members | 144 posts

Hi Carl, thanks for the reply. I did make sure I had sessionless checked. At that point the NetScaler showed SMTP to be up but I could no longer telnet into port 25 using the VIP. I did set method to SourceIPHash as well.

Share this post


Link to post
x
Mark this reply as best answer, if it answered your question.
Learn more
x
Upvote if you found this answer helpful or interesting.
Learn more
x
Mark this reply as best answer, if it answered your question.
Learn more
x
Upvote if you found this answer helpful or interesting.
Learn more
x
Mark this reply as best answer, if it answered your question.
Learn more
x
Upvote if you found this answer helpful or interesting.
Learn more
rbarrick1 | Enthusiast | 17 | Members | 144 posts

Thanks Carl, I got this to work. I had another lb vip that was disabled but had the same IP as my new vip. Once this was deleted I could telnet into port 25. I did notice that if you have a receive connector in exchange with the external secure box checked you become an open relay even though you have specifically only set certain internal IP's to use this connector. We just unchecked this and setup authentication for internal services that need to relay out. All checks now pass and the spam logs are now showing the client IP instead of the SNIP.

Share this post


Link to post
x
Mark this reply as best answer, if it answered your question.
Learn more
x
Upvote if you found this answer helpful or interesting.
Learn more
x
Mark this reply as best answer, if it answered your question.
Learn more
x
Upvote if you found this answer helpful or interesting.
Learn more
smotton585 | 0 | Members | 1 post

Is the NetScaler connected to the same L2 network as the SMTP server? Mac forwarding doesn't work across routers.

 

 

Does anyone have an answer for the above statement?  How can you handle the source ip issue if the Netscaler and the backend Exchange servers are on different subnets? I've tried the links below and nothing is working in fact I've opened a ticket with Citrix and I still have no solution after a week of support calls.

 

 

http://citrix.stefanriek.de/citrix/howto-load-balance-while-preserving-a-clients-source-ip-but-not-using-the-netscaler-as-your-gateway/

 

and

 

http://www.ingmarverheij.com/citrix-netscaler-dsr-poor-mans-load-balancing-solution/

Share this post


Link to post
x
Mark this reply as best answer, if it answered your question.
Learn more
x
Upvote if you found this answer helpful or interesting.
Learn more
Dominic Herrmann | 0 | Members | 6 posts
On 1/12/2016 at 1:57 PM, Andreas Tratter said:

 

What would be a solution for that?

I've got the same problem. Netscaler is in different Subnet as the SMTP Server and can't be placed into that VLAN.

If I create a servicegroup and vserver with protocol ANY, Use Client IP YES, and Sessionless load balancing ENABLED, I am unable to telnet the SMTP VIP at port 25. 

I've tested these articles but none of them helped me:

https://www.ingmarverheij.com/citrix-netscaler-dsr-poor-mans-load-balancing-solution/

https://www.mycugc.org/blog/load-balancing-exchange-smtp-relay-and-iis-smtp-iis-relay

At the moment i think, that i could only create a responder policy to limit access to the SMTP LB VIP. So each IP of our SMTP Relay Policy at the backend Exchange Servers needs to be manualy added to this Policy to allow access to the LB VIP.  That's a poor solution because of the limited troubleshooting options at the exchange servers because we will only see the SNIP and never the client IP.

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  
TOP
×
×
  • Create New...