<div dir="ltr">Dear Leon,<br><div>Thanks for your help, in $IXPROOT/resources/views/api/v4/router/server/bird2 inside which file we need to change next_hop for blackhole community or even specific community?</div><div>And how?</div><div>Thanks</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 28, 2020 at 7:00 PM Leon Meßner <<a href="mailto:l.messner@physik.tu-berlin.de">l.messner@physik.tu-berlin.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear Behnam,<br>
<br>
On Mon, 26 Oct 2020 11:27:31 +0330<br>
Behnam Yazdani <<a href="mailto:behnamyazdani@gmail.com" target="_blank">behnamyazdani@gmail.com</a>> wrote:<br>
> We want to implement RTBH service in our IX environment, currently we have activated IRRDB filtering. for this purpose we have deployed two Servers used as blackhole next-hop, they inject an ARP response to members that populate IX switches with BH-MAC, this BH-MAC is dropped on all IX switches. In our current deployment members will have to establish a new BGP session with a dedicated Blackhole Router. we want to integrate BH service with IXP manager route servers, however, there are two issue what we need to resolve for this purpose:<br>
> 1) We need to change BH next-hop to the IP address of BH servers that their MAC is later dropped in IX switches’ CAM table, and I need to know how can we implement this in IXPmanager <br>
> 2) we need to change IRRDB filter so that generated prefix filters accepts /32 prefixes advertised by members, for example there’s a route object for <a href="http://192.0.2.0/24" rel="noreferrer" target="_blank">192.0.2.0/24</a> with AS65535 as origin. By default generated prefix-list will have /24 mask for AS65535 member, but we need IXP manager to generate prefix filter that accepts <a href="http://192.0.2.0/24" rel="noreferrer" target="_blank">192.0.2.0/24</a> Le 32 from AS65535<br>
<br>
have you considered skinning your routeserver templates[1]? You can<br>
find the stock templates for bird v1(v2) at<br>
$IXPROOT/resources/views/api/v4/router/server/bird(2). In your skinned<br>
version you can then change bgp_next_hop in the sessions export filter.<br>
Newer IXP-Managers have a checkbox in the Webinterface to accept<br>
more-specifics. You can find the relevant line in the<br>
bird2/neighbors.foil.php template looking for prefixExactToLessSpecific.<br>
If you want the BH RS behaviour to be independent of that checkbox<br>
something like<br>
<br>
allnet = [ <?= implode( ', ', preg_filter('/$/', '+', $int['irrdbfilter_prefixes']) ) ?> ];<br>
<br>
should also work.<br>
<br>
Regards,<br>
Leon<br>
<br>
[1] <a href="https://docs.ixpmanager.org/features/skinning/" rel="noreferrer" target="_blank">https://docs.ixpmanager.org/features/skinning/</a><br>
> <br>
> How should we configure IXP manager to resolve these two issues<br>
> P.S. we’re using bird as our route server<br>
> <br>
> Thanks for your help<br>
> _______________________________________________<br>
> INEX IXP Manager mailing list<br>
> <a href="mailto:ixpmanager@inex.ie" target="_blank">ixpmanager@inex.ie</a><br>
> Unsubscribe or change options here: <a href="https://www.inex.ie/mailman/listinfo/ixpmanager" rel="noreferrer" target="_blank">https://www.inex.ie/mailman/listinfo/ixpmanager</a><br>
<br>
_______________________________________________<br>
INEX IXP Manager mailing list<br>
<a href="mailto:ixpmanager@inex.ie" target="_blank">ixpmanager@inex.ie</a><br>
Unsubscribe or change options here: <a href="https://www.inex.ie/mailman/listinfo/ixpmanager" rel="noreferrer" target="_blank">https://www.inex.ie/mailman/listinfo/ixpmanager</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><br></div><div>Cheers, Shahab</div></div></div></div></div>