Apply new next-hop

Alexander Zubkov green at qrator.net
Tue Apr 24 08:12:48 CEST 2018


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 at 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 at 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?
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20180424/6aba1278/attachment.html>


More information about the Bird-users mailing list