<div dir="ltr">Forgot to mention, in the bird logs I see lofs of message such as this:<div><br></div><div><RMT> bfd1: Bad packet from 1.1.11.2 - unknown session id (0123456789)</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div><br></div>Cheers,<div>Just</div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 10 Aug 2021 at 13:20, Justin Cattle <<a href="mailto:j@ocado.com">j@ocado.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div><br></div><div>I have encountered what seems to be a bug of sorts in the Juniper implementation of BFD in at least their SRX340.</div><div><br></div><div>We have no issues with the QFX series, where BFD seems to work as expected with bird.</div><div><br></div><div>I'm wondering if there is anything we can do to handle this issue on the bird side, or if anyone has any insight that may shed some light on the behaviour we are seeing.</div><div><br></div><div>Here is the issue summary:</div><div><ul><li>BFD timers are set quite conservatively</li><ul><li>interval 4000 ms</li><li> multiplier 6</li></ul></ul></div><div><ul><li>A BFD session between a bird endpoint and a juniper endpoint is up and running at the start - all fine</li><li>If the you stop bird on the server, after the Detection time [ currently 24 secs ], the BFD messages from the Juniper show status as Down with the Diagnostic message Control Detection Time Expired. You can then start bird on the server again, and the two sides will agree session info and BFD status goes Up. - This is expected.</li><li>However, if you stop bird, but start it again before the Detection time [ currently 24 secs ], like for a service restart, the BFD messages from the Juniper never show as Down, and the two sides never agree on a BFD session and BFD remains Down on the server but Up on the Juniper. - Should a new session be established at this point ?</li><li>Once the Juniper gets stuck in the BFD status Up state, then you can stop the bird for a long time [ over an hour at least ] , and the Juniper never seems to notice [ the BFD packets still show state Up ]. - This seems to be a bug n the juniper end - why should it never go Down in this state ?</li><li>If the BFD session info is reset on the Juniper side, then the two sides will agree session info and BFD status goes Up.</li></ul></div><div><br></div>Does anyone have any thoughts ?<div><br></div><div>Is there a packet bird can send, gratuitous or not, that can make the juniper end realise it MUST reinitialize ?</div><div>Any config that can be tweaked to help ?<br clear="all"><div><div dir="ltr"><div><br></div><div><br></div>Cheers,<div>Just</div></div></div></div></div>
</blockquote></div>
<br>
<p style="margin:0px;background-color:rgb(255,255,255)"><font face="Calibri, sans-serif" color="#aeaaaa"><span style="font-size:14.6667px">Notice: <br>This email is confidential and may contain copyright material of members of the Ocado Group. Opinions and views expressed in this message may not necessarily reflect the opinions and views of the members of the Ocado Group.<br><br>If you are not the intended recipient, please notify us immediately and delete all copies of this message. Please note that it is your responsibility to scan this message for viruses.<br><br>References to the "Ocado Group" are to Ocado Group plc (registered in England and Wales with number 7098618) and its subsidiary undertakings (as that expression is defined in the Companies Act 2006) from time to time. The registered office of Ocado Group plc is Buildings One & Two, Trident Place, Mosquito Way, Hatfield, Hertfordshire, AL10 9UL.</span></font></p>