<div dir="ltr">Hi,<div><br></div><div>Have you check the bgp export result from birdc?</div><div>birdc 'show route export peer_isp1' and birdc 'show route export peer_isp2' and see if as path already added.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><br><br>
Best regards,<br>David S.<br>
------------------------------------------------<br><div style="font-size:small"><div><div dir="ltr"><div dir="ltr">e. <a href="mailto:david@zeromail.us" style="color:rgb(17,85,204)" target="_blank">david@zeromail.us</a><br>w. <a href="http://pnyet.web.id/" style="color:rgb(17,85,204)" target="_blank">pnyet.web.id</a></div></div></div></div><span style="font-size:small">p. 087881216110</span><br></div></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Apr 25, 2017 at 2:36 PM, Wojciech Bajorek <span dir="ltr"><<a href="mailto:wojciech.bajorek@gmail.com" target="_blank">wojciech.bajorek@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I have a pretty simple BGP configuration with two ISP and one static subnet to advertise.</div><div>There is also one prepending configured but I'm not sure if it's working.</div><div><br></div><div>The thing is that for some reason when I connect both ISP peers, traffic to the advertised ISP#2 networks (with shorter path) stops working after a couple of seconds. Tracert shows the last hop as ISP#2 border router.</div><div><br></div><div>Similar configuration on Juniper router works without any problem, so I'm afraid that there is an error within my Bird config. </div><div>Can you please help me out?</div><div><br></div><div>PS. Without prepending situation is exactly the same.</div><div><br></div><div>OS: Debian 8</div><div>Bird: 1.4.5-1+deb8u1</div><div><br></div><div><div> </div><div>router id 90.90.90.1;</div><div><br></div><div>protocol kernel {</div><div>        persist;</div><div>        scan time 15;</div><div>        import all;</div><div>        export all;</div><div>}</div><div><br></div><div>protocol device {</div><div>        scan time 10;</div><div>}</div><div><br></div><div>filter bgp_isp1_out {</div><div>        if net = <a href="http://90.90.90.0/24" target="_blank">90.90.90.0/24</a> then</div><div>        {</div><div>                accept;</div><div>        }</div><div>        else reject;</div><div>}</div><div><br></div><div>filter bgp_isp2_out {</div><div>        if net = <a href="http://90.90.90.0/24" target="_blank">90.90.90.0/24</a> then</div><div>        {</div><div>                bgp_path.prepend(12345);</div><div>                bgp_path.prepend(12345);</div><div>                accept;</div><div>        }</div><div>        else reject;</div><div>}</div><div><br></div><div>protocol bgp bgp_isp1 {</div><div>        import all;</div><div>        export filter bgp_isp1_out;</div><div><br></div><div>        local as 12345;</div><div>        neighbor 2.3.4.5 as 2345;</div><div>}</div><div><br></div><div>protocol bgp bgp_isp2 {</div><div>        import all;</div><div>        export filter bgp_isp2_out;</div><div><br></div><div>        local as 12345;</div><div>        neighbor 3.4.5.6 as 3456;</div><div>}</div><div><br></div></div><div><br></div><div>Thank you.</div><div><br></div><div>Regards,</div><div>Wojciech Bajorek</div></div>
</blockquote></div><br></div>