Node: interfaces, Neste: , Forrige: import, Opp: Command reference



interfaces

     
      interfaces:
     
        classes::
     
          interfacename netmask=netmask broadcast=broadcast
     
     

If you have more than one network interface, or you do not wish to use the default interface name, this section may be used to define further interfaces to be checked. This feature can replace the older method of setting netmask and broadcast address in control:. If the netmask variable is not set, cfengine ignores the default interface configuration. Example:

     
       interfaces:
     
         "le1" netmask=255.255.255.0 broadcast=ones
         "le2" netmask=255.255.255.0 broadcast=ones