<html><body><div style="color:; background-color:; font-family:arial, helvetica, sans-serif;font-size:13px">hi already try ,,,,and I dont know why it dont work to me<br>I use 3 Debian router using BIRD<br>this is my R2 bird.conf<br><br>table T100;<br>table T200;<br><br><br>protocol kernel kT100 {<br>        learn;<br>        scan time 20;<br>        table T100;<br>        kernel table 100;<br>        import all;<br>        export all;<br>}<br><br>protocol kernel kT200 {<br>        learn;<br>        scan time 20;<br>        table T200;<br>        kernel table 200;<br>        import all;<br>        export all;<br>}<br><br><br>protocol bgp {<br>        disabled no;<br>       
 preference 500;<br>        description "to R1";<br><br>        table T100;<br><br>        local  as 200;<br>        neighbor 192.168.12.2 as 100;<br>        hold time 30;<br>        connect retry time 10;<br>        error wait time 15,120;<br><br>        enable route refresh on;<br><br>        import all;<br>        export all;<br>}<br><br>protocol bgp {<br>        disabled no;<br>        preference 500;<br>        description "to R3";<br><br>        table T200;<br><br>        local as 200;<br>        neighbor 192.168.22.2 as 300;<br>        hold time 30;<br>        connect retry time
 10;<br>        error wait time 15,120;<br><br>        enable route refresh on;<br><br>        import all;<br>        export all;<br>}<br><div>------------------------------------------</div><div>and I configure BIRD on R1 to export like this</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">/etc/bird.conf</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">log syslog all;</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style:
 normal;">router id 192.168.12.2;</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">protocol kernel {</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span class="tab">    export all;</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span class="tab">    scan time 15;</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span class="tab">}</span></div><div style="color: rgb(0,
 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span class="tab">protocol bgp {</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span class="tab">    preference 500;</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span class="tab">    imprt all;</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span class="tab">    export all;</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span class="tab">    local as
 100;</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span class="tab">    neighbor 192.168.12.1 as 200;</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span class="tab">}<br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">--------------------------------------------------</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">and for R3</div><div style="color: rgb(0, 0, 0);
 font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">/etc/bird.conf</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">log syslog all;</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">router id 192.168.22.2;</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0);
 font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">protocol kernel {</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span class="tab">    export all;</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span class="tab">    scan time 15;</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span class="tab">}</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span class="tab">protocol bgp {</span></div><div style="color: rgb(0, 0, 0); font-size: 13px;
 font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span class="tab">    preference 500;</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span class="tab">    imprt all;</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span class="tab">    export all;</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span class="tab">    local as 300;</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span class="tab">    neighbor
 192.168.22.1 as 200;</span></div><span class="tab">}</span><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">------------------------------------------------</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;">why it doesnt work?....please help me,,,,,<br><span></span></div><div> <br> <div>----- Pesan Asli -----<br> Dari: Martin Kraus <martin.kraus@wujiman.net><br> Kepada: Ika Kushati <heart_kire1@yahoo.co.id><br> Cc: birduser <bird-users@trubka.network.cz><br> Dikirim: Senin, 11 Februari 2013 16:44<br> Judul: Re: Bls: ASK about BPG multiple routing table<br> <br><br>Hi.<br><br>in
 /etc/bird.conf<br><br>1) define additional routing tables in the main configuration (not under any<br>protocols)<br><br>table T100;<br>table T200;<br><br><br>2) define kernel protocols that will connect these bird routing tables to the<br>kernel routing tables. bird routing table T100 is connected to kernel routing<br>table number 100 and bird routing table T200 is connected to the kernel<br>routing table 200.<br><br><br>protocol kernel kT100 {<br>        learn;<br>        scan time 20;<br>        table T100;<br>        kernel table 100;<br>        import all;<br>        export all;<br>}<br><br>protocol kernel kT200 {<br>        learn;<br>        scan time 20;<br>        table T200;<br>        kernel table 200;<br>        import
 all;<br>        export all;<br>}<br><br>3) configure bgp peers and add the "table" statement into each with the<br>appropriate bird routing table name. (T100 for R1 and T200 for R3) <br><br>protocol bgp {<br>        disabled no;<br>        preference 500;<br>        description "to R1";<br><br>        table T100;<br><br>        local 10.4.7.1  as 65000;<br>        neighbor 10.4.7.2 as 65100;<br>        hold time 30;<br>        connect retry time 10;<br>        error wait time 15,120;<br><br>        enable route refresh on;<br><br>        import all;<br>        export all;<br>}<br><br>protocol bgp {<br>        disabled no;<br>        preference
 500;<br>        description "to R3";<br><br>        table T200;<br><br>        local 10.4.8.1 as 65000;<br>        neighbor 10.4.8.2 as 65200;<br>        hold time 30;<br>        connect retry time 10;<br>        error wait time 15,120;<br><br>        enable route refresh on;<br><br>        import all;<br>        export all;<br>}<br><br><br>4) configure the other routers. I used 2 cisco routers with R1 exporting<br>192.168.100.0/24 from lo0 and R3 exporting 192.168.200.0/24 from lo0.<br><br><br>5) this is what the kernel routing tables look like now<br><br><br><martin|finrod>[~]# ip route show table 100<br>192.168.100.0/24 via 10.4.7.2 dev r1  proto bird <br><martin|finrod>[~]# ip route show table 200<br>192.168.200.0/24 via 10.4.8.2 dev
 r2  proto bird <br><br><br>That is all<br>regards,<br>mk<br> </div> </div> </div></body></html>