[ixpmanager] IXP Manager Route Server with Bird2 sync/api reconfigure script error.
Earl Tan
earl.tan at aftechph.com
Wed May 17 17:10:34 IST 2023
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
On Wed, May 17, 2023 at 7:20 PM Barry O'Donovan (INEX) via ixpmanager <
ixpmanager at inex.ie> wrote:
>
> 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 <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 <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) <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
>
>
>
> Earl Tan via ixpmanager <ixpmanager at inex.ie>
> 17 May 2023 at 04:17
> [image: image.png]
>
> This is the error Richard "bird:
> /usr/local/etc/bird/bird-rcbc-rs2-ipv4.conf.281708:184:26 filter
> preevaluation, line 184: Can't operate with value out of bounds in pair
> constructor"
>
>
> <https://aftechph.com>
>
> Earlvin Tan
>
> Software Developer
>
> AF Tech I.T. Solutions
>
> earl.tan at aftechph.com
>
> 3F Gloria Building, Rosales St. Brgy. San Ignacio, Butuan City
>
> aftechph.com
>
>
>
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> Unsubscribe or change options here:
> https://www.inex.ie/mailman/listinfo/ixpmanager
> Richard Laager via ixpmanager <ixpmanager at inex.ie>
> 17 May 2023 at 03:51
> What does bird have to say about it, e.g.:
>
> bird -p -c /usr/local/etc/bird/bird-rcbc-rs2-ipv4.conf.281708
>
>
> --
>
> Kind regards,
> Barry O'Donovan
> INEX Operations
>
> https://www.inex.ie/support/
> +353 1 531 3339
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> Unsubscribe or change options here:
> https://www.inex.ie/mailman/listinfo/ixpmanager
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20230518/1192c0a0/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 8452 bytes
Desc: not available
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20230518/1192c0a0/attachment-0001.png>
More information about the ixpmanager
mailing list