[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 312
  • Last Modified:

Two nic in same server and in same subnet

I have Windows Server 2003 where I have IIS. There is two web sites and Im using them over SSL connection. At the moment other site is working in default SSL port 443 (HTTP 80) and other one in port 444 (HTTP 81). I would like to get both sites to work in default ports.

I was planing to solve this issue by adding one extra NIC to my server. Website 1 would use NIC1 and web site 2 would use NIC2. Now I have installed second NIC in my server. I tried to configure IP addreses but I got an error message

"multiple default gateways are intended to provide redundancy to a single network. They will not function properly when the gateways are on two separe, disjoint networks"

For both NIC I tried to put same gateway so I dont understand what is the point of this message. Is there some problem to configure two NIC with static IP in same server?
0
thaapavuori
Asked:
thaapavuori
1 Solution
 
oBdACommented:
Just leave the default gateway on the second NIC empty.
Note that technically, you don't even need the second NIC; you can just add a second IP address to the current NIC and bind the web site to this address.
0
 
samiam41Commented:
....insane knowledge oBdA....
0
 
thaapavuoriAuthor Commented:
Yep of course. Im stupid. Thanks :)

Timo
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now