Forum: Cfengine Help
Subject: Re: Cfengine3 binds to wrong interface when having multiple interfaces
Author: debheller
Link to topic: https://cfengine.com/forum/read.php?3,22186,22223#msg-22223

It sounds like you may want to look at bindtointerface  for your clients with 
more than one NIC.  We use it quite extensively because we have hosts with a 
management network interface and a primary interface that is dedicated for all 
other traffic.  This is coded in our promises.cf which is read by all hosts.  A 
pseudo-code example of the syntax we use would look like this:


# Use the -mgt interface for all machines that have one
hostname1_my_net::
        bindtointerface => "123.23.44.99";
hostname2_my_net::
        bindtointerface => "123.23.56.77";
hostname3_my_net::
        bindtointerface => "123.54.20.17";


In this way, both your cfengine server and the client will talk over the same 
interface consistantly.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to