Hello,

Community is a 32bit number, represented as a pair of 2 16bit numbers. That is why you can not use big AS numbers in its components. But if your and your peer's equipment supports large communities - you can use them. They have 3 32bit components.

On Mon, Jan 22, 2018 at 11:15 AM, Piotr Marciniak <zboj@mnc.pl> wrote:
Hello,

I've spent a while on below docs and faced a problem with 4B ASN we use.
Bird reports an error 'when 'myas' is 4B => so above 65535.
See some testing example below:

bird> configure
Reading configuration from /etc/bird/bird.conf
/etc/bird/bird.conf, line 81: Value 165250 out of range (0-65535)

The only way this config reports no error is to set here private ASn - fe. 65250. But it will never match our real ASn.

Two questions:

1. Is it possible to enable 4B ASn for communities in Bird? Will it work with other rouers?
2. Can we use instead private ASn just for community filters? Are they processed corretly by other Internet routers of our peers?

Or maybe there is another work around?

Best wishes,

Peter


-----Oryginalna wiadomość----- From: Piotr Marciniak
Sent: Friday, December 29, 2017 5:01 PM
To: Ondrej Zajicek
Cc: bird-users@network.cz
Subject: Re: Community for small IX


There are some examples in BIRD wiki, mainly:

https://gitlab.labs.nic.cz/labs/bird/wikis/Route_server_with_community_based_filtering_and_multiple_RIBs
https://gitlab.labs.nic.cz/labs/bird/wikis/Route_server_with_community_based_filtering_and_single_RIB

--
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."