I just bought 10 extra IPs from my host. How do I point these at my CentOS 5 server?
Use IP aliasing on the host.
To do it permanently you will have to use the files in
And so on. But why do you need multiple IPs for a single host? SSL/TLS?
On CentOS you can use a ifcfg-eth?-range? file to assign multiple IP adresses. For example; you want to assign additional IP adresses to your eth0 interface and you don't have any additional addresses assigned yet. Create the file
When you already have assigned additional IP addresses the CLONENUM_START value should match the next available eth0:x number.
If the IP addresses aren't in order you have to create an ifcfg-eth0:x file for each of the addresses. The content should look like this:
Change the DEVICE value to the corresponding filename and run ifup eth0:0 to bring the interface online.