It seems there's a good set of valid use cases for this - would someone care to open a feature request for it? Please use the tracker at https://cfengine.com/dev/projects/core
Best regards, --Diego On Sep 6, 2012, at 4:24 PM, Daniel Bidwell <bidw...@andrews.edu> wrote: > We use routable addresses on loopback devices when we have a pool of > servers all answering to the same (Service) IP address to do some > service with load balancing with the Linux Virtual Server load > balancing. The LVS server answers for the (Service )IP address and then > forwards the packet via mac address to the right application server. > Each application server has the Service IP on a loopback interface and > doesn't arp for it. It works great. We load balance pools of inbound > mail servers, clusters of web servers, anything that does independent > transactions that can be spread over a pool of servers. > > On Thu, 2012-09-06 at 16:08 -0500, Diego Zamboni wrote: >> Aliaksei, >> >> Honestly, I had never heard of a loopback interface being assigned a >> routable IP address. I guess this is why CFEngine ignores it when >> collecting information about the system. This seems to be hardcoded >> behavior, don't know how easy it would be to change. >> >> --Diego >> >> >> On Sep 3, 2012, at 9:58 AM, Aliaksei Sheshka <sheshka...@gmail.com> wrote: >> >>> Hi list! >>> >>> I'm trying to setup cfengine on my network and faced unexpected behavior. >>> Most of my linux nodes have routable IPs defined under lo interface, >>> like 192.168.1.5/32 192.168.78.25/32 and so on, >>> but looks like cfengine doesn't define class with the IPs of the >>> loopback interface. Is it intended behaviour, if so, why ? >>> Then running /var/cfengine/bin/cf-promises -v I'm getting: >>> Defined classes = { 64_bit 8_cpus Afternoon Day3 GMT_Hr14 Hr14 Hr14_Q3 >>> Lcycle_2 Min35 Min35_40 Monday PK_MD5_c7d182a7a3561105b17ce0b7d207c59c >>> Q3 September Yr2012 any as6453_net cfengine cfengine01 >>> cfengine01_as6453_net cfengine_3 cfengine_3_3 cfengine_3_3_5 common >>> community_edition compiled_on_linux_gnu debian debian_6 debian_6_0 >>> have_aptitude linux linux_2_6_32_5_vserver_amd64 linux_x86_64 >>> linux_x86_64_2_6_32_5_vserver_amd64 >>> linux_x86_64_2_6_32_5_vserver_amd64__1_SMP_Sun_May_6_06_53_58_UTC_2012 >>> net verbose_mode x86_64 } >>> That can be done about that ? Assigning routable IPs to loopback is a >>> relatively common thing in the a) multihomed environments b) >>> containerized environments (linux-vserver, FreeBSD jails). >>> _______________________________________________ >>> Help-cfengine mailing list >>> Help-cfengine@cfengine.org >>> https://cfengine.org/mailman/listinfo/help-cfengine >> >> _______________________________________________ >> Help-cfengine mailing list >> Help-cfengine@cfengine.org >> https://cfengine.org/mailman/listinfo/help-cfengine >> >> > > -- > Daniel R. Bidwell | bidw...@andrews.edu > Andrews University | Information Technology Services > If two always agree, one of them is unnecessary > "Friends don't let friends do DOS" > "In theory, theory and practice are the same. > In practice, however, they are not." > > _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine