help-cfengine
[Top][All Lists]
Advanced

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

Re: Virtual network interfaces


From: Jerry Christopher
Subject: Re: Virtual network interfaces
Date: Fri, 22 Nov 2002 06:37:58 -0800
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826

For reference, we've been on 1.6.3 for a couple years now and have had zero issue with Cfengine and logical interfaces on Solaris 7 or 8. Predgrag, can you provide a little more about your config files and how you're trying to set things up? What are you trying to do?

Thanks,
Jerry



Mark.Burgess@iu.hio.no wrote:

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



_______________________________________________






reply via email to

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