Hello! Just to be sure, does it work via iptools command, like ip route add…? Thanks Maria
On August 19, 2020 5:10:18 PM GMT+02:00, Mikhail Petrov <aza...@azalio.net> wrote: >Hello! > > > >I have a problem with bird, static routes and multipath. > >My bird config is https://pastebin.com/gLkFP6rK > >And all work well. > >#ip ro sh > >10.0.0.0/8 proto bird src 10.8.49.68 > > nexthop via 10.28.133.65 dev enp96s0f0.52 weight 1 > > nexthop via 10.28.133.129 dev enp96s0f1.55 weight 1 > >... > > >Then I add > >krt_realm = 42; >to static section > >protocol static { > >check link; > >route 10.0.0.0/8 recursive 203.0.113.1; > >import filter { >krt_realm = 42; > >krt_prefsrc = 10.8.49.68; > >accept; > >}; > >} > >Bird can't add static routes and I don't understand why. > > > >If I don't use multipath routing bird can add routes. For example: > >10.0.0.0/8 via 10.28.133.65 dev enp3s0f1.52 proto bird src 10.8.49.34 >realm nohbf > > > >What do I need to do to resolve the problem? > >Thank you for your attention. -- Sent from my Android device with K-9 Mail. Please excuse my brevity.