IPv6 Address Specific BGP Extended Community

Ondrej Zajicek santiago at crfreenet.org
Sat Oct 26 02:24:58 CEST 2024


On Fri, Oct 25, 2024 at 06:07:47PM +0200, Vincent Bernat wrote:
> On 2024-10-25 15:39, Eric Long wrote:
> > Hi all,
> > 
> > BGP flowspec v6 [1] uses IPv6 address specific extended communities [2]
> > for traffic actions, which seems to have no signs of support in BIRD (at
> > least in BIRD 2). Is this planned to support in the future? Is there a
> > good starting point/example where I can refer to to try to implement it
> > in BIRD, since it seems to need to touch a lot of parts of the source
> > code (parser, data types, protocols, etc.)
> 
> Except for redirect, you can use regular extended communities. For example,
> to drop:
> 
> bgp_ext_community.add((generic, 0x80060000, 0x00000000));

If i understand it correctly, one can use regular extended communities
even for the redirect. The IPv6 address-specific extended community is
here just an alternative to type 0x80 / 0x81 / 0x82 extended community.

It just have to match the route-target community used for the VRF.

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
"To err is human -- to blame it on a computer is even more so."


More information about the Bird-users mailing list