<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi!</p>
<p>I think the DEVICE protocol has not yet learned this interface
and, accordingly, the next-hop cannot be used.<br>
I have similar errors when starting a bird and using BFD in static
routes.</p>
<p>06/25/22 19:57:22 <ERR> megafon4: Invalid NEXT_HOP
attribute - neighbor address 188.170.160.53<br>
06/25/22 19:57:22 <ERR> megafon4: Invalid route 0.0.0.0/0
withdrawn<br>
06/25/22 19:57:22 <ERR> megafon6: Invalid NEXT_HOP attribute
- neighbor address 2a03:d000:2780:1::11<br>
06/25/22 19:57:22 <ERR> megafon6: Invalid route ::/0
withdrawn<br>
</p>
<p>But after BFD will be established, route appears in route table.<br>
</p>
<div class="moz-cite-prefix">On 07.06.2022 13:28, Eugene M. Zheganin
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:9568a377-99a9-195d-a580-d5d78c10ddf6@norma.perm.ru">Hello,
<br>
<br>
<br>
I have a peculiar VPN client that I want to redistributes the
routes from. Technically it creates a tun0 interface and
<br>
attaches all the routes it's connected to as it's own on-interface
routes pointing to it's own IP (yeah, I know it's la
<br>
me, but seems like it's written by Windows 98 addicts, so it's
still pretty normal for them). This confuses bird and it
<br>
's complaining with usual
<br>
<br>
<br>
===Cut===
<br>
<br>
Jun 7 15:10:43 vipnet bird[28752]: KRT: Received route 1.2.3.4/26
with strange next-hop 5.6.7.8
<br>
<br>
<br>
===Cut===
<br>
<br>
<br>
However:
<br>
<br>
<br>
===Cut===
<br>
<br>
[root@host ~]# ip addr show tun0
<br>
4: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500
qdisc fq_codel state UNKNOWN group default qlen 500
<br>
link/none
<br>
inet 5.6.7.8/32 scope global tun0
<br>
valid_lft forever preferred_lft forever
<br>
inet6 fe80::6d6d:315d:3deb:6ae0/64 scope link stable-privacy
<br>
valid_lft forever preferred_lft forever
<br>
<br>
===Cut===
<br>
<br>
<br>
So far I'm reexporting these routes as static, but is there any
way to do thsi automatically ?
<br>
<br>
Thanks.
<br>
<br>
</blockquote>
<div class="moz-signature">-- <br>
<div class="moz-signature">
<pre>Regards,
Mikhail V. Majorov
Megalink, CEO
B.Bulvarnaya 11, Taganrog, Russia, 347913
tel work: +7 8634 431431 (ext 101)
tel mobile: +7 905 4309006
</pre>
<img moz-do-not-send="false"
src="cid:part1.QCrLVBal.VBsEf6Ll@tagan.ru" alt="pg19.ru"
width="152" height="67">
</div>
</div>
</body>
</html>