help-cfengine
[Top][All Lists]
Advanced

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

Re: defaultroute problem with multiple network interfaces


From: Atom Powers
Subject: Re: defaultroute problem with multiple network interfaces
Date: Fri, 6 Jan 2006 14:44:35 -0800

Maybe:
----
defaultroute:
   128_32_183.!169_229_58::
           128.32.183.254

       169_229_58.!128_32_183.::
           169.229.58.1
----
use cfagent -qv to see which classes are getting defined.

On 1/6/06, Steve Sizemore <address@hidden> wrote:
> We have four subnets to be managed by cfengine. Following the examples
> in the documentation, my cf.main contains
>
>     defaultroute:
>
>         128_32_183::
>             128.32.183.254
>
>         169_229_58::
>             169.229.58.1
>
>         169_229_140::
>             169.229.140.1
>
>         169_229_248::
>             169.229.248.160
>
> and this works fine for hosts with a single NIC.
>
> A few of our servers, however, are connected to multiple subnets,
> and therefore belong to more than one of these classes - e.g.
> 128_32_183 and 169_229_58. On those hosts, cfagent fails -
>
>     cf:cfengine::/var/cfengine/inputs/cf.main:134: Multiple declaration of 
> variable defaultroute
>     cfengine::/var/cfengine/inputs/cf.main:Redefinition of basic system 
> variable
>
> which makes sense, more or less. (Except that it happens even when
> netconfig is not in the actionsequence.)
>
> To fix this, I tried the following,
>
>         128_32_183.!169_229_58::
>             128.32.183.254
>
>         169_229_58::
>             169.229.58.1
>
> However, this gives exactly the same error message.
>
> Assigning the default route is not that important to me, but this
> failure suggests a lack in my understanding of cfengine. In
> particular, the fact that this happens even when netconfig is not in
> the actionsequence list, is disturbing.
>
> Can anyone help me understand what's happening and maybe fix it?
> (BTW, this is cfengine-2.1.17, and the host I'm testing on is running
> FreeBSD 6.0.)
>
> Thanks.
> Steve
> --
> Steve Sizemore <steve (at) ls.berkeley.edu>, (510) 642-8570
> Unix System Manager
>     Dept. of Mathematics and College of Letters and Science
>     University of California, Berkeley
>
>
> _______________________________________________
> Help-cfengine mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-cfengine
>


--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--




reply via email to

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