<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr">One more (last) question:<div>since when (which Bird) -release is ECMP like this supported?</div><div><br></div><div>Thx</div><div><br></div><div>BR</div><div>Ar</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Di., 11. Juni 2019 um 15:39 Uhr schrieb Kenth Eriksson <<a href="mailto:Kenth.Eriksson@infinera.com" target="_blank">Kenth.Eriksson@infinera.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, 2019-06-11 at 15:13 +0200, Arno O wrote:<br>
> all, Alexander,<br>
> <br>
> bingo, "ip route" does the job ( sorry, was not aware about that<br>
> difference).<br>
> Thanx<br>
> <br>
Message only sent to me, please re-post to list so that they can see<br>
your resolution of the problem.<br>
<br>
> Enjoy the day<br>
> BR<br>
> Ar<br>
> <br>
> [root@localhost ~]# ip route<br>
> <a href="http://10.10.10.0/24" rel="noreferrer" target="_blank">10.10.10.0/24</a> dev enp0s3 proto bird scope link metric 10 <br>
> <a href="http://10.10.10.0/24" rel="noreferrer" target="_blank">10.10.10.0/24</a> dev enp0s3 proto kernel scope link src 10.10.10.1<br>
> metric 100 <br>
> <a href="http://50.50.50.0/24" rel="noreferrer" target="_blank">50.50.50.0/24</a> proto bird metric 10 <br>
> nexthop via 10.10.10.2 dev enp0s3 weight 11 <br>
> nexthop via 10.10.10.3 dev enp0s3 weight 11 <br>
> <a href="http://192.168.122.0/24" rel="noreferrer" target="_blank">192.168.122.0/24</a> dev virbr0 proto kernel scope link src 192.168.122.1<br>
> linkdown <br>
> <a href="http://192.168.122.0/24" rel="noreferrer" target="_blank">192.168.122.0/24</a> via 10.10.10.3 dev enp0s3 proto bird metric 10 <br>
> [root@localhost ~]#<br>
> <br>
> Am Di., 11. Juni 2019 um 14:56 Uhr schrieb Arno O <<a href="mailto:odermaar@gmail.com" target="_blank">odermaar@gmail.com</a><br>
> >:<br>
> > Dear Kenth,<br>
> > <br>
> > there is no such error trace in syslog<br>
> > <br>
> > (bird log setting: <br>
> > # Configure logging<br>
> > log syslog all;)<br>
> > <br>
> > How to proceed?<br>
> > <br>
> > BR<br>
> > Ar<br>
> > <br>
> > <br>
> > Am Di., 11. Juni 2019 um 14:36 Uhr schrieb Kenth Eriksson <<br>
> > <a href="mailto:Kenth.Eriksson@infinera.com" target="_blank">Kenth.Eriksson@infinera.com</a>>:<br>
> > > On Tue, 2019-06-11 at 14:18 +0200, Arno O wrote:<br>
> > > > CAUTION: This email originated from outside of the<br>
> > > organization. Do<br>
> > > > not click links or open attachments unless you recognize the<br>
> > > sender<br>
> > > > and know the content is safe.<br>
> > > > <br>
> > > > This topic was already discussed around March 1st 2019,<br>
> > > without<br>
> > > > having received a clear outcome.<br>
> > > > <br>
> > > > Now, dealing with ECMP with OSPF in Bird 2.04 on Fedora30, I<br>
> > > run in<br>
> > > > same problems:<br>
> > > > <br>
> > > > -> multiple next hops to same destination (<a href="http://50.50.50.0/24" rel="noreferrer" target="_blank">50.50.50.0/24</a>) are<br>
> > > in the<br>
> > > > route table of bird:<br>
> > > > bird> sho route<br>
> > > > Table master4:<br>
> > > > <a href="http://10.10.10.0/24" rel="noreferrer" target="_blank">10.10.10.0/24</a> unicast [OIPv46 13:39:16.979] I (150/10)<br>
> > > > [10.10.10.1]<br>
> > > > dev enp0s3<br>
> > > > <a href="http://192.168.122.0/24" rel="noreferrer" target="_blank">192.168.122.0/24</a> unicast [OIPv46 13:46:18.979] E2<br>
> > > (150/10/10000)<br>
> > > > [10.10.10.3]<br>
> > > > via 10.10.10.3 on enp0s3<br>
> > > > <a href="http://50.50.50.0/24" rel="noreferrer" target="_blank">50.50.50.0/24</a> unicast [OIPv46 13:46:18.979] E2<br>
> > > (150/10/100)<br>
> > > > [10.10.10.3]<br>
> > > > via 10.10.10.2 on enp0s3 weight 11<br>
> > > > via 10.10.10.3 on enp0s3 weight 11<br>
> > > > bird> <br>
> > > > [root@localhost ~]#<br>
> > > > <br>
> > > > but kernel route table looks unexpectedly different:<br>
> > > > root@localhost ~]# netstat -rn<br>
> > > > Kernel IP routing table<br>
> > > > Destination Gateway Genmask Flags MSS<br>
> > > Window<br>
> > > > irtt Iface<br>
> > > > 10.10.10.0 0.0.0.0 255.255.255.0 U 0 0 <br>
> > > <br>
> > > > 0 enp0s3<br>
> > > > 50.50.50.0 10.10.10.2 255.255.255.0 UG 0 0 <br>
> > > <br>
> > > > 0 enp0s3<br>
> > > > 192.168.122.0 10.10.10.3 255.255.255.0 UG 0 0 <br>
> > > <br>
> > > > 0 enp0s3<br>
> > > > [root@localhost ~]# <br>
> > > > <br>
> > > Do you see them if you do 'ip route'? I think iproute2 is better<br>
> > > at<br>
> > > displaying multipath routes.<br>
> > > <br>
> > > > Kernel looks configured correctly<br>
> > > (CONFIG_IP_ROUTE_MULTIPATH=y),<br>
> > > > etc.etc.<br>
> > > > <br>
> > > If the kernel is mis-configured, I believe you get an error trace<br>
> > > in<br>
> > > the bird log. Something along the following lines; <br>
> > > <br>
> > > <WARN> Netlink: Invalid argument<br>
> > > <br>
> > > I tested it on 2.0.4 and kernel 4.14.92+ and that seems to work.<br>
> > > <br>
> > > > <br>
> > > > Bird config on ECMPed bird router:<br>
> > > > protocol ospf OIPv46 {<br>
> > > > tick 2;<br>
> > > > rfc1583compat yes;<br>
> > > > ecmp yes limit 8;<br>
> > > > merge external yes;<br>
> > > > ipv4 {<br>
> > > > import all;<br>
> > > > export all;<br>
> > > > };<br>
> > > > area 0 {<br>
> > > > interface "enp0*" {<br>
> > > > # type broadcast; # Detected by default<br>
> > > > cost 10; # Interface metric<br>
> > > > ecmp weight 11;<br>
> > > > <br>
> > > > What is missing either in the bird-config or the kernel part?<br>
> > > > <br>
> > > > Thx<br>
> > > > <br>
> > > > BR<br>
> > > > Ar<br>
> > > > <br>
</blockquote></div>
</div></div>