Overriding PMTU on a per-route basis

With standard Linux iproute2 syntax, it is possible to override the path MTU for a specific route with a command like ip route add 172.16.105.0/24 dev wg0 mtu 1432. If this hasn’t already been done, are there any plans to expose this functionality through the VyOS CLI?

This would be useful for cases such as wireguard interfaces, where a single interface may have multiple peers with differing path MTU values. (I know I can adjust MSS for TCP traffic, but that doesn’t address non-TCP traffic, such as QUIC).

I’ve created a PR related expose this command over our cli, here is task :

https://vyos.dev/T5041
thanks

1 Like