PDA

View Full Version : How to add more IP addresses to same NIC?



VladImpaled
20th August 2007, 04:52 PM
I have a colocated server with one NIC active (eth0). This server runs Fedora Core 5.

I host many domains off this box with Apache 2. Currently only one of these domains uses SSL. However I now have to add two more domains to the box that both use SSL.

From what I understand, in order to support SSL in this configuration I need to have unique IP addresses available to each domain. My datacenter ISP has given me a large block of IP addresses, so that isn't the problem. However I am unsure how to add more IP addresses to the same NIC on this box.

So I really have two questions:

1. Is adding more IP addresses to this NIC the right thing to do to solve my SSL hosting needs, and
2. If it is, how do I do this?

Thanks in advance for any assistance.

V