Extra gratuitous ARPs after CARP switch

  • Hi,

    I've been looking a lot for this, because my ISP's virtual switches are a bit lazy, and almost never the virtual IP floats to the other node…

    I've """fixed""" it with this approach, very elegant as you can see:


    // Call arping to update ARP tables
    shell_exec("/usr/local/sbin/arping -c 3 -S $IPADDR $IPADDR");

    I want to make it right, but i don't know how. I think that I'd hace to register to this hook:

    pkg_call_plugins('plugin_carp', $pluginparams);

    in the same script, but I haven't found how to do it…


Log in to reply