<div dir="ltr"><div><font size="4">Hi there,</font></div><div><font size="4"> I'm having some issues with using bird2 to carry downstream. I have two different types of upstream. One can take downstream and the other cannot. I use</font><font size="4"> bgp_large_community (141011, 3, xxx) to mark every prefix from <font size="4"><font size="4"><font size="4">upstream which <font size="4"><font size="4"><font size="4">can taken <font size="4">downstream</font></font></font></font></font></font></font> and I sent those <font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4">prefixes to my <font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4">downstream</font></font></font></font></font></font></font></font>.</font></font></font></font></font> But when my <font size="4">upstream(which can take <font size="4">downstream) and <font size="4"><font size="4"><font size="4">upstream(which </font></font></font>cannot take <font size="4">downstream) sent the same prefix, bgp_large_community ~ [(141011, 3 *)] then accept would filter both prefixes since they have the same destination. <br></font></font></font></font></font></div><div><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><br></font></font></font></font></font></div><div><font size="4"><font size="4"><font size="4"><font size="4"><font size="4">For example,one has BGP.large_community (141011, 3, 27000) and other not.So this prefix would be filtered, but I don't want it happens.<br></font></font></font></font></font></div><div><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">2600:380:180::/41 unicast [AS38008 00:47:10.975 from 2406:4440::1] * (110) [AS20057i]
</span><br> via 2406:4440::ffff:ffff:ffff:ffff on ens192
<br> Type: BGP univ
<br> BGP.origin: IGP
<br> BGP.as_path: 38008 174 7018 20057
<br> BGP.next_hop: 2406:4440::ffff:ffff:ffff:ffff fe80::b68a:5f00:6456:3005
<br> BGP.local_pref: 100
<br> BGP.aggregator: 107.112.201.68 AS64942
<br> BGP.community: (174,21000) (174,22013) (38008,103)
<br> BGP.large_community: (141011, 1, 22000)
<br> unicast [HOME_1_ARCH 18:06:21.983] (100) [AS20057i]
<br> via 2a02:1218:2475::2 on home_1_arch
<br> Type: BGP univ
<br> BGP.origin: IGP
<br> BGP.as_path: 38136 6939 7018 20057
<br> BGP.next_hop: 2a02:1218:2475::2
<br> BGP.local_pref: 100
<br> BGP.aggregator: 107.112.201.68 AS64942
<br> BGP.originator_id: 103.149.145.104
<br> BGP.cluster_list: 192.168.117.52
<br> BGP.large_community: (38136, 1000, 17) (141011, 3, 27000)
<br> unicast [kskb 00:15:16.848] (100) [AS20057i]<br>
<br></span> </font></font></font></font></font></div><div><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"> In addition, if I successfully export the prefixes that come from <font size="4"><font size="4"><font size="4">upstream can take <font size="4">downstream. When packages go through the kernel, they may also <font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4">go through <font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4">upstreamthat</font></font></font> cannot take <font size="4">downstream.</font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></div><div> <font size="4">My idea is to let two different types of prefixes in different route tables. Table 100(All routing tables from BGP)and Table 101 (Only from Tier 1 ISP and can carry downstream routing table) and use IP rule command let ever prefixes that my <font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4">downstream export to me via table 101. But there are so many prefixes so I do it by manual is impossible. and it seems bird2 doesn't support ip rule.</font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></div><div><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><font size="4"><br></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></div><img src="cid:ii_l2ohz7my0" alt="graph.png" style="margin-right: 0px;" width="582" height="390"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="color:rgb(0,0,0);font-family:"lucida Grande",Verdana;font-size:14px"><b style="font-size:12px;color:rgb(24,43,75);font-family:Helvetica,sans-serif">Huize Team</b></div><div style="color:rgb(0,0,0);font-family:"lucida Grande",Verdana;font-size:14px"><font face="Helvetica, sans-serif" color="#5f5f5f"><span style="font-size:10.6667px">HUIZE LTD</span></font></div><div style="color:rgb(0,0,0);font-family:"lucida Grande",Verdana;font-size:14px"><p class="MsoNormal" style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small"><span style="font-size:8pt;font-family:Helvetica,sans-serif;color:black" lang="EN-HK"><a href="https://huize.asia/" style="outline:none;color:rgb(40,108,69)" target="_blank"><span style="color:rgb(4,74,145)">www.huize.asia</span> </a>| <a href="https://www.ixp.su" style="outline:none;color:rgb(40,108,69)" target="_blank"><span style="color:rgb(4,74,145)">www.ixp.su</span></a> | <a href="https://twitter.com/zhihuiyuze" style="outline:none;color:rgb(17,85,204)" target="_blank">Twitter</a></span></p><p class="MsoNormal" style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small"><br></p><p class="MsoNormal" style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small">This e-mail and any attachments or any reproduction of this e-mail in whatever manner are confidential and for the use of the addressee(s) only. HUIZE LTD can’t take any liability and guarantee of the text of the email message and virus.</p></div></div></div></div>