Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Extra gratuitous ARPs after CARP switch

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    1 Posts 1 Posters 617 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      cfernandez
      last edited by

      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:

      /etc/rc.carpmaster

      
      // 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…

      Thanks!!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.