alan2938
asked on
Static IP prevents outgoing connections - only DHCP works
I have an Exchange 2007 Sp1 installation running on Windows Server 2008x 64. I was having trouble after setting up an SMTP connector to the internet from this box, as I could not connect to any remote SMTP server. Also, Windows Update would not work.
I switch the network interface from being a static IP to using DHCP and all problems are resolved regarding my SMTP issues... but why would using DHCP allow SMTP traffic through when static IP does not?
I switch the network interface from being a static IP to using DHCP and all problems are resolved regarding my SMTP issues... but why would using DHCP allow SMTP traffic through when static IP does not?
My guess is you have the subnet mask or default gateway setup incorrectly with the static config.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Make sure your static IP address is on the same subnet as your DHCP address and it is pointing to the same DNS servers.
ASKER
All systems are on the same subnet and pointing to the correct servers.
I switched the Exchange server back to static IP using the exact settings that were given through DHCP... and upon reboot, the default gateway is blank. I add it in, the machine reboots again, and it doesn't make a difference. So for whatever reason, unless my server is configured for DHCP, it has no idea what my default gateway is.
I switched the Exchange server back to static IP using the exact settings that were given through DHCP... and upon reboot, the default gateway is blank. I add it in, the machine reboots again, and it doesn't make a difference. So for whatever reason, unless my server is configured for DHCP, it has no idea what my default gateway is.
Default gateway is blank...I have seen this happen on multihomed servers? If not multihomed I would take a look in the registry for any NICs that didn't get uninstalled properly....
HKEY_LOCAL_MACHINE\System\ CurrentCon trolSet\Ne twork.
Some of the GUID keys are the NICS
Expand the guid keys and look for the subkey connection. These are the NICS, check to see if there are any that have a IP that you don't reconize that should not be there.
HKEY_LOCAL_MACHINE\System\
Some of the GUID keys are the NICS
Expand the guid keys and look for the subkey connection. These are the NICS, check to see if there are any that have a IP that you don't reconize that should not be there.
ASKER
I don't have "Network" under CurrenControlSet. See image.
registry.png
registry.png
Sorry.... HKLM\System\CurrentControl Set\Contro l\Network\
ASKER
Ok, so I found there are lots of entries labelled for Local Area Connection 1 through 11. I attached a screens hot below of the descriptions... not sure if they correlate or not. I actually removed everything except Local Area Connection 2 (the only one connected right now... I'm in a Virtual Environment) but then LAN 2 completely disappeared! I had to restore from snapshot to get it back.
regedit.png
regedit.png
Ah this looks correct, but for future testing you can export the registy key then remove it...if someone blows up you can just import the registy key that you exported.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.