For VPNs like tailscale using container networking require a specific MTU size (see https://techulus.xyz/fixing-docker-mtu-for-private-networks-and-vpns/)
It would be very useful for such cases to have
set container network <name> mtu <value>
For VPNs like tailscale using container networking require a specific MTU size (see https://techulus.xyz/fixing-docker-mtu-for-private-networks-and-vpns/)
It would be very useful for such cases to have
set container network <name> mtu <value>
We use podman for containers.
Eq command for the podman:
vyos@r14:~$ sudo podman network create pod-net2 --opt mtu=1200 pod-net2 vyos@r14:~$
Check:
vyos@r14:~$ sudo podman network inspect pod-net2
[
{
"name": "pod-net2",
"id": "f1ec367ee95ee0f5b644b7fb96faffa6cf499490e3ff5e8f3915182639302cc7",
"driver": "bridge",
"network_interface": "podman1",
"created": "2024-11-18T10:08:28.26831792Z",
"subnets": [
{
"subnet": "10.89.0.0/24",
"gateway": "10.89.0.1"
}
],
"ipv6_enabled": false,
"internal": false,
"dns_enabled": true,
"options": {
"mtu": "1200"
},
"ipam_options": {
"driver": "host-local"
}
}
]
vyos@r14:~$Yes, I linked the article for background why the MTU setting is helpful, this applies to Podman as well as Docker.
I already added a PR for the implementation (https://github.com/vyos/vyos-1x/pull/4195)