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 <[EMAIL PROTECTED]> 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
> [email protected]
> http://lists.gnu.org/mailman/listinfo/help-cfengine
>
--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
_______________________________________________
Help-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cfengine