nanog mailing list archives
Re: Setting sensible max-prefix limits
From: Tom Beecher <beecher () beecher cc>
Date: Wed, 18 Aug 2021 09:21:41 -0400
While there are good solutions in this thread, some of them have scaling issues with operator overhead. We recently implemented a strategy that I proposed a couple years ago that uses a bucket system. We created 5 or 6 different buckets of limit values (for v4 and v6 of course.) Depending on what you have published in PeeringDB (or told us directly what to expect), you're placed in a bucket that gives you a decent amount of headroom to that bucket's max. If your ASN reaches 90% of your limit, our ops folks just move you up to the next bucket. If you start to get up there in the last bucket, then we'll take a manual look and decide what is appropriate. This covers well over 95% of our non-transit sessions, and has dramatically reduced the volume of tickets and changes our ops team has had to sort through. Of course, we can also afford to be a little looser in limits based on the capability of the equipment that these sessions land on, other environments may require tighter restrictions. On Wed, Aug 18, 2021 at 5:34 AM Lars Prehn <lprehn () mpi-inf mpg de> wrote:
As I understand by now, it is highly recommended to set a max-prefix limit for peering sessions. Yet, I can hardly find any recommendations on how to arrive at a sensible limit. I guess for long standing peers one could just eyeball it, e.g., current prefix count + some safety margin. How does that work for new peers? Do you negotiate/exchange sensible values whenever you establish a new session? Do you rely on PeeringDB (if available)? Do you apply default values to everyone except the big fishes? Apart from your peers, do you also apply a limit to your transit sessions? Best regards, Lars
Current thread:
- Re: PeerinDB refuses to register certain networks [was: Setting sensible max-prefix limits], (continued)
- Re: PeerinDB refuses to register certain networks [was: Setting sensible max-prefix limits] Brielle (Aug 19)
- Re: PeerinDB refuses to register certain networks [was: Setting sensible max-prefix limits] Seth Mattinen (Aug 19)
- Re: PeerinDB refuses to register certain networks [was: Setting sensible max-prefix limits] Stefan Funke (Aug 20)
- Re: Setting sensible max-prefix limits Lukas Tribus (Aug 18)
- Re: Setting sensible max-prefix limits Chriztoffer Hansen (Aug 18)
- Re: Setting sensible max-prefix limits Lukas Tribus (Aug 18)
- Re: Setting sensible max-prefix limits Hank Nussbacher (Aug 18)
- Re: Setting sensible max-prefix limits Dale W. Carder (Aug 18)
- Re: Setting sensible max-prefix limits Saku Ytti (Aug 18)
- Re: Setting sensible max-prefix limits Lars Prehn (Aug 18)
- Re: Setting sensible max-prefix limits Tom Beecher (Aug 18)
- Re: Setting sensible max-prefix limits tim () pelican org (Aug 18)
- Re: Setting sensible max-prefix limits Tom Beecher (Aug 18)
- Re: Setting sensible max-prefix limits tim () pelican org (Aug 18)
- Re: Setting sensible max-prefix limits John Kristoff (Aug 18)
- Re: Setting sensible max-prefix limits Jared Mauch (Aug 18)
- Re: Setting sensible max-prefix limits Jon Lewis (Aug 18)
- Re: Setting sensible max-prefix limits Andrew Gallo (Aug 18)
