<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">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 class="" style="white-space:pre">       </span>if ( proto = "static_10" ) then {</div><div><span class="" style="white-space:pre">                </span>bgp_community.add((25511,444));</div><div><span class="" style="white-space:pre">            </span>bgp_next_hop=3.100.100.1;</div><div><span class="" style="white-space:pre">          </span>accept;</div><div><span class="" style="white-space:pre">    </span>} else {</div><div><span class="" style="white-space:pre">           </span> reject;</div><div><span class="" style="white-space:pre">   </span>}</div><div>}</div><div><br></div><div>protocol bgp bgp_10 {<br></div><div><span class="" style="white-space:pre">   </span>local as 25511;<br></div><div><span class="" style="white-space:pre">  </span>neighbor Y.Y.Y.Y as 25512;</div><div><span class="" style="white-space:pre"> </span>import all;</div><div><span class="" style="white-space:pre">        </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>