Hello. You need to get your gateway IP reachable in bird. You need to import direct route to it from your kernel table or with direct protocol. On Tue, Apr 24, 2018 at 7:05 AM, Titov Stas <ststitov@gmail.com> wrote:
Hello,
I have some difficulties with change IPv6 next-hop.
I've got ipv6 prefixes in ISP_ISP2 table from rr bgp peer:
bird> show route table ISP_ISP2 2a01:230:2:41::a16/128 unreachable [bgp2 2018-04-17 from 2a01:230:3:1::3] * (101/-) [i] 2a01:230:2:41::a17/128 unreachable [bgp2 2018-04-17 from 2a01:230:3:1::3] * (101/-) [i] ...
and export in kernel table 11
[root@nvkvm-3 ~]# ip -6 route show table 11 | more unreachable 2a01:230:2:41::2 dev lo proto bird metric 1024 error -113 unreachable 2a01:230:2:41::3 dev lo proto bird metric 1024 error -113 unreachable 2a01:230:2:41::4 dev lo proto bird metric 1024 error -113 unreachable 2a01:230:2:41::6 dev lo proto bird metric 1024 error -113
How I can make their reachable via my gw: 2a01:230:2:53::9?
I tried export filter nh_in;
filter nh_in { if ( net ~ [ 2a01:230:2:41::/64+ ] ) then { gw = 2a01:230:2:53::9; accept; } }
but it make not help me. Can you advise?