<div dir="auto">Alpine sounds like containerized nastyness...<div dir="auto"><br></div><div dir="auto">Check: Can you set a static route manually?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Nico Schottelius <<a href="mailto:nico.schottelius@ungleich.ch">nico.schottelius@ungleich.ch</a>> schrieb am Mi., 1. Apr. 2020, 15:00:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hello,<br>
<br>
I'm running 2.0.7 on Linux 5.4.18-0-lts (Alpine)<br>
and I receive the route <a href="http://193.228.143.0/24" rel="noreferrer noreferrer" target="_blank">193.228.143.0/24</a> from<br>
2a0a:e5c0:1:9::2. However it is never set into the kernel, with the<br>
error message "Netlink: Network unreachable" in syslog.<br>
<br>
Has anyone seen this problem recently? I'm not sure if this is really a<br>
bird2 problem or not, to be honest:<br>
<br>
The kernel reports many messages like this in dmesg:<br>
[4541983.369058] netlink: 'bird': attribute type 5 has an invalid length.<br>
<br>
However, I am also puzzled that manually adding the route seems to fail:<br>
<br>
[14:44] router1.place6:/var/log# ip route add <a href="http://193.228.143.0/24" rel="noreferrer noreferrer" target="_blank">193.228.143.0/24</a> via inet6 2a0a:e5c0:1:9::2<br>
RTNETLINK answers: Invalid argument<br>
[14:45] router1.place6:/var/log# ip route add <a href="http://193.228.143.0/24" rel="noreferrer noreferrer" target="_blank">193.228.143.0/24</a> nexthop via inet6 2a0a:e5c0:1:9::2<br>
RTNETLINK answers: Invalid argument<br>
[14:45] router1.place6:/var/log# ip route add <a href="http://193.228.143.0/24" rel="noreferrer noreferrer" target="_blank">193.228.143.0/24</a> nexthop via inet6 2a0a:e5c0:1:9::2 dev bond0.25<br>
RTNETLINK answers: Invalid argument<br>
[14:45] router1.place6:/var/log#<br>
<br>
bird status:<br>
<br>
bird> show route all protocol bluecmd_v6<br>
Table master4:<br>
<a href="http://193.228.143.0/24" rel="noreferrer noreferrer" target="_blank">193.228.143.0/24</a> unicast [bluecmd_v6 14:31:15.880] ! (100) [AS206858i]<br>
via 2a0a:e5c0:1:9::2 on bond0.25<br>
Type: BGP univ<br>
BGP.origin: IGP<br>
BGP.as_path: 206858<br>
BGP.next_hop: 2a0a:e5c0:1:9::2<br>
BGP.local_pref: 100<br>
<br>
Table master6:<br>
2a10:11c0:114::/48 unicast [bluecmd_v6 14:31:15.880] * (100) [AS206858?]<br>
via 2a0a:e5c0:1:9::2 on bond0.25<br>
Type: BGP univ<br>
BGP.origin: Incomplete<br>
BGP.as_path: 206858<br>
BGP.next_hop: 2a0a:e5c0:1:9::2 fe80::21c:73ff:fe2c:6eca<br>
BGP.local_pref: 100<br>
bird><br>
<br>
bird2 config:<br>
<br>
protocol bgp bluecmd_v6 {<br>
local as 209898;<br>
neighbor 2a0a:e5c0:1:9::2 as 206858;<br>
direct;<br>
<br>
ipv4 {<br>
extended next hop;<br>
<br>
import filter from_inside_customer;<br>
export filter only_default_route;<br>
};<br>
<br>
ipv6 {<br>
import filter from_inside_customer;<br>
export filter only_default_route;<br>
};<br>
<br>
default bgp_local_pref pref_normal;<br>
}<br>
<br>
syslog:<br>
<br>
Apr 1 14:31:15 router1 daemon.warn bird: Netlink: Network unreachable<br>
Apr 1 14:31:22 router1 daemon.warn bird: Netlink: Network unreachable<br>
Apr 1 14:31:42 router1 daemon.warn bird: Netlink: Network unreachable<br>
...<br>
<br>
<br>
Bird / Kernel / etc.:<br>
<br>
[14:33] router1.place6:/var/log# bird --version<br>
BIRD version 2.0.7<br>
[14:35] router1.place6:/var/log# uname -a<br>
Linux router1 5.4.18-0-lts #1-Alpine SMP Thu, 06 Feb 2020 09:27:36 UTC x86_64 GNU/Linux<br>
[14:36] router1.place6:/var/log#<br>
<br>
For reference is also attached the configuration of the opposite side<br>
(Arista 7050):<br>
<br>
router bgp 206858<br>
vrf PUBLIC<br>
router-id 193.228.143.0<br>
neighbor 2a0a:e5c0:1:9::5 remote-as 209898<br>
neighbor 2a0a:e5c0:1:9::5 next-hop-self<br>
neighbor 2a0a:e5c0:1:9::5 maximum-routes 0<br>
!<br>
address-family ipv4<br>
bgp next-hop address-family ipv6<br>
neighbor 2a0a:e5c0:1:9::5 activate<br>
neighbor 2a0a:e5c0:1:9::5 next-hop address-family ipv6 originate<br>
network <a href="http://193.228.143.0/24" rel="noreferrer noreferrer" target="_blank">193.228.143.0/24</a><br>
!<br>
address-family ipv6<br>
neighbor 2a0a:e5c0:1:9::5 activate<br>
network 2a10:11c0:114::/48<br>
<br>
linthal-core(vrf:PUBLIC)(config-router-bgp-vrf-PUBLIC)#show ipv6 bgp neighbors 2a0a:e5c0:1:9::5 advertised-routes detail<br>
<br>
BGP routing table information for VRF PUBLIC<br>
Router identifier 193.228.143.0, local AS number 206858<br>
Update wait-install is disabled<br>
BGP routing table entry for 2a10:11c0:114::/48<br>
Paths: 1 available<br>
206858<br>
2a0a:e5c0:1:9::2 from - (193.228.143.0)<br>
Origin INCOMPLETE, metric -, localpref -, weight -, valid, local, best<br>
Rx SAFI: Unicast<br>
BGP routing table entry for <a href="http://193.228.143.0/24" rel="noreferrer noreferrer" target="_blank">193.228.143.0/24</a><br>
Paths: 1 available<br>
206858<br>
- from - (193.228.143.0)<br>
Origin IGP, metric -, localpref -, weight -, valid, local, best<br>
Rx SAFI: Unicast<br>
<br>
<br>
Any pointer in the right direction would be appreciated!<br>
<br>
Cheers,<br>
<br>
Nico<br>
<br>
<br>
--<br>
Modern, affordable, Swiss Virtual Machines. Visit <a href="http://www.datacenterlight.ch" rel="noreferrer noreferrer" target="_blank">www.datacenterlight.ch</a><br>
</blockquote></div>