help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Virtual network interfaces


From: Mark . Burgess
Subject: Re: Virtual network interfaces
Date: Fri, 22 Nov 2002 10:07:29 +0100 (MET)

Anyone feel like writing a patch for this?
I'm swamped at present.

M

On 22 Nov, Martin A. Brooks wrote:
> At 09:18 22/11/2002 +0100, you wrote:
> 
>>Hi - I never even heard of virtual network interfaces(!!)
>>I would not know where to start on this one. CAn anyone
>>else help?
> 
> On linux it's known as IP aliasing, and is simply a kernel option you 
> enable.  A regular interface is configured like this:
> 
> ifconfig eth0 192.168.1.2 netmask 255.255.255.0
> route add default gw 192.168.1.1 dev eth0
> 
> With ip aliasing you can then configure another interface like this:
> 
> ifconfig eth0:0 10.119.48.2 netmask 255.255.255.0
> route add default gw 10.119.48.1 dev eth0:0
> 
> and you can keep going up to eth0:255 and then start on eth1.
> 
> Each alias shares the same physical attributes of the card used, so it will 
> have the same MAC address and interface speed and interface byte counts 
> will be cumulative for all aliases.
> 
> Regards
> 
> 
> Martin A. Brooks
> ---------------------------------
> I/O, I/O, it's off to disk we go,
> A bit or byte, to read or write,
> I/O, I/O, I/O......
> 
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-cfengine



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~






reply via email to

[Prev in Thread] Current Thread [Next in Thread]