Solved

Force Exchange 2007 to send from a specific IP

Posted on 2012-03-23
9
952 Views
Last Modified: 2012-05-14
I have a single 2k8 R2 VPS with Exchange 2007.  The server has two public IPs assigned to it's NIC. One IP has an SSL cert and reverse DNS set up on it for the purpose of Exchange using it.  I thought things were going well until I discovered that it wasn't sending via that IP.

Is there a way I can configure Exchange to send using that IP?
0
Comment
Question by:theamzngq
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 6

Expert Comment

by:KalluSureshKumar
ID: 37758036
Set-SendConnector but looks like it is used only on Edge servers. But you may try.

Set-SendConnector <Connector name>  -SourceIPAddress <IP Address>

SourceIPAddress: This parameter specifies the local IP address to use as the endpoint for an SMTP connection to a remote messaging server. The default IP address is 0.0.0.0. This value tells the server to use any available local IP address. This parameter is only valid for Send connectors that are configured on Edge Transport servers.

http://technet.microsoft.com/en-us/library/aa998294(v=exchg.80).aspx

Otherwise try changing the Network binding order.

http://theregime.wordpress.com/2008/03/04/how-to-setview-the-nic-bind-order-in-windows/
0
 
LVL 2

Author Comment

by:theamzngq
ID: 37758070
Thank you, I'll try that.  Do you think that setting this could disrupt my email functionality, and if so, how will I be able to undo it?  Is there a way I can see how the parameter is set before changing it?
0
 
LVL 2

Author Comment

by:theamzngq
ID: 37758133
I went ahead and set the parameter, but it appears to still be using the "other" public IP.  I'll try the binding order next.
0
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 6

Accepted Solution

by:
KalluSureshKumar earned 500 total points
ID: 37758146
By default IP address is set to 0.0.0.0 . You can also verify default setting by running

Get-Sendconnector <connector name> |fl

and verify what is set for SourceIPAddress.

To revert the settings you can run the same command

Set-SendConnector <connector name > -SourceIPAddress <Default value which you saw from the above command>

But above description clearly says "This parameter is only valid for Send connectors that are configured on Edge Transport servers."

So this is just a trial method on HUB if you dont have Edge.

Otherwise try changing the Binding
0
 
LVL 2

Author Comment

by:theamzngq
ID: 37758149
In looking up the binding link, it appears that that only applies to the NIC, not the IP assigned to the NIC.  Any other ideas?
0
 
LVL 6

Expert Comment

by:KalluSureshKumar
ID: 37758220
You said

I thought things were going well until I discovered that it wasn't sending via that IP.

Is the NIC card for which above statement is assigned on the TOP if yes. please move the other NIC on the top from which you would like to send e-mail from.
0
 
LVL 6

Expert Comment

by:KalluSureshKumar
ID: 37758255
Sorry my above statement is not clear..

I am talking about binding order. Is the NIC for which IP is assigned is on the TOP . If yes, then bring the one you wanted on the TOP and and send e-mail..

You may want to flushdns / restart transport service after you do that
0
 
LVL 2

Author Comment

by:theamzngq
ID: 37758262
There is only one NIC and both IPs are assigned to it.
0
 
LVL 2

Author Closing Comment

by:theamzngq
ID: 37967097
My configuration, being single server, is not eligible for setting the outgoing IP to be used.  If I had a two server config, looks like I could do that.
0

Featured Post

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to install and use the NTBackup utility that comes with Windows Server.
This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question