On Mon, Jul 04, 2016 at 12:02:59PM +0200, Ondrej Zajicek wrote: > By RFC 4271, BGP message is limited to 4 kB of length. BIRD internally > limits attribute part of a transmitted message to 2 kB. This is > equivalent of 1024 (4 kB) or 512 (2 kB) communities. > > You could replace constants 3072 [1] and 2048 [2] with say 3840 and 3584, > that would allow 3.5 kB of attributes (~ 900 communities). > > [1] proto/bgp/packets.c:372 and proto/bgp/packets.c:465 > [2] proto/bgp/packets.c:385 and proto/bgp/packets.c:481
Do you have https://tools.ietf.org/html/draft-ietf-idr-bgp-extended-messages-12 on your roadmap? This draft bumps the 4 kB limit to ~ 65 kB. Kind regards, Job