<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-mailStijl17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="NL" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span lang="EN-US">I using a bonded interface for drbd and corosync. Each interface is connected to a different network switch, therefore I&#8217;ll use mode 1 (active-backup). Sometimes a switch is blocking traffic but is still connected on
 the link layer.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">When using miimon to check for active connection a blocked switch is not detected. Therefore I&#8217;m using<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">ARP monitoring and I few IP targets beyond the directly connected switches.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">My question is:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">What is a good value for arp_interval? I&#8217;m using 500ms. Are there some best practice values?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<div style="mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;padding:0cm 0cm 1.0pt 0cm">
<p class="MsoNormal" style="border:none;padding:0cm"><span lang="EN-US">This is a snipped of my config<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US">&#8230;.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"># For the bonding failover, arp monitoring is used.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"># Do not use the directly connected switch IP addresses<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"># to the network interface but devices beyond the
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"># directly connected switches.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"># use IP address on the same subnet as the bonding interface!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"># ON MER1 USE : vmhost1, san1a, san2a, san3a<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#BONDING_OPTS=&quot;mode=1 arp_interval=500 arp_validate=all arp_ip_target=172.16.111.10,172.16.111.20,172.16.111.23,172.16.111.29&quot;
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"># ON MER2 USE: vmhost1, san1b, san2b, san3b<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">BONDING_OPTS=&quot;mode=1 arp_interval=500 arp_validate=all arp_ip_target=172.16.111.10,172.16.111.21,172.16.111.24,172.16.111.30&quot;
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">TYPE=Bonding<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">&#8230;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">----------------------------------------------------------------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Best Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Maurits van de Lande<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal">Van de Lande BV<o:p></o:p></p>
<p class="MsoNormal">Raamsdonksveer<o:p></o:p></p>
<p class="MsoNormal">The Netherlands<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>