[wplug] Multiple Static IP's

Edward Walter ewalter at walterama.com
Wed Jun 15 22:53:36 EDT 2005


I thought the traditional way of doing this in Linux was to use IP 
aliases and virtual adapters.

For example:

eth0       ->   192.168.0.1
eth0:0    ->    172.16.0.1
eth0:1    ->    10.0.0.1
 
All of these are the same physical card but this would allow different 
DNS names, IP addresses, and consequently SSL certificates for each 
virtual adapter.  There's more documentation available here:
http://www.faqs.org/docs/linux_network/x-087-2-iface.interface.html

Look for section 5.7.8 at the bottom of the page.

-Ed


Christopher DeMarco wrote:

>On Wed, Jun 15, 2005 at 07:51:00PM -0400, Ken wrote:
>
>  
>
>>At the moment, I have one for ETH0 (NET) and ETH1 (LOCAL). I was not
>>sure which woud be the best approach. Adding cards or as Chris
>>suggests.
>>    
>>
>
>Sorry, I neglected to answer that part of the question :)
>
>If you've got no need for a dedicated card, there's virtually no
>difference.  Why would you *need* a dedicated card?
>
>  - You want more than one network (10.0.0.0/24 and 10.1.1.0/24)
>  - You need more bandwidth
>	- You're testing arcane network configurations, kernelspace code or
>	network devices
>	- You need multiple MAC addresses for some bizarre reason
>
>So in general, having multiple addresses on one card is considered A
>Good Thing.
>
>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>wplug mailing list
>wplug at wplug.org
>http://www.wplug.org/mailman/listinfo/wplug
>  
>



More information about the wplug mailing list