On Sat, Oct 10, 2020 at 01:38:35PM -0300, Santiago Aggio wrote:
Hello, I am using bird-2.0.7 on Debian 10 to dump the RIBs tables.
The tables generated for IPv4 are fine when parsed using mrt2bgpdump or bgpscanner.
But when I parse the IPv6 table, mrt2bgpdump doesn't return anything and bgpscanner gives the following error: bgpscanner: master6.mrt: bad RIB dump, duplicated PEER_INDEX_TABLE, skipping rest of file.
Hello (Noticed while looking for some missed / forgotten e-mails) Thanks for the bugreport. For IPv6 tables (due to ugliness of how MP-BGP handles bgp_nexthop), we forgot to generate fake MP_REACH_NLRI attribute with bgp_nexthop. The resulting files worked with bgpdump (which i used for tests), just displayed some default bgp_nexthop. Fixed here (now it works with bgpdump, mrt2bgpdump and bgpscanner): https://gitlab.nic.cz/labs/bird/-/commit/d774f6d721b0e52ed800c4b9a3a482c8ce9... -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."