General discussion

Locked

IIS5 Answering on Multple NICs

By Joseph Moore ·
Machine: Win2KServer, SP3, with all recent patches, running on IBM Netfinity 5000.

IIS is installed and running (only FTP and WWW installed and configured). FTP is fine. WWW is the problem

The server has 2 NICs in it, both with different IP addresses (for the sake of argument, let's say NIC#1 is 10.0.0.1 and NIC#2 is 10.0.0.2).
IIS WWW is "bound" to 10.0.0.1, port 80 only. For a screen snapshot of this window, go here:
http://www.horrorseek.com/horror/leeringclown/techrepublic/iis1.gif
(please remove any spaces)
(Yes, agan that is not the correct internal IP address; I am using a valid 10.x.x.x address)
The Advanced button reveals the same info. Go here for another screen snapshot:
http://www.horrorseek.com/horror/leeringclown/techrepublic/iis2.gif
(again, remove any spaces)

The problem is that IIS is answering all WWW requests on port 80 for BOTH IP addresses, not just the single one it is configured to use. I have verified this by using SamSpade and NetBrute, 2 tools that can expose the web server packet info. Both tools give me this info back from both IP addresses:

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Content-Location: http://10.254.253.230/Default.htm
Date: Mon, 07 Oct 2002 21:39:10 GMT
Content-Type: text/html

As you can see, IIS answered. Now, I need to have IIS stop answering on the 2nd NIC (10.0.0.2) for port 80, so I can install Lotus Domino and have IT answer on NIC2 port 80. But, we are not there yet.

Also, when you use a web browser to go to http://10.0.0.1 you get the default home page on my web site, as I would expect. On http://10.0.0.2 you get a message reading "No web site is configured at this address."

I have gone into the Properties for the IIS server itself, and Edited the Master Properties. You cannot set the IP address there. I thought you could, but guess not.

This conversation is currently closed to new comments.

47 total posts (Page 1 of 5)   01 | 02 | 03 | 04 | 05   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

IIS5 Answering on Multple NICs

by Joseph Moore In reply to IIS5 Answering on Multple ...

So, any ideas? I have tried Technet article Q281760, which is about this problem with SMTP and editing the metabase. Well, it didn't work for WWW. Look up the article and you will see what I tried.

Personally, I think that the answer just might be somewhere else in the metabase, but I don't know its structure to find it. I have MetaEdit2.2, so if the key is found, I can edit it in a snap.
I also have backups of it, in case I screw something up!

Oh, one clarification in the NetBrute output above. First, I forgot to replace my true internal IP with the "for example" IP posted in the rest of this question (oops!) so that is why it is different. Second, when you connect to the first NIC, its proper IP address is displayed in the resultant output; when you connect to the 2nd NIC, also its (the 2nd NIC's ) IP address is displayed. So, the right NICs are responding with their own proper IP address.
I just wanted to clear that up.


Network connectivity on both NICs is up and working, so that is not an issue. Both cards are fine.

This is something I should get resolved by the end of next week, so there is some time to try a few things. But so far, this server is very clean. I put the OS on it just 2 months ago, and it hasbasically been sitting around waiting for the web site to be done. It is now, so time to get this all working right.

Collapse -

IIS5 Answering on Multple NICs

by Joseph Moore In reply to IIS5 Answering on Multple ...

Point value changed by question poster.

Collapse -

IIS5 Answering on Multple NICs

by Joseph Moore In reply to IIS5 Answering on Multple ...

Maybe I am just tired, but I can't see the fix for this one.

How about an assist from the community?

Thanks
Joe

Collapse -

IIS5 Answering on Multple NICs

by Joseph Moore In reply to IIS5 Answering on Multple ...

One more thing I forgot:
The Technet article I quoted does mention Event ID 115. I do have that error for WWW, basically word for word. I thought that would give more credence to using the metadata fix it suggested.
AFter trying the metadata fix,I still get the error.
Dang!

Collapse -

IIS5 Answering on Multple NICs

by BudTheGrey In reply to IIS5 Answering on Multple ...

It sounds to me like what's happening is that IIS is only listening on one address, but it's using both to answer. IIRC, web requests are "stateless", meaning that the connection made to the web site is not permanent, so IIS is free to answer each of the many little requests required to load a web page via whatever path is available.

For each request, IIS learns (or is told) what IP address to send the response to. But, I don't think it is restricted to using only one.

I'm not up to snuff on the detials for Win2K, but there maybe a way to force it to reply over the Ip address the request came from. I suspect, though that the way things are right now would not prevent Domino from working, assuming it can be configured to listen toa single IP address. In deed, thee may be a small performance gain from the simple load balancing that would be happening.

Collapse -

IIS5 Answering on Multple NICs

by BudTheGrey In reply to IIS5 Answering on Multple ...

DR -- Unless I mis-read the original post, there is no conflict to resolve. Browsing to one IP address displays the web page, the other does not. The original concern is that responses from the web server are coming from both IP address (i.e., there's one door in, but two doors out). In and of itself, I don't think this is a problem. Setting up Domino to listen on the current 'deaf' address should work just fine.

I don't believe that changing IP addresses & port numbers will change that behavior.

Collapse -

IIS5 Answering on Multple NICs

by Joseph Moore In reply to IIS5 Answering on Multple ...

Bud, thanks for the suggestion, but this isn't it.
I realize my question may not be clear (I really don't feel like fixing this problem, but it's my job, so... I guess I gotta!). I read through the question and yes, what in the heck was I talking about!!!
Anyway, I need IIS to only listen on the 1st IP, port 80, and I will set up Domino to listen to the 2nd IP, port 80.
Both web servers are gonna be working in tandem for the same web site (IIS is the main web engine; some frames in the IIS web site will be supplied by Domino web content).
But, IIS keeps answering on port 80 on both IP addresses. IF that happens when Domino tries to start up, then Domino will NOT start. I know that. If Domino cannot get exclusive access to its web port on its IP address, then its HTTP engine will not start up.
So, that is the problem. IIS is listening on both IP addresses, and I need it to stop.

Collapse -

IIS5 Answering on Multple NICs

by CG IT In reply to IIS5 Answering on Multple ...

ok.well, two nics both used as external connectors. humm...try using virtual servers for the web sites just as one would host multiple domain names on a single computer with host headers. It allows you to host multiple sites with only one IP. ALSO, you can change port numbers where [example: external connector(WAN) IP 192.168.2.40 port 80 is default web site, external connector (WAN)IP 192.168.2.40 port 4430 is Corporate Web site with a pointer to IP internal (LAN) 192.168.16.30 LAN web server.For more information on IIS 5.0 setup the help files see Microsoft Internet Information Server 5.0 http://support.microsoft.com for Web & FTP how tos on Technet.

Collapse -

IIS5 Answering on Multple NICs

by CG IT In reply to IIS5 Answering on Multple ...

Note on Technet: I recognize that you went to technet to no avail. My training manual (Microsoft Internet Information Server 5.0 training, chapter 5, Configuring the WWW Service basically outlined what I said above. ISA Server also basically says the same thing. Configuring one NIC as external and one nic internal resolves IP address conflicts and using different port numbers resolves site conflicts [Home directories for each site are different Inetpub folders [re X:\Inetpub\wwwroot, X:\Inetpub\wwwroot1 , X:\Inetpub\wwwroot2,.

Collapse -

IIS5 Answering on Multple NICs

by Joseph Moore In reply to IIS5 Answering on Multple ...

DR, thanks for the suggestion. I though of setting up a virtual server, but I don't see why I would need to! I can't see why, after setting the IIS web site to listen only on 1 IP address, why it would actually listen on BOTH IP addresses.
I will see what kind of answers get posted in the day, but I just might have to do the VS thing in a worse case scenario.

Back to Windows Forum
47 total posts (Page 1 of 5)   01 | 02 | 03 | 04 | 05   Next

Related Discussions

Related Forums