router id 192.168.10.26; ipv6 table ospf6; ipv6 table bgp6; protocol direct { interface "ens20"; ipv6 { table ospf6; }; } protocol static { ipv6 { table bgp6; }; route fd56:4902:eca0::/48 via "lo"; route fd56:4902:eca0::/52 via "lo"; } protocol kernel { ipv6 { table ospf6; export filter { krt_prefsrc=fd56:4902:eca0:6::1; accept; }; import none; }; kernel table 1337; } protocol kernel { ipv6 { table bgp6; export filter { krt_prefsrc=fd56:4902:eca0:6::1; accept; }; import none; }; kernel table 2342; } protocol ospf v3 { ipv6 { table ospf6; import all; export all; }; area 0 { interface "ens19" { cost 80; }; }; } protocol bgp gw5 { local as 4242422574; graceful restart on; neighbor fd56:4902:eca0:5::1 as 4242422574; source address fd56:4902:eca0:6::1; ipv6 { table bgp6; igp table ospf6; next hop self; import keep filtered; import all; export all; }; } protocol bgp peer_nex { local as 4242422574; graceful restart on; neighbor fd9b:37f7:faf7:3001::2 as 4242423012; source address fd9b:37f7:faf7:3001::6; ipv6 { table bgp6; igp table ospf6; next hop self; import keep filtered; import filter { if net ~ [fd00::/8{8,64}] then accept; reject; }; export filter { #if net ~ [fd9b:37f7:faf7:3001::/64] then reject; if net ~ [fd00::/8{8,64}] then accept; reject; }; }; } protocol device { scan time 10; }