<div dir="ltr">That's the difference between iBGP and eBGP:<br><br><a href="https://tools.ietf.org/html/rfc4271#section-5.1.3">https://tools.ietf.org/html/rfc4271#section-5.1.3</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 7, 2015 at 5:39 AM, Jan Huňka <span dir="ltr"><<a href="mailto:jan.hunka@gmail.com" target="_blank">jan.hunka@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">Hello, <div><br></div><div>I'm currently trying to configure BIRD for BGP injection. Routes which are added on BIRD should be distributed to specified neighbor router (in this case Cisco) and added to it's routing table. I also need to specify next-hop IP address of these routes, because injected routes should divert the matching traffic through another way until BIRDS stops to distribute these routes. </div><div><br></div><div>I was able to configure BIRD to inject these routes with specified next-hop using internal BGP. But I also need it to work with external BGP. The problem is that the next-hop IP of injected routes is a directly connected network of the Cisco router and not BIRD's. BIRD doesn't know anything about this network. So the question is, is it possible to inject routes from BIRD to Cisco router using external BGP with next-hop IP address, which is not directly connected to the BIRD router? </div><div><br></div><div>I should add that the BGP injection using external BGP works too, but only If the next-hop IP is a directly connected network od the BIRD router.</div><div><br></div><div>Thank you for any advice.</div><div><br></div><div>Jan Huňka</div><div><br></div><div><br></div><div>Configuration of BIRD:</div><div><div><br></div><div>protocol device {</div><div> scan time 10;</div><div>}</div><div><br></div><div>protocol static static_10 {<br></div><div> route <a href="http://5.100.100.0/24" target="_blank">5.100.100.0/24</a> reject;</div><div>}<br></div><div><br></div><div># filters section (DO NOT REMOVE!)</div><div>filter filter_10 {</div><div><span style="white-space:pre-wrap"> </span>if ( proto = "static_10" ) then {</div><div><span style="white-space:pre-wrap"> </span>bgp_community.add((25511,444));</div><div><span style="white-space:pre-wrap"> </span>bgp_next_hop=3.100.100.1;</div><div><span style="white-space:pre-wrap"> </span>accept;</div><div><span style="white-space:pre-wrap"> </span>} else {</div><div><span style="white-space:pre-wrap"> </span> reject;</div><div><span style="white-space:pre-wrap"> </span>}</div><div>}</div><div><br></div><div>protocol bgp bgp_10 {<br></div><div><span style="white-space:pre-wrap"> </span>local as 25511;<br></div><div><span style="white-space:pre-wrap"> </span>neighbor Y.Y.Y.Y as 25512;</div><div><span style="white-space:pre-wrap"> </span>import all;</div><div><span style="white-space:pre-wrap"> </span>export filter filter_10;</div><div>}</div></div><div><br></div><div>Configuration of the bgp process on the CISCO router:</div><div><br><div>router bgp 25512</div><div> neighbor X.X.X.X remote-as 25511<br></div><div>!<br></div><div>address-family ipv4</div><div> neighbor X.X.X.X activate<br></div><div> no auto-summary<br></div><div>!<br></div></div><div><br></div><div><br></div></div>
</blockquote></div><br></div>