ASK about BPG multiple routing table
Hello,, I have a project using BIRD on Debian. It's my first time using BIRD and actually I don't really understand how to use it. The project is: There are 3 routers using Debian. R1----R2---R3 I must configure prefix from R1 will be updated on T100 table on R2 and prefix from R3 to T200 table. I have finished to make all routers connecting each other. But then i dont know what next step is. Should I configure iproute first or BIRD first? And how to configure it? I hope you can help me. Thank you.Sorry for bad english.
On Sat, Feb 09, 2013 at 03:06:16AM -0800, Ika Kushati wrote:
Hello,, I have a project using BIRD on Debian. It's my first time using BIRD and actually I don't really understand how to use it.
The project is: There are 3 routers using Debian.
R1----R2---R3
I must configure prefix from R1 will be updated on T100 table on R2 and prefix from R3 to T200 table. I have finished to make all routers connecting each other. But then i dont know what next step is. Should I configure iproute first or BIRD first? And how to configure it?
Hi. All prefixes from R3 go to T200 and all prefixes from R1 go to T100? or you want both R1 and R3 to have prefixes in the main routing table and only specific prefixes to be moved to T100 and T200? mk
----- Pesan Asli ----- Dari: Martin Kraus <martin.kraus@wujiman.net> Kepada: Ika Kushati <heart_kire1@yahoo.co.id> Cc: birduser <bird-users@trubka.network.cz> Dikirim: Sabtu, 9 Februari 2013 18:48 Judul: Re: ASK about BPG multiple routing table On Sat, Feb 09, 2013 at 03:06:16AM -0800, Ika Kushati wrote:
Hello,, I have a project using BIRD on Debian. It's my first time using BIRD and actually I don't really understand how to use it.
The project is: There are 3 routers using Debian.
R1----R2---R3
I must configure prefix from R1 will be updated on T100 table on R2 and prefix from R3 to T200 table. I have finished to make all routers connecting each other. But then i dont know what next step is. Should I configure iproute first or BIRD first? And how to configure it?
Hi. All prefixes from R3 go to T200 and all prefixes from R1 go to T100? or you want both R1 and R3 to have prefixes in the main routing table and only specific prefixes to be moved to T100 and T200?
mk
all prefix from R1 go to T100 in R2 and all prefix from R3 go to T200 in R2,,,, So when I want to show T100 table ,,,all prefix from R1 will be showed,,,, please help me,,,I am stuck
Hi, Not a answer but a direction. Take a look at the usage examples at: https://redmine.labs.nic.cz/projects/bird/wiki/Examples There is a route server example with multiple routing tables. On Sat, Feb 9, 2013 at 11:01 AM, Ika Kushati <heart_kire1@yahoo.co.id>wrote:
----- Pesan Asli ----- Dari: Martin Kraus <martin.kraus@wujiman.net> Kepada: Ika Kushati <heart_kire1@yahoo.co.id> Cc: birduser <bird-users@trubka.network.cz> Dikirim: Sabtu, 9 Februari 2013 18:48 Judul: Re: ASK about BPG multiple routing table
On Sat, Feb 09, 2013 at 03:06:16AM -0800, Ika Kushati wrote:
Hello,, I have a project using BIRD on Debian. It's my first time using BIRD and actually I don't really understand how to use it.
The project is: There are 3 routers using Debian.
R1----R2---R3
I must configure prefix from R1 will be updated on T100 table on R2 and prefix from R3 to T200 table. I have finished to make all routers connecting each other. But then i dont know what next step is. Should I configure iproute first or BIRD first? And how to configure it?
Hi. All prefixes from R3 go to T200 and all prefixes from R1 go to T100? or you want both R1 and R3 to have prefixes in the main routing table and only specific prefixes to be moved to T100 and T200?
mk
all prefix from R1 go to T100 in R2 and all prefix from R3 go to T200 in R2,,,, So when I want to show T100 table ,,,all prefix from R1 will be showed,,,, please help me,,,I am stuck
-- Christian Lyra PoP-PR/RNP
________________________________ Hi, Not a answer but a direction. Take a look at the usage examples at: https://redmine.labs.nic.cz/projects/bird/wiki/Examples There is a route server example with multiple routing tables. On Sat, Feb 9, 2013 at 11:01 AM, Ika Kushati <heart_kire1@yahoo.co.id> wrote:
----- Pesan Asli ----- Dari: Martin Kraus <martin.kraus@wujiman.net> Kepada: Ika Kushati <heart_kire1@yahoo.co.id> Cc: birduser <bird-users@trubka.network.cz> Dikirim: Sabtu, 9 Februari 2013 18:48 Judul: Re: ASK about BPG multiple routing table
On Sat, Feb 09, 2013 at 03:06:16AM -0800, Ika Kushati wrote:
Hello,, I have a project using BIRD on Debian. It's my first time using BIRD and actually I don't really understand how to use it.
The project is: There are 3 routers using Debian.
R1----R2---R3
I must configure prefix from R1 will be updated on T100 table on R2 and prefix from R3 to T200 table. I have finished to make all routers connecting each other. But then
i dont know what next step is.
Should I configure iproute first or BIRD first? And how to configure it?
Hi. All prefixes from R3 go to T200 and all prefixes from R1 go to T100? or you want both R1 and R3 to have prefixes in the main routing table and only specific prefixes to be moved to T100 and T200?
mk
all prefix from R1 go to T100 in R2 and all prefix from R3 go to T200 in R2,,,, So when I want to show T100 table ,,,all prefix from R1 will be showed,,,,
please help me,,,I am stuck
-- Christian Lyra PoP-PR/RNP
Thanks Christian Lyra already read that,,,,,
but still dont know,,,what i must do first Configure Iproute or Configure bird first,,,, need help ,,,step by step what i must to do,,,,,
Hi. in /etc/bird.conf 1) define additional routing tables in the main configuration (not under any protocols) table T100; table T200; 2) define kernel protocols that will connect these bird routing tables to the kernel routing tables. bird routing table T100 is connected to kernel routing table number 100 and bird routing table T200 is connected to the kernel routing table 200. protocol kernel kT100 { learn; scan time 20; table T100; kernel table 100; import all; export all; } protocol kernel kT200 { learn; scan time 20; table T200; kernel table 200; import all; export all; } 3) configure bgp peers and add the "table" statement into each with the appropriate bird routing table name. (T100 for R1 and T200 for R3) protocol bgp { disabled no; preference 500; description "to R1"; table T100; local 10.4.7.1 as 65000; neighbor 10.4.7.2 as 65100; hold time 30; connect retry time 10; error wait time 15,120; enable route refresh on; import all; export all; } protocol bgp { disabled no; preference 500; description "to R3"; table T200; local 10.4.8.1 as 65000; neighbor 10.4.8.2 as 65200; hold time 30; connect retry time 10; error wait time 15,120; enable route refresh on; import all; export all; } 4) configure the other routers. I used 2 cisco routers with R1 exporting 192.168.100.0/24 from lo0 and R3 exporting 192.168.200.0/24 from lo0. 5) this is what the kernel routing tables look like now <martin|finrod>[~]# ip route show table 100 192.168.100.0/24 via 10.4.7.2 dev r1 proto bird <martin|finrod>[~]# ip route show table 200 192.168.200.0/24 via 10.4.8.2 dev r2 proto bird That is all regards, mk
hi already try ,,,,and I dont know why it dont work to me I use 3 Debian router using BIRD this is my R2 bird.conf table T100; table T200; protocol kernel kT100 { learn; scan time 20; table T100; kernel table 100; import all; export all; } protocol kernel kT200 { learn; scan time 20; table T200; kernel table 200; import all; export all; } protocol bgp { disabled no; preference 500; description "to R1"; table T100; local as 200; neighbor 192.168.12.2 as 100; hold time 30; connect retry time 10; error wait time 15,120; enable route refresh on; import all; export all; } protocol bgp { disabled no; preference 500; description "to R3"; table T200; local as 200; neighbor 192.168.22.2 as 300; hold time 30; connect retry time 10; error wait time 15,120; enable route refresh on; import all; export all; } ------------------------------------------ and I configure BIRD on R1 to export like this /etc/bird.conf log syslog all; router id 192.168.12.2; protocol kernel { export all; scan time 15; } protocol bgp { preference 500; imprt all; export all; local as 100; neighbor 192.168.12.1 as 200; } -------------------------------------------------- and for R3 /etc/bird.conf log syslog all; router id 192.168.22.2; protocol kernel { export all; scan time 15; } protocol bgp { preference 500; imprt all; export all; local as 300; neighbor 192.168.22.1 as 200;} ------------------------------------------------ why it doesnt work?....please help me,,,,, ----- Pesan Asli ----- Dari: Martin Kraus <martin.kraus@wujiman.net> Kepada: Ika Kushati <heart_kire1@yahoo.co.id> Cc: birduser <bird-users@trubka.network.cz> Dikirim: Senin, 11 Februari 2013 16:44 Judul: Re: Bls: ASK about BPG multiple routing table Hi. in /etc/bird.conf 1) define additional routing tables in the main configuration (not under any protocols) table T100; table T200; 2) define kernel protocols that will connect these bird routing tables to the kernel routing tables. bird routing table T100 is connected to kernel routing table number 100 and bird routing table T200 is connected to the kernel routing table 200. protocol kernel kT100 { learn; scan time 20; table T100; kernel table 100; import all; export all; } protocol kernel kT200 { learn; scan time 20; table T200; kernel table 200; import all; export all; } 3) configure bgp peers and add the "table" statement into each with the appropriate bird routing table name. (T100 for R1 and T200 for R3) protocol bgp { disabled no; preference 500; description "to R1"; table T100; local 10.4.7.1 as 65000; neighbor 10.4.7.2 as 65100; hold time 30; connect retry time 10; error wait time 15,120; enable route refresh on; import all; export all; } protocol bgp { disabled no; preference 500; description "to R3"; table T200; local 10.4.8.1 as 65000; neighbor 10.4.8.2 as 65200; hold time 30; connect retry time 10; error wait time 15,120; enable route refresh on; import all; export all; } 4) configure the other routers. I used 2 cisco routers with R1 exporting 192.168.100.0/24 from lo0 and R3 exporting 192.168.200.0/24 from lo0. 5) this is what the kernel routing tables look like now <martin|finrod>[~]# ip route show table 100 192.168.100.0/24 via 10.4.7.2 dev r1 proto bird <martin|finrod>[~]# ip route show table 200 192.168.200.0/24 via 10.4.8.2 dev r2 proto bird That is all regards, mk
Hallo! I have a problem, how to export a whole routing table to other router with BIRD? R1----R2---R3 | | R4 Prefix from R1 already read in table T100 on R2, and prefix from R3 in table T200. Now I have to export only T100 to R4. How to do that? Why there are nothing showed when i use this command? birdc>show route Help me pls,,,, I am new in using BIRD thanks for helping me before ,,,,
Hai,,, I have problem with my BGP configuration,,,, It cant established,,, the status is ACTIVE : Connection reset by peer Anyone know why this occurs? I think my BGP configuration is right,,,
already solved this problem,,,, now,,,i want to filter all path that included AS 700,,,,not only first and last path,,,, but I dont know how to do it,,,,what command i must write in bird.conf filtering,,, please help me ,,, thanks before ________________________________
Hai,,,
I have problem with my BGP configuration,,,, It cant established,,, the status is
ACTIVE : Connection reset by peer
Anyone know why this occurs? I think my BGP configuration is right,,,
participants (3)
-
Christian Lyra -
Ika Kushati -
Martin Kraus