[ixpmanager] IXP Manager Route Server with Bird2 sync/api reconfigure script error.

Barry O'Donovan (INEX) barry.odonovan at inex.ie
Wed May 17 17:27:58 IST 2023


Thanks Earl.

Best to proceed with a 16-bit asn then for now. We'll have to talk a 
harder look at supporting 32-bit asns as the route server asn.

NB: for anyone stumbling upon this, clients with 32-bit asns are not an 
issue. We are speaking only about the route server's own asn.

  - Barry


> Earl Tan <mailto:earl.tan at aftechph.com>
> 17 May 2023 at 17:10
> Thanks Everyone!, I have notified the Network Team about the findings 
> and they'll coordinate with APNIC about the 16-bit ASN.
>
> I tried the conditional changes and applied it as a skin file. I 
> encountered a new error on line 384 "bird: 
> /usr/local/etc/bird/bird-rcbc-rs2-ipv4.conf.284028:381:48 Value 150786 
> out of range (0-65535)". line 381 referred to -> 
> https://github.com/inex/IXP-Manager/blob/master/resources/views/api/v4/router/server/bird2/neighbors.foil.php Line 
> 249 of that file. I added the same conditional used on 
> "community-filter.foil.php" onto Line 249 of neighbors.foil.php ( skin ).
>
> ( After above ) It still produced the initial error msg of "ERROR: 
> non-zero return from /usr/sbin/bird when parsing 
> /usr/local/etc/bird/bird-rcbc-rs2-ipv4.conf.284427" after running 
> "./api-reconfigure-example-birdv2.sh -h rcbc-rs2-ipv4"
>
> I tried running "bird -p -c 
> /usr/local/etc/bird/bird-rcbc-rs2-ipv4.conf.284427" and now the echo's 
> empty.
>
> Thanks!
> Earl Tan
> AF Tech
>
> Barry O'Donovan (INEX) <mailto:barry.odonovan at inex.ie>
> 17 May 2023 at 12:20
>
> I think Frank has hit the jackpot here.
>
> We have traditionally recommended people use a 16-bit ASN with route 
> servers - although I'm not sure how sustainable or valid that advice 
> is in 2023.
>
> Try editing 
> resources/views/api/v4/router/server/bird2/community-filter.foil.php 
> with the following new if statement:
>
> https://gist.github.com/barryo/ded53053ddf9ab86b5bb3a9698f9219a/revisions
>
> Let us know how this works?
>
>  - Barry
>
>
> Frank Habicht via ixpmanager <mailto:ixpmanager at inex.ie>
> 17 May 2023 at 10:37
> Hi,
>
> with
>    routeserverasn     = 150786
> this will not fit into standard communities with (16-bit,16-bit) 
> values :-(
>
> Frank
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> Unsubscribe or change options here: 
> https://www.inex.ie/mailman/listinfo/ixpmanager
> Earl Tan <mailto:earl.tan at aftechph.com>
> 17 May 2023 at 10:03
> Here is the paste of the config file, I also added a Comment saying "# 
> Below is Line 184".
>
> https://pastebin.ibn.ie/?600512ea01b54324#9a1xgftAU54QokXZoMzQ5PixCt64LZBm9w5qxJ6acyyb
>
>
> Barry O'Donovan (INEX) <mailto:barry.odonovan at inex.ie>
> 17 May 2023 at 09:00
> Earl,
>
> could you share the config at line 184 plus sufficient contact before 
> and after that line so we can see what's happening there?
>
> You can use https://pastebin.ibn.ie/ or other similar. Please don't 
> send a screenshot.
>
> Also can you make sure you clearly mark which line is 184 on the paste?
>
> Thanks!
>  - Barry
>
>
>

-- 

Kind regards,
Barry O'Donovan
INEX Operations

https://www.inex.ie/support/
+353 1 531 3339


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20230517/59ad2ef4/attachment.htm>


More information about the ixpmanager mailing list