Bird can't add static route.

Maria Matějka maria.matejka at nic.cz
Wed Aug 19 17:53:39 CEST 2020


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 <azalio at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20200819/a3c026ab/attachment.htm>


More information about the Bird-users mailing list