Can a server have multiple Global IPs?

G

gyokimae

Hi folks.


What I am trying to achieve I believe is quite straight forward.
I have a 2003 Server with 2 NICs installed.
Both NICs have a different network address and are connected to the
Internet through separate routers. I would like IIS running on this
server to answer requests only through the NIC the request originally
came in from.

-----------------------
NIC-1
IP 192.168.0.2
Mask 255.255.255.0
Gateway 192.168.0.1 (IP of router 1 having a global IP)

-----------------------
NIC-2
IP 192.168.1.2
Mask 255.255.255.0
Gateway 192.168.1.1 (IP of router 2 having a global IP)
[[ default gateway is set only in the "Advanced" menu.]]
-----------------------


I am not always getting results as expected, I assume due to the
default
gateway settings. i.e. Requests coming in through NIC-2 are all being
replied
through NIC-1, confusing the client or any Firewalls along the route.


Somewhere along the course, I have read about setting the default
gateway in the "Advanced" menu.

This seemed to have worked except for having moments that the NIC is
completely down for about 10 min. every few hours.

------------
Again, my goal is simply to get the server responding only through the
route the request initially came from. As much I've read MS documents
that setting multiple gateways may lead to unpredictable behavior, I am
still seeking possibilities since I've got it to work to a certain
degree.
I am hoping there is an unofficial, yet solid practice to achieve
this.


Any advise I would highly appreciate.
Thank you.
 
R

Robert L [MS-MVP]

You can have twp public IP addresses on a server. However, they may not get what you want to. The key here is gateway. You should not have two default gateways on the multihomed computer. At least, the metric # should not be 1 or same.

Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com

Hi folks.


What I am trying to achieve I believe is quite straight forward.
I have a 2003 Server with 2 NICs installed.
Both NICs have a different network address and are connected to the
Internet through separate routers. I would like IIS running on this
server to answer requests only through the NIC the request originally
came in from.

-----------------------
NIC-1
IP 192.168.0.2
Mask 255.255.255.0
Gateway 192.168.0.1 (IP of router 1 having a global IP)

-----------------------
NIC-2
IP 192.168.1.2
Mask 255.255.255.0
Gateway 192.168.1.1 (IP of router 2 having a global IP)
[[ default gateway is set only in the "Advanced" menu.]]
-----------------------


I am not always getting results as expected, I assume due to the
default
gateway settings. i.e. Requests coming in through NIC-2 are all being
replied
through NIC-1, confusing the client or any Firewalls along the route.


Somewhere along the course, I have read about setting the default
gateway in the "Advanced" menu.

This seemed to have worked except for having moments that the NIC is
completely down for about 10 min. every few hours.

------------
Again, my goal is simply to get the server responding only through the
route the request initially came from. As much I've read MS documents
that setting multiple gateways may lead to unpredictable behavior, I am
still seeking possibilities since I've got it to work to a certain
degree.
I am hoping there is an unofficial, yet solid practice to achieve
this.


Any advise I would highly appreciate.
Thank you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top