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; }; }
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; };
}
Il giorno 8 nov 2022, alle ore 09:06, Alexander Zubkov <green@qrator.net> ha scritto:
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:
Thanks, the problem was the direct.
On Wed, Nov 09, 2022 at 01:33:08PM +0100, Linux_Adm via Bird-users wrote:
Il giorno 8 nov 2022, alle ore 09:06, Alexander Zubkov <green@qrator.net> ha scritto:
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:
Thanks, the problem was the direct.
Hi It is more like 'direct' option allowed to workaround the real problem, which was absence of local routes (as your direct protocol was disabled and no static routes or IGP routing protocol like OSPF). Next hops received from IBGP are supposed to be resolved through local routes, while with 'direct' option a simpler approach is used. -- 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."
participants (3)
-
Alexander Zubkov -
Linux_Adm -
Ondrej Zajicek