help-cfengine
[Top][All Lists]
Advanced

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

Re: Other possible cfengine weak areas?


From: Mark . Burgess
Subject: Re: Other possible cfengine weak areas?
Date: Fri, 23 Jan 2004 11:16:10 +0100 (MET)

You are right -- the code to change the IP address was removed some time
ago. I had forgotten. It happened when the various Unix kernels started
to diverge and the "standard" way of doing this evaporated.

We should rewrite this part of cfengine to palm this off the
ifconfig/ipconfig. That means we need to compile a list of
ifconfig syntaxes for different systems. We could then deal with
ipv6 at the same time.

Mark

On 23 Jan, Tim Nelson wrote:
> On Thu, 22 Jan 2004 Mark.Burgess@iu.hio.no wrote:
> 
>> netconfig in the action sequence comprises the interface
>> configuration. Here there is an "Old way to do it" and a
>> "new way to do it" (see docs). The fact that the actionsequence
>> name does not match the interfaces seciton is a historical
>> quirk, because I orginally solved the problem poorly and ended
>> up rewriting something better.
> 
>       Makes sense now.  Thanks!  But how do I define the IP addresses
> for these interfaces?  I see the source doesn't have any hidden ip address
> options to this, and in fact, doesn't appear to set any ip address at all
> (although I was just looking in parse.c and install.c).  And I'm only on
> 2.1.0p1.
> 
>> > -----
>> > interfaces:
>> >          "eth0:0" netmask=255.255.255.0 broadcast=ones
>> > -----
> 
>       Thanks,
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]