Avatar of davids355
davids355 asked on

how to configure our server to use a public ip

in our organisation we have server 2003 running as domain controller and have just installed another box running server 2003 with exchange 2003, install went fine but now obviously we need to set up a public ip address for the exchange server.

In the past I have used ISPs with fixed ip address and all I had to do was note the public ip then forward port 25 (smtp) to the servers local ip via the router (then change the mx record to the fixed wan ip address).

However in this setup we have been given 5 public ips by BT. And basically tey are set up through the bt router and in conjunction with dhcp - from what I understand you set the server to pick up its address via dhcp, then you map the server (via the router) to one of the public ips) and it then updates the server via dhcp.

However this seems to cause a problem because the public ip is in a different subnet to the rest of our network - so when the server picks up its public ip, it can no longer contact any other computers on the lan - including most importantly, the domain controller.

How do I get round this? Do I need to have two network adaptors on the exchange server - one for lan and one for wan??

ExchangeRouters

Avatar of undefined
Last Comment
davids355

8/22/2022 - Mon
jar3817

You can do just what you've been doing in the past. Give your exchange server a private address in the same subnet as all your other servers, but forward tcp/25 to your exchange server at your router.

If you really want to put your exchange server on a public IP, you'll need to have a router between the public ips and the private ones. You might be able to get away with entering static routes on your NAT router, but it depends on the setup.
ASKER CERTIFIED SOLUTION
kieran_b

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
davids355

got it working now.

Spoke to BT they advised with this particular router the only way to do it is with two network cards.
Gave the server two network cards - one public one private.

Although the server has public IP the router still filters all traffice to it except for the smtp port which I have opened. So hopefully will be ok.
Your help has saved me hundreds of hours of internet surfing.
fblack61