<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I have 4 routers:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">ISP1 ISP2<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> l l<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">A1 A2<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> l------------------l<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">B1 B2<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">A1 is directly connected to its’ on ISP and A2 is directly connected to its’ own ISP, too.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">A1 and A2 are performing eBGP, iBGP and OSPF.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I already configured all protocols and distributed the default gateway (A{1,2}) for B{1,2}.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">For that I created a 0.0.0.0/0 route in the static section of A{1,2} and filtered it out in the BGP-, OSPF-, and Kernel-table of A{1,2}:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><i><span lang="EN-US">import filter { if net = 0.0.0.0/0 then reject; accept};<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span lang="EN-US">export all;<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span lang="EN-US"><o:p> </o:p></span></i></p>
<p class="MsoNormal"><span lang="EN-US">So, basicly A{1,2} should throw this default-route only in OSPF and they should not have the default-route in their own routing-table.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">But, unfortunately, A{1,2} actually do have this route in their table.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">How do I have to configure my protocols so that A{1,2} do not show this behavior?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">In my understandings, routers like A{1,2} should not have a default-route in their routing-table…<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">My 2<sup>nd</sup> desire is the following:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">A{1,2} should throw the default-route in the OSPF area <only> if the BGP adjacency is reachable and the BGP peer is formed (BGP state should be established).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Is this desire realizable with bird only?
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Has somebody already conquered this challenge? Or was it even a problem for anyone?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks in advance.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Sascha<o:p></o:p></span></p>
</div>
</body>
</html>