<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=utf-8">
<meta name="Generator" content="Microsoft Word 15 (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:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Aptos;}
@font-face
        {font-family:"\@DengXian";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:12.0pt;
        font-family:"Aptos",sans-serif;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Aptos",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1278367917;
        mso-list-type:hybrid;
        mso-list-template-ids:-416152750 -2129131410 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-text:"\(%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l1
        {mso-list-id:1407260821;
        mso-list-template-ids:-1872735986;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></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="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<p style="font-family:Arial Black;font-size:10pt;color:#DBE5F1;margin:5pt;font-style:normal;font-weight:normal;text-decoration:none;" align="Left">
Classified as: Hitachi Rail – Public<br>
</p>
<br>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">I am new for bird/BGP. My configuration as below. Basically it is working as expected except one thing.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">This static routing, I want to advertise this route to BGP peers.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">If I just configured as :  route 192.168.0.0/16,  Bird doesn’t advertise this route unless add it as blackhole<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">blackhole is sink or just drop, why ?<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">protocol static static_bgp {<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">    ipv4; 
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">    check link; 
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">    <span style="background:yellow;mso-highlight:yellow">route 192.168.0.0/16 blackhole;</span> 
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">router id 1.1.1.1;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">filter Filter_Export_Kernel {<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">    if net ~ [ 10.1.0.0/16 ] then {
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">        accept;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">    }<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">    else<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">        reject;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">}<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">protocol kernel {<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">    scan time 10;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">    ipv4 {   
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">        export filter Filter_Export_Kernel; 
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">    };<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">}<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">protocol device {<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">    scan time 10;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">}<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">protocol static static_bgp {<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">    ipv4; 
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">    check link; 
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">    <span style="background:yellow;mso-highlight:yellow">route 192.168.0.0/16 blackhole;</span> 
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">}<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">protocol bgp BGP_INSTANCE_1 {   
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">    local xx.xx.xx.xx as 10001;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">    neighbor yy.yy.yy.yy as 10002;   
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">    ipv4 {<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">        import all;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">        export where proto ="static_bgp";<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">        preference 200;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">    };   
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">    hold time 3;   
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">    bfd on;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">}<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">protocol bfd BFD_INSTANCE_1 {<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">    interface "eth1" {<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">        min rx interval 1 s;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">        min tx interval 1 s;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">        idle tx interval 3000 ms;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">        multiplier 3;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">    };<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">    neighbor yy.yy.yy.yy local xx.xx.xx.xx;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.25in"><span lang="EN-CA" style="font-size:10.0pt;font-family:"Verdana",sans-serif">}</span><span lang="EN-CA" style="font-size:11.0pt"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p style="margin-right:5.0pt"><span style="font-size:10.0pt;font-family:"Calibri",sans-serif">---------------------------------<span style="color:black"><o:p></o:p></span></span></p>
</div>
</div>
<br>
<p style="font-family:Arial Black;font-size:10pt;color:#DBE5F1;margin:5pt;font-style:normal;font-weight:normal;text-decoration:none;" align="Center">
Hitachi Rail – Public<br>
</p>
</body>
</html>