BFD and Juniper SRX inter-op issue

Oliver bird-o at sernet.de
Mon Aug 23 13:21:09 CEST 2021


Hi Just,

do you made any progress on this? We have the same problem with Deutsche
Telekom as Upstream provider. They also have Juniper Router.

Best regards,

Oliver

On Tue, 10 Aug 2021, Justin Cattle wrote:

> Forgot to mention, in the bird logs I see lofs of message such as this:
> 
> <RMT> bfd1: Bad packet from 1.1.11.2 - unknown session id (0123456789)
> 
> 
> Cheers,
> Just
> 
> 
> On Tue, 10 Aug 2021 at 13:20, Justin Cattle <j at ocado.com> wrote:
> 
> > Hi,
> >
> >
> > I have encountered what seems to be a bug of sorts in the Juniper
> > implementation of BFD in at least their SRX340.
> >
> > We have no issues with the QFX series, where BFD seems to work as expected
> > with bird.
> >
> > 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.
> >
> > Here is the issue summary:
> >
> >    - BFD timers are set quite conservatively
> >       - interval 4000 ms
> >       - multiplier 6
> >
> >
> >    - A BFD session between a bird endpoint and a juniper endpoint is up
> >    and running at the start - all fine
> >    - 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.
> >    - 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 ?
> >    - 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 ?
> >    - If the BFD session info is reset on the Juniper side, then the two
> >    sides will agree session info and BFD status goes Up.
> >
> >
> > Does anyone have any thoughts ?
> >
> > Is there a packet bird can send, gratuitous or not, that can make the
> > juniper end realise it MUST reinitialize ?
> > Any config that can be tweaked to help ?
> >
> >
> > Cheers,
> > Just
> >
> 
> -- 
> 
> 
> Notice: 
> 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.
> 
> 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.
> 
> 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.

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: 0551-370000-0, mailto:kontakt at sernet.de
Gesch.F.: Dr. Johannes Loxen und Reinhild Jung
AG Göttingen: HR-B 2816 - http://www.sernet.de
Datenschutz: https://www.sernet.de/datenschutz



More information about the Bird-users mailing list