[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: defaultroute ?
From: |
Ronan KERYELL |
Subject: |
Re: defaultroute ? |
Date: |
09 Jul 2001 10:19:04 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
>>>>> On Thu, 5 Jul 2001 13:25:25 +0200 (MET DST), address@hidden said:
Mark> On 2 Jul, Ronan KERYELL wrote:
>> But where is gone the "defaultroute" action (at least in 2.0.a11) ?
>>
>> If I use for example : actionsequence = ( defaultroute directories
>> files copy editfiles links resolve shellcommands processes )
>>
>> I get :
>> *********************************************************************
>> Sched: defaultroute pass 1
>> *********************************************************************
>>
>> No actionmatched defaultroute cf:gavotte::Undefined action
>> defaultroute in sequence
>>
>> And indeed the case of defaultroute does not seem to be take into
>> accounnt in cfagent.c:EvaluateAction() because it is not in
>> globals.c:ACTIONSEQTEXT[]. Should be in enum aseq too ?
>>
>> Thank you,
Mark> There is no specific action for this. Take a look at the manual.
Yes, you're right, but I think this is misleading...
It could be changed as :
netconfig
checks the netmask, hostname, IP address and broadcast address for
the current host. The correct values for the netmask and broadcast
address are set if there is an error. The defaultroute is also added
to the static routing table. This does not apply to DHCP clients.
->
netconfig
checks the netmask, hostname, IP address and broadcast address for
the current host. The correct values for the netmask and broadcast
address are set if there is an error. The defaultroute is only matched
against the static routing table and a warning message is issued if
they differ. This does not apply to DHCP clients.
defaultroute
Dynamical routing is not configurable in cfengine, but for machines
with static routing tables it is useful to check that a default route
is configured to point to the nearest gateway or router. The syntax
for this statement is simply:
->
defaultroute
Routing is not configurable in cfengine, but for machines
with static routing tables it is useful to check that a default route
is configured to point to the nearest gateway or router. The
"defaultroute" statement defines the default route that will be
checked by the "netconfig" action sequence. The syntax
for this statement is simply:
Thank you,
--
Ronan KERYELL |\/
Labo Informatique Télécom |/) Tel: (+33|0) 2.29.00.14.15
ENST Bretagne, BP832 K Fax: (+33|0) 2.29.00.12.82
29285 BREST CEDEX |\ E-mail: address@hidden
FRANCE | \ http://www-info.enst-bretagne.fr/~keryell
- defaultroute ?, Ronan KERYELL, 2001/07/02
- Re: defaultroute ?,
Ronan KERYELL <=