Hi, Is the problem that you have unreachable routes? You might need to enable a direct protocol. Please provide "show route all" from bird. On Tue, Nov 8, 2022 at 3:10 AM Linux_Adm via Bird-users <bird-users@trubka.network.cz> wrote:
Hi Kernel version is: Linux ks3353128 5.10.0-15-amd64 #1 SMP Debian 5.10.120-1 (2022-06-09) x86_64 GNU/Linux
Bird Configuration:
log syslog all; log "/var/log/bird.log" { debug, trace, info, remote, warning, error, auth, fatal, bug };
router id MYIP;
debug protocols all;
define my_asn = MYASN; protocol device { scan time 10; }
protocol direct { disabled; # Disable by default ipv4; # Connect to default IPv4 table ipv6; # ... and to default IPv6 table }
protocol kernel { ipv6 { export where source != RTS_STATIC; }; }
protocol static { ipv6; # Again, IPv4 channel with default options
}
function is_martian_v6(){ return net ~ [ ::/96, ::/128, ::1/128, ::ffff:0.0.0.0/96+, ::224.0.0.0/100+, ::127.0.0.0/104+, ::0.0.0.0/104+, ::255.0.0.0/104+, 0000::/8+, 0200::/7+, 3ffe::/16+, 2001:db8::/32+, 2002:e000::/20+, 2002:7f00::/24+, 2002:0000::/24+, 2002:ff00::/24+, 2002:0a00::/24+, 2002:ac10::/28+, 2002:c0a8::/32+, fc00::/7+, fe80::/10+, fec0::/10+, ff00::/8+ ]; }
protocol static my_routes { ipv6; route MYNETWORK/48 reject; }
filter export_my_routes { if is_martian_v6() then reject; if proto = "my_routes" then { accept; } reject; }
protocol bgp iBGP_INSTANCE { local LOCALIP as MYAS; neighbor NEIGIP as MYAS; keepalive time 5; graceful restart; ipv6 { next hop self; cost 50; import all; };
}