Re: Defines for mixed IPv6/IPv4

2024-01-24 Thread Jeroen Massar via Bird-users



> On 24 Jan 2024, at 11:08, Maria Matejka  wrote:
> 
> 
> 
> On 24 January 2024 08:53:19 CET, Jeroen Massar via Bird-users 
>  wrote:
>> 
>> 
>>> On 23 Jan 2024, at 14:13, Nico Schottelius via Bird-users 
>>>  wrote:
>>> 
>>> 
>>> Hello bird users,
>>> 
>>> I am wondering how you handle matching both IPv6 and IPv4 prefixes
>>> efficiently.
>>> 
>>> We have tons of blocks in our config like these:
>> 
>> Generate the configs.
> 
> Not only that, please split IPv6 and IPv4 filters, at least if these are 
> prone to frequent changes.
> 
>> Especially when doing IRR filtering, one simply lets bgpq4 generate the 
>> filters
>> and then drop those definitions into a bird include file, and generate the 
>> peers parts too.
> 
> When doing IRR filtering, please export it as JSON and load it through RTR 
> mechanism. We support multiple ROA tables and this is exactly the use case 
> for it

Mmm... do you mean IRR data (what bgpq4 generates from RPSL) or RPKI data (what 
rpki-client generates from ROAs) ?

As yes, RPKI data we generate into a JSON file and then pass that to a RTR 
which serves it up to bird; but IRR data becomes filter statements ("bgpq4 -b" 
;) )

Greets,
 Jeroen




Re: Defines for mixed IPv6/IPv4

2024-01-24 Thread Alexander Zubkov via Bird-users
Hi,

I want to also show some example of configuration generation:
https://gitlab.com/qratorlabs/example-automatic-filters
There are also a couple of links to other similar projects. Jeroen,
thanks for the reference to kees, I've added it to the list there too.

Regards,
Alexander

On Wed, Jan 24, 2024 at 11:14 AM Maria Matejka via Bird-users
 wrote:
>
>
>
> On 24 January 2024 08:53:19 CET, Jeroen Massar via Bird-users 
>  wrote:
> >
> >
> >> On 23 Jan 2024, at 14:13, Nico Schottelius via Bird-users 
> >>  wrote:
> >>
> >>
> >> Hello bird users,
> >>
> >> I am wondering how you handle matching both IPv6 and IPv4 prefixes
> >> efficiently.
> >>
> >> We have tons of blocks in our config like these:
> >
> >Generate the configs.
>
> Not only that, please split IPv6 and IPv4 filters, at least if these are 
> prone to frequent changes.
>
> >Especially when doing IRR filtering, one simply lets bgpq4 generate the 
> >filters
> >and then drop those definitions into a bird include file, and generate the 
> >peers parts too.
>
> When doing IRR filtering, please export it as JSON and load it through RTR 
> mechanism. We support multiple ROA tables and this is exactly the use case 
> for it.
>
> Maria
>
> --
> Maria Matejka (she/her) | BIRD Team Leader | CZ.NIC, z.s.p.o.
>



Re: Re : Re: BIRD at CSNOG and NANOG

2024-01-24 Thread Ondrej Zajicek
> Le mer. 24 janv. 2024 à 11:54, Benoit Chesneau 
> <[beno...@enki-multimedia.eu](mailto:Le mer. 24 janv. 2024 à 11:54, Benoit 
> Chesneau < a écrit :
> 
> > this is pretty cool. Will it works on freebsd as well?

On Wed, Jan 24, 2024 at 10:55:36AM +, Benoit Chesneau wrote:
> disregard . I misread the first slide :)

Well, the first slide was about BIRD in general.

Most of the MPLS and EVPN code is protocol independent, but the
OS-specific code uses Netlink and assumes Linux. And some implicit
assumtions from Linux probably leak also into the OS-independent
code.

I have no idea how bridging or VXLANs works on BSD.

There is the new BSD netlink API, not sure if it covers also this
features.

-- 
Elen sila lumenn' omentielvo

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



Re : Re: BIRD at CSNOG and NANOG

2024-01-24 Thread Benoit Chesneau
disregard . I misread the first slide :)

benoît

