Hi, You should be able to ping the CARP IP addresses from any host (including the master), so something is wrong here.
This can sometimes be due to a routing problem. Your routing table should look similar to; 10.0.0.1 10.0.0.1 UH 0 4 - 4 carp0 10.0.0.2 127.0.0.1 UGHS 0 2 33144 8 lo0 10.0.0.2/32 10.0.0.2 U 0 0 - 4 carp0 10.0.0.3 127.0.0.1 UGHS 0 2 33144 8 lo0 10.0.0.3/32 10.0.0.3 U 0 0 - 4 carp0 Here 10.0.0.1 is the primary IP, and 10.0.0.2 and 10.0.0.3 are secondary carp IPs. Your /etc/hostname.carp file should look like; inet 10.0.0.1 255.255.255.0 10.0.0.255 vhid 1 pass carpsecurehashpasswd advbase 1 advskew 0 inet alias 10.0.0.2 255.255.255.255 inet alias 10.0.0.3 255.255.255.255 Notice the secondary IP's have a /32 subnet (which is correct despite the spurious errors in dmesg during carp fail-overs). It is having the /32 subnet on the secondaries which causes the creation of the additional route entry to lo0. What does your routing table and carp look like? Cheers, Andy. On Tue, 11 Feb 2014 16:50:08 -0500, John Jasen <[email protected]> wrote: > I can't remember specifically where I read it, but I recall specific > warnings somewhere in the CARP documentation about ping and the virtual IP. > > I encountered similar oddities configuring CARP for IPv4 and IPv6. You > may want to look at your route tables. > > On 02/11/2014 04:41 PM, Laurent CARON wrote: >> Hi, >> >> Any clue about this issue ? >> >> Thanks >> >> On Fri, Jan 31, 2014 at 06:13:15PM +0100, Laurent CARON wrote: >>> Hi, >>> >>> I'm currently experiencing what I would call a strange behavior (maybe a >>> total config fuck up on my side, who knows...). >>> >>> I'm basically having 2 boxes acting as a CARP gateway for my servers. >> >> ...snip... >> >>> Problem: I can ping 46.21.116.5 either from the outside world or my >>> inside machines (even the machine not in carp master state), but not >>> from the carp master machine. >> > > > -- > -- John Jasen ([email protected]) > -- No one will sorrow for me when I die, because those who would > -- are dead already. -- Lan Mandragoran, The Wheel of Time, New Spring

