help-cfengine
[Top][All Lists]
Advanced

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

Re: defaultroute


From: John Borwick
Subject: Re: defaultroute
Date: Fri, 09 Jul 2004 15:58:40 -0400
User-agent: Mozilla Thunderbird 0.6 (X11/20040610)

Armin Wolfermann wrote:
Red Hat Workstation 3 silently ignores the failure:
[...]
---------------------------------------------------------------------
Network interface configuration
---------------------------------------------------------------------

Assumed interface name: eth1 255.255.255.0 one
Checking interface status...
Looking at default route...
I don't have a Redhat to check, but it works on Gentoo:

Looking at default route...
cfengine:back01: The default packet-route is incorrectly set
cfengine:back01: Please correct this manually using route(1).
cfengine:back01: Setting default route
cfengine:back01: /sbin/route add default gw 192.168.3.1

First, thanks very much for the FreeBSD patch!

Our primary OS is Red Hat. I'd love to figure out how to get netconfig working there. What version of cfengine are you running? 2.1.6?

Relevant output from "cfagent -Kvq -d 1 -d 2 -d 3 -d 4 -f cf.netconfig":
---
Actionsequence item netconfig
---------------------------------------------------------------------
Network interface configuration
---------------------------------------------------------------------

Assumed interface name: eth1 255.255.0.0 one
Checking interface status...
Address given by nameserver: 152.17.2.123
Found netmask: 255.255.0.0
Found broadcast address: 152.17.255.255
Looking at default route...
cfpopen(/bin/netstat -rn)
cfpclose(pp)
cfpopen - Waiting for process 2426
No raw socket protocol for linux
Job start time set to Fri Jul  9 15:57:19 2004

EvaluateORString(any)
(a)(n)(y)GetORATom(any)->any
EvaluateANDString(any)
GetANDATom(any)->any
EvaluateANDString(any) returns true
EvaluateORString(any) returns 1
---------------------------------------------------------------------
Alerts
---------------------------------------------------------------------


--
           John Borwick      | work                 336 758 2507
       Systems Administrator | cell                 336 391 6623
      Wake Forest University | web  http://www.wfu.edu/~borwicjh
      Winston-Salem, NC, USA | GPG key ID               56D60872

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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