Le mer. 24 janv. 2024 à 11:54, Benoit Chesneau 
<[beno...@enki-multimedia.eu](mailto:Le mer. 24 janv. 2024 à 11:54, Benoit 
Chesneau < a écrit :

> this is pretty cool. Will it works on freebsd as well?
>
> benoît
>
> Le mer. 24 janv. 2024 à 11:10, Ondrej Zajicek 
> <[santi...@crfreenet.org](mailto:Le mer. 24 janv. 2024 à 11:10, Ondrej 
> Zajicek < a écrit :
>
>>> > On Jan 16, 2024, at 20:02, Pim van Pelt via Bird-users 
>>> >  wrote:
>>> >
>>> > Hoi Maria,
>>> >
>>> > Thanks for the headsup! I have been anticipating learning more about the 
>>> > MPLS plans (particularly now that we have Linux CP implementation of MPLS 
>>> > P/PE). I'd love to learn more, even if my Czech isn't fabulous :)
>>> > Ondrej - if there's a presentation or other artefact with details that 
>>> > you can share after your talk, perhaps I can use some Czech friends, or 
>>> > Generative AI to translate it and learn about these upcoming capabilities!
>>>
>>> I’d be interested in the same material as well, but for the EVPN part ;)
>>
>> Hi, here are slides (attached), they are in english.
>>
>> The talk was in czech, there is/will be video recording public somewhere
>> (AFAIK), but most info are in slides, although just in basic points.
>>
>> If you have any questions, feel free to ask.
>>
>> --
>> Elen sila lumenn' omentielvo
>>
>> Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org)
>> "To err is human -- to blame it on a computer is even more so."

Re : Re: BIRD at CSNOG and NANOG

2024-01-24 Thread Benoit Chesneau
this is pretty cool. Will it works on freebsd as well?

benoît

Le mer. 24 janv. 2024 à 11:10, Ondrej Zajicek 
<[santi...@crfreenet.org](mailto:Le mer. 24 janv. 2024 à 11:10, Ondrej Zajicek 
< a écrit :

>> > On Jan 16, 2024, at 20:02, Pim van Pelt via Bird-users 
>> >  wrote:
>> >
>> > Hoi Maria,
>> >
>> > Thanks for the headsup! I have been anticipating learning more about the 
>> > MPLS plans (particularly now that we have Linux CP implementation of MPLS 
>> > P/PE). I'd love to learn more, even if my Czech isn't fabulous :)
>> > Ondrej - if there's a presentation or other artefact with details that you 
>> > can share after your talk, perhaps I can use some Czech friends, or 
>> > Generative AI to translate it and learn about these upcoming capabilities!
>>
>> I’d be interested in the same material as well, but for the EVPN part ;)
>
> Hi, here are slides (attached), they are in english.
>
> The talk was in czech, there is/will be video recording public somewhere
> (AFAIK), but most info are in slides, although just in basic points.
>
> If you have any questions, feel free to ask.
>
> --
> Elen sila lumenn' omentielvo
>
> Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org)
> "To err is human -- to blame it on a computer is even more so."

Re: BIRD at CSNOG and NANOG

2024-01-24 Thread Ondrej Zajicek
> > On Jan 16, 2024, at 20:02, Pim van Pelt via Bird-users 
> >  wrote:
> > 
> > Hoi Maria,
> > 
> > Thanks for the headsup! I have been anticipating learning more about the 
> > MPLS plans (particularly now that we have Linux CP implementation of MPLS 
> > P/PE). I'd love to learn more, even if my Czech isn't fabulous :)
> > Ondrej - if there's a presentation or other artefact with details that you 
> > can share after your talk, perhaps I can use some Czech friends, or 
> > Generative AI to translate it and learn about these upcoming capabilities!
> 
> I’d be interested in the same material as well, but for the EVPN part ;)

Hi, here are slides (attached), they are in english.

The talk was in czech, there is/will be video recording public somewhere
(AFAIK), but most info are in slides, although just in basic points.

If you have any questions, feel free to ask.

-- 
Elen sila lumenn' omentielvo

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


slides-csnog2024-ozajicek.pdf
Description: Adobe PDF document


Re: Defines for mixed IPv6/IPv4

2024-01-24 Thread Maria Matejka via Bird-users



On 24 January 2024 08:53:19 CET, Jeroen Massar via Bird-users 
 wrote:
>
>
>> On 23 Jan 2024, at 14:13, Nico Schottelius via Bird-users 
>>  wrote:
>> 
>> 
>> Hello bird users,
>> 
>> I am wondering how you handle matching both IPv6 and IPv4 prefixes
>> efficiently.
>> 
>> We have tons of blocks in our config like these:
>
>Generate the configs.

Not only that, please split IPv6 and IPv4 filters, at least if these are prone 
to frequent changes.

>Especially when doing IRR filtering, one simply lets bgpq4 generate the filters
>and then drop those definitions into a bird include file, and generate the 
>peers parts too.

When doing IRR filtering, please export it as JSON and load it through RTR 
mechanism. We support multiple ROA tables and this is exactly the use case for 
it.

Maria

-- 
Maria Matejka (she/her) | BIRD Team Leader | CZ.NIC, z.s.p.o.