CARP alternative



  • Hi!

    I have two PFSense machines running in a virtual datacenter.
    Unfortunately, the provider does not support CARP in that datacenter.
    I wonder if there is any CARP alternative out there that can be used with PFSense?

    For the Linux machines, I am using keepalived, which works perfectly fine. However, keepalived
    support for FreeBSD has been abandoned long ago, and I am not sure if I should even
    try to get it running on PFSense.

    Do you have any suggestions or hints?

    Thanks!
    Jesper


  • Rebel Alliance Developer Netgate

    There are no alternatives to failover, CARP is the only working mechanism at the moment.

    We're looking at freevrrpd but if the provider doesn't support CARP, that's unlikely to work either as the base mechanism is similar.



  • Aww…, thanks for the info.

    Keepalived uses VRRP, too, and it works. So maybe the freevrrpd could work as well.
    I'll take a closer look at the differences between these protocols.

    Do you think there will be a PFSense package to test freevrrpd in the near future?
    Just tell me if you need a beta tester  :)


  • Rebel Alliance Developer Netgate

    CARP sends the same type of traffic that VRRP does, only a slightly different format. I find it hard to believe that VRRP would work but CARP would not in the same environment.

    No ETA on any testing for anything, it's not clear when we might get around to trying that out. Certainly not for 2.4.



  • CARP sends the same type of traffic that VRRP does, only a slightly different format.

    As far as I can tell from the man page of CARP and the VRRP RFC, there is a difference in the traffic.
    VRRP promotes a single virtual MAC address, whereas CARP makes use of a multicast MAC address.

    The OpenBSD man page (http://man.openbsd.org/OpenBSD-current/man4/carp.4) says:

    However, there are a few OS and routers that do not accept a multicast MAC address being mapped to a unicast IP.

    Which I believe could cause some trouble, though I am neither a network nor a virtualization expert.
    The manual also describes some work arounds (i.e. ip-stealth mode), which I think are not a good idea to
    use in a network managed by someone else.

    Anyhow, you are propably right about saying that using CARP should be possible, too…

    Cheers!



  • Just for the record, my provider confirmed that the Multicast MAC is the problem.
    Their cloud network infrastructure doesn't support it yet.
    Perhaps they are using Infiband which makes trouble or so, I don't know.  :o