Forum: Cfengine Help Subject: Re: sys.ipv4 and multiple addr Author: bglomm Link to topic: https://cfengine.com/forum/read.php?3,20692,20694#msg-20694
No, bindtointerface is hardcoding an ip for outgoing traffic... what I need is to promise that some services will be configured with the eth0:0 address while some other services on the same host shall be configured with address that is bound to eth0:1 (i.e. first, second, nth address of interface xy) I need to get the addresses during runtime from the system environment, sys.ipv4 is perfect just that it returns only the last address, I would think of something like sys.ipv4 but that seems not to work ;-/ thnx anyway Bernhard _______________________________________________ Help-cfengine mailing list [email protected] https://cfengine.org/mailman/listinfo/help-cfengine
