<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hello,<br><br>there is no IGP. I thought that I can resolve the BGP-Next-Hop via static default gateway (0.0.0.0/0).<br>It seems that is not possible.<br>Does anyone have a link where it is written that BGP next-hop is not resolvable via static default gw?<br><br><br><br>But now the good news:<br>I found an old mailing list entry with an snippet that solved my problem.<br><br>filter test {<br> gw = IP-directly-connected-next-hop;<br> accept;<br>}<br><br>protocol bgp {<br> ...<br> import filter test;<br>}<br><br><br>So now every route has a directly connected default gw. every route is resolvable.<br><br><br>The question above is still unanswered.<br>why bgp can't resolve the next hop via default gw<br><br>Further links will be appreciated.<br><br><br>Best regards<br><br><br><br><div>> Subject: Re: iBGP unreachable<br>> To: bird-users@network.cz<br>> From: jan.matejka@nic.cz<br>> Date: Mon, 11 Apr 2016 21:21:24 +0200<br>> <br>> On 04/11/2016 05:13 PM, Panda RoboLegs wrote:<br>> > Hello,<br>> > I am new to Bird and I am trying to set up a Looking-Glass.<br>> > <br>> > I have configured a iBGP-Session with a route-reflector to gather the<br>> > needed routes.<br>> > <br>> > When I do a "show route". Every route I got via BGP is unreachable.<br>> <br>> Is your IGP table correctly feeded?<br>> <br>> > Is there any posibility to solve ths problem without adding an IGP or a<br>> > static route to every next hop?<br>> <br>> I assume that your iBGP sessions are multihop. Therefore at least your<br>> kernel should know where to connect … maybe you can add something like<br>> this (writing without looking into doc, typos may occur):<br>> <br>> protocol kernel {<br>> table igpt;<br>> import all;<br>> export none;<br>> learn;<br>> }<br>> <br>> protocol bgp {<br>> ...<br>> igp table igpt;<br>> }<br>> <br>> This assumes that your IGP table is feeded by another source than this<br>> running Bird.<br>> --<br>> MQ<br></div> </div></body>
</html>