[Novalug] Point multiple IPs to one server?

David A. Cafaro dac at cafaro.net
Wed Jan 2 18:53:09 EST 2008


Oh, and according to my quick search looks like there may be a limit  
of 4096 IP address per interface, but I'm not 100% on that.  Chances  
are that any limit is way out of any reasonable use you would run  
into though.

Cheers,
David

On Jan 2, 2008, at 6:47 PM, David A. Cafaro wrote:

> There are three things you need to make sure are setup to host  
> multiple IPs on a server:
>
> 1. Your ISP routers are configured to route the IPs to your box
>
> 2. You setup the OS (RHEL4) with the virtual interfaces for each IP  
> eth0, eth0:1, eth0:2 (for three IP adddresses)
>
> 3. You setup Apache virtual hosts to deal with each IP address.
>
> Does that help?
>
> Cheers,
> David
>
>
> On Jan 2, 2008, at 6:37 PM, Joel Fouse wrote:
>
>> I know that it's possible to have multiple public IP addresses  
>> pointed at a single server, because webhosts offer static IP as a  
>> value-add.  I also know that you can configure Apache vhosts to  
>> listen only to specific IP addresses.  What I'm missing is what's  
>> in between, if anything.  The point-multiple-IPs has to at least  
>> be configured external to the box in question (at the router/ 
>> switch/whatevernetworkingblackbox level), but is there any  
>> configuration at the OS level to tell the box to actually listen  
>> to all of them?  Or does it just take in whatever's sent to it and  
>> Apache just slurps up whatever you've told it to?  Is there any  
>> limit (hard or otherwise) to the number of IPs that can be pointed  
>> to a single box?
>>
>> If it helps target any answers, I'm partly just wanting to fill in  
>> my knowledge in general, and partly referring to a specific box  
>> that's currently on RHEL 4.
>>
>> - Joel
>> _______________________________________________
>> Novalug mailing list
>> Novalug at calypso.tux.org
>> http://calypso.tux.org/cgi-bin/mailman/listinfo/novalug
>
> David A. Cafaro <dac at cafaro.net>
> Cafaro's Ramblings:  www.cafaro.net
>
>
>
> _______________________________________________
> Novalug mailing list
> Novalug at calypso.tux.org
> http://calypso.tux.org/cgi-bin/mailman/listinfo/novalug

David A. Cafaro <dac at cafaro.net>
Cafaro's Ramblings:  www.cafaro.net





More information about the Novalug mailing list