Hi Bird users, I am trying to migrate the config from 1.6 to 2.0 on CentOS 8. I tried to follow https://gitlab.labs.nic.cz/labs/bird/wikis/transition-notes-to-bird-2 but my test config didn't work. Is there another guide or wiki I can follow to be able to migrate to version 2 ? Thank you ! [...] router id 206.x.y.z; table as65533; table blackholes; [...] # Scans and learns of blackhole routes from table 10, every 10 seconds protocol kernel rtbh { table blackholes; kernel table 10; scan time 20; learn; import filter rtbh_pipe; export all; } # Merges kernel route table 10 into the virtual as65533 routing table protocol pipe { table as65533; peer table blackholes; mode transparent; import filter rtbh_pipe; } protocol bgp ege1a_50_4 { table as65533; description "ege1a_50_4"; local as 65533; neighbor 1.1.1.1 as 12345; multihop; source address 206.x.y.z; # What local address we use for the TCP connection export where source=RTS_STATIC; export filter bgp_out_upstream; }
Hi, Looks like you have missed the channels part. It is one of the major changes from 1.6 to 2. On Fri, Jan 10, 2020 at 1:56 AM Mario Rossi <mrossi@hostopia.com> wrote:
Hi Bird users,
I am trying to migrate the config from 1.6 to 2.0 on CentOS 8. I tried to follow https://gitlab.labs.nic.cz/labs/bird/wikis/transition-notes-to-bird-2 but my test config didn't work. Is there another guide or wiki I can follow to be able to migrate to version 2 ?
Thank you !
[...] router id 206.x.y.z;
table as65533; table blackholes; [...]
# Scans and learns of blackhole routes from table 10, every 10 seconds protocol kernel rtbh { table blackholes; kernel table 10; scan time 20; learn; import filter rtbh_pipe; export all; }
# Merges kernel route table 10 into the virtual as65533 routing table protocol pipe { table as65533; peer table blackholes; mode transparent; import filter rtbh_pipe; }
protocol bgp ege1a_50_4 { table as65533; description "ege1a_50_4"; local as 65533; neighbor 1.1.1.1 as 12345; multihop; source address 206.x.y.z; # What local address we use for the TCP connection export where source=RTS_STATIC; export filter bgp_out_upstream; }
Hello!
I am trying to migrate the config from 1.6 to 2.0 on CentOS 8. I tried to follow https://gitlab.labs.nic.cz/labs/bird/wikis/transition-notes-to-bird-2 but my test config didn't work. Is there another guide or wiki I can follow to be able to migrate to version 2 ?
What didn't work? Could you please send the 1.6 and 2.0 configs to let us figure out what is exactly wrong?
export where source=RTS_STATIC; export filter bgp_out_upstream;
BTW, these two lines in one protocol should be invalid even in 1.6. Maria -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
Aargh, I messed up the reply. Please send the 1.6 config and 2.0 config and what is wrong. We can't figure out the cause from this. Maria On January 10, 2020 8:58:11 AM GMT+01:00, "Maria Matějka" <maria.matejka@nic.cz> wrote:
Hello!
I am trying to migrate the config from 1.6 to 2.0 on CentOS 8. I tried
to follow https://gitlab.labs.nic.cz/labs/bird/wikis/transition-notes-to-bird-2 but my test config didn't work. Is there another guide or wiki I can follow to be able to migrate to version 2 ?
What didn't work? Could you please send the 1.6 and 2.0 configs to let us figure out what is exactly wrong?
export where source=RTS_STATIC; export filter bgp_out_upstream;
BTW, these two lines in one protocol should be invalid even in 1.6.
Maria
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.
Hi Maria, After trial and error, I managed to get rid of the bird startup errors. At this point I am looking for validation of the configs ( are the below 1.6 and 2.0 equivalent ? ) Thank you! .1.6 config [...] router id 206.x.y.z; table as65533; table blackholes; [...] # Scans and learns of blackhole routes from table 10, every 10 seconds protocol kernel rtbh { table blackholes; kernel table 10; scan time 20; learn; import filter rtbh_pipe; export all; } # Merges kernel route table 10 into the virtual as65533 routing table protocol pipe { table as65533; peer table blackholes; mode transparent; } protocol bgp ege1a_50_4 { table as65533; description "ege1a_50_4"; local as 65533; neighbor 1.1.1.1 as 12345; multihop; source address 206.x.y.z; # What local address we use for the TCP connection export where source=RTS_STATIC; } 2.0 config: # Override router ID router id 206.x.y.z; # Define another routing table ipv4 table as65533; ipv4 table blackholes; protocol kernel rtbh { kernel table 10; scan time 10; learn; ipv4 { table blackholes; export all; }; } # Merges kernel route table 10 into the virtual as65533 routing table protocol pipe { table as65533; peer table blackholes; #mode transparent; } protocol bgp ege2a_50_4 { local as 65533; neighbor 1.1.1.1 as 12345; source address 206.x.y.z; description "EDGE2a.50.MIA"; multihop; ipv4 { table as65533; import all; export where source=RTS_STATIC; }; } On 1/10/20 4:53 AM, Maria Matějka wrote:
Aargh, I messed up the reply.
Please send the 1.6 config and 2.0 config and what is wrong. We can't figure out the cause from this.
Maria
On January 10, 2020 8:58:11 AM GMT+01:00, "Maria Matějka" <maria.matejka@nic.cz> wrote:
Hello!
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.
Hi! * You dropped the rtbh_pipe import filter in protocol kernel rtbh. * You have a different description for the bgp protocol (and name also). * You added import all to the bgp protocol. (Which is probably OK.) The rest is equivalent. Maria On 1/13/20 8:18 PM, Mario Rossi wrote:
Hi Maria,
After trial and error, I managed to get rid of the bird startup errors. At this point I am looking for validation of the configs ( are the below 1.6 and 2.0 equivalent ? ) Thank you!
.1.6 config [...] router id 206.x.y.z;
table as65533; table blackholes; [...]
# Scans and learns of blackhole routes from table 10, every 10 seconds protocol kernel rtbh { table blackholes; kernel table 10; scan time 20; learn; import filter rtbh_pipe; export all; }
# Merges kernel route table 10 into the virtual as65533 routing table protocol pipe { table as65533; peer table blackholes; mode transparent; }
protocol bgp ege1a_50_4 { table as65533; description "ege1a_50_4"; local as 65533; neighbor 1.1.1.1 as 12345; multihop; source address 206.x.y.z; # What local address we use for the TCP connection export where source=RTS_STATIC; }
2.0 config:
# Override router ID router id 206.x.y.z;
# Define another routing table ipv4 table as65533; ipv4 table blackholes;
protocol kernel rtbh { kernel table 10; scan time 10; learn; ipv4 { table blackholes; export all; }; }
# Merges kernel route table 10 into the virtual as65533 routing table protocol pipe { table as65533; peer table blackholes; #mode transparent; }
protocol bgp ege2a_50_4 { local as 65533; neighbor 1.1.1.1 as 12345; source address 206.x.y.z;
description "EDGE2a.50.MIA"; multihop;
ipv4 { table as65533; import all; export where source=RTS_STATIC; }; }
On 1/10/20 4:53 AM, Maria Matějka wrote:
Aargh, I messed up the reply.
Please send the 1.6 config and 2.0 config and what is wrong. We can't figure out the cause from this.
Maria
On January 10, 2020 8:58:11 AM GMT+01:00, "Maria Matějka" <maria.matejka@nic.cz> wrote:
Hello!
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.
participants (3)
-
Alexander Zubkov -
Maria Matějka -
Mario Rossi