300 Websites in IIS 6
So today the topic came up about how many website you can run on a single NIC card with out using host headers. My thought was “as many as you want!”. But it was implied that there was a limit as to the number of addresses that could be assigned to a single NIC. So, when I got home, I decided to test it out. Now, I have a little spoiler here that is revealed towards the end of the video. The conversation we were having at the time was related to NT4, and my test below was done on Windows 2003, IIS6.
But, that’s ok. It gave me something to focus in on for awhile and I had fun doing it. I was just getting ready to blow this box away since I had already used it for some other testing and the Eval license is like 7 days from requiring activation.
I got an email asking about the validity of certain hosts.
Namely whether or not 10.10.1.255 and 10.10.2.0 where valid IP addresses. When dealing with a Class C range, you won’t see hosts with the last octet of .0 or .255, because those are the network and broadcast addresses. However, when dealing with class B or class A addresses, these addresses become completely valid.
You only drop the 1st and last host of any network range. In the above example, the Network is 10.10.0.0 and the broadcast address is 10.10.255.255, so all IP addresses in between are completely valid to use. It feels very odd typing in an address of 10.10.2.0, but I assure you, it’s a valid address, as is 10.10.1.255.
Hope that clears things up.


