Per-route MTU for static route
Hello All, I wanted to configure per-route MTU for a static route, something I'd configure manually like this: ip route add 10.88.152.0/24 mtu 1600 \ nexthop via 172.17.3.1 \ nexthop via 172.17.3.2 Which would result in this: [root@workerbm-6 ~]# ip route <...> 10.88.152.0/24 mtu 1600 nexthop via 172.17.3.1 dev vlan97 weight 1 nexthop via 172.17.3.2 dev vlan97 weight 1 I figured this is not possible with BIRD right now, MTU cannot be defined for a static route. Did I miss something? Or any chance this would be added in the future? Thank you, Tibor
On Wed, May 05, 2021 at 11:00:57AM +0200, Tibor Kiss wrote:
Hello All,
I wanted to configure per-route MTU for a static route, something I'd configure manually like this: ... I figured this is not possible with BIRD right now, MTU cannot be defined for a static route. Did I miss something? Or any chance this would be added in the future?
Hello Route attribute krt_mtu should do the trick: route 10.88.152.0/24 via 172.17.3.1 { krt_mtu = 1600; }; -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
Indeed that works, thank you so much On Wed, May 5, 2021 at 12:01 PM Ondrej Zajicek <santiago@crfreenet.org> wrote:
On Wed, May 05, 2021 at 11:00:57AM +0200, Tibor Kiss wrote:
Hello All,
I wanted to configure per-route MTU for a static route, something I'd configure manually like this: ... I figured this is not possible with BIRD right now, MTU cannot be defined for a static route. Did I miss something? Or any chance this would be added in the future?
Hello
Route attribute krt_mtu should do the trick:
route 10.88.152.0/24 via 172.17.3.1 { krt_mtu = 1600; };
-- Elen sila lumenn' omentielvo
Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
participants (2)
-
Ondrej Zajicek -
Tibor Kiss