How to set another next-hop

Titov Stas ststitov at gmail.com
Fri Apr 20 11:08:49 CEST 2018


Guys, I have some troble with change 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20180420/b7b6bc14/attachment.html>


More information about the Bird-users mailing list