[wplug] Multiple Static IP's

Ken Rambler ken at ramblernet.com
Thu Jun 16 09:37:11 EDT 2005


That seems to be the correct answer (or at least one way). I just have
not had to do this so I was unsure, but several resources suggest the
same aliasing method. Thanks to everyone for input!
-Ken
-----Original Message-----
From: wplug-bounces+ken=ramblernet.com at wplug.org
[mailto:wplug-bounces+ken=ramblernet.com at wplug.org] On Behalf Of Edward
Walter
Sent: Wednesday, June 15, 2005 10:54 PM
To: General user list
Subject: Re: [wplug] Multiple Static IP's


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.
>
>
>  


-- 
This message has been scanned for viruses and
dangerous content by Ramblernet's MailScanner,
 and is believed to be clean.



More information about the wplug mailing list