Windows

Our forums are currently in maintenance mode and the ability to post is disabled. We will be back up and running as soon as possible. Thanks for your patience!

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.

Thread display: Collapse - | Expand +

All Comments

Collapse -

IIS5 Answering on Multple NICs

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

Ok, no good news to report. I put both IPs on the same NIC (after disabling the 2nd NIC), and then restarted everything.
IIS continued to answer HTTP GET requests on both IP addresses!
I spoke to a co-worker who had ran into this a couple of yearsago! This co-worker told me that this is just how IIS works. Even when all websites (virtual servers, technically) are set up to point to different IP addresses, if you have an address NOT assigned to anything, IIS will STILL answer HTTP GET requests on this IP.
Basically, IIS works on ALL IP addresses on a single machine, no matter what you try!
So, I am gonna try and install Lotus Domino Thursday, and get Domino to only answer HTTP GET requests on the 2nd IP, port 80. We have done that before (we have a single Win2K server running 2 instances of Domino; each instance is a separate public web site with different IP addresses and no host headers).
The thought is that:
1) stop all IIS services
2) get Domino HTTP server to work on 2ndIP address, port 80
3) then, IIS will NOT be able to grab this 2nd IP address port 80, but it WILL be able to get the 1st IP address port 80.
At which time, I will have the setup I need to get working for this single web site!
I know, both IIS and Domino feeding the same web site. What are we thinking???
Even I don't know; it wasn't my idea!

Wish me luck!

Collapse -

IIS5 Answering on Multple NICs

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

I would like to know the outcome of your web site creation and the trials and tribulations of it. This is an interesting problem. Hope you keep us posted.

Collapse -

IIS5 Answering on Multple NICs

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

One more comment: have you tried to change the master property sheet [preconfigure properties for virtual servers]for IIS? So far all that was discussed was default "web site" property sheets.

Collapse -

IIS5 Answering on Multple NICs

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

Interesting that you got your two engine web site to work with one engine on port 80 and the other on port 81 both suppling data. Again, please keep us posted on your project.

Collapse -

IIS5 Answering on Multple NICs

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

If you get this to work, you should do a paper on two web engines suppling data to one web site and how you got it going.

Collapse -

IIS5 Answering on Multple NICs

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

ok final comment on this: according to the "Windows 2000 network design" book written by Kim Simmorns, Jarret W. Buse, and Todd b. Halpin, [and this is about proxy server 2.0] Chapter 8 page 151 ExamCram for exam 70-221 by Coriolis, ...Although users don't normally enter the port number nor even realize that it is needed, the port number is supposed to follow the internet server name or IP address [http://www.xxx.com:["port #]. If a user does not enter a port number in the URL,then the client will default to a port number that is usually used by the protocal in the URL. [re http is default port 80, ftp is default port 21].

Therefore, if one wants a site to not answer on a default port number, then one must include the appropriate port number in the URL. I'm not sure if and how you can setup a URL where what a user types in www.XXX.com will trigger a port different than default port 80 [default protocol port] without having to manually add in the correct port # you actually are using unless you set up or change the http protocol properties to answer on a different default port than port 80. If you can do that, than IIS would stop answering on port 80.

Collapse -

IIS5 Answering on Multple NICs

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

Thanks & Cool. I'll zip the comments and watch. Glad you'll keep us informed as to how this works.

Collapse -

IIS5 Answering on Multple NICs

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

DR, I am going to close this question now, since I have the answer (please see the comments above. I am rejecting this answer for you, since I want to give you 5000 points for helping out on this. I am gonna open a new question for you only, with a subject of "POINTS FOR DR THE CORPORATE GROUPS". Please reply to that question, and I will give you those points. Thanks for helping out on this.
Joe

Collapse -

IIS5 Answering on Multple NICs

Is Routing and Remote Access installed (RRAS) This could present some problems if configured improperly. Make sure your outbound settings are correct.

Collapse -

IIS5 Answering on Multple NICs

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

Nope, no RRAS on this box. IIS and, now at least, Domino 5.0.8

Related Discussions

Related Forums