-
- Downloads
Ubuntu: Set MTU for veth in the network files
Configuring veth pair MTU in the systemd-networkd .netdev files does not set the correct MTU for the peer and there isn't configuration option in the [Peer] section to do so [1]. This results in an MTU mismatch with peer having the default (1500) value. This change moves the MTU configuration from the .netdev file to the [Link] section of the corresponding veth pair .network files. Same approach is already recommended in [1] for the tun and tap devices. [1] https://www.freedesktop.org/software/systemd/man/systemd.netdev.html Story: 2009072 Task: 42882 Change-Id: I082e1b807497d17ae40ddf86e1473fbfcdf625e2
Showing
- kayobe/plugins/filter/networkd.py 12 additions, 2 deletionskayobe/plugins/filter/networkd.py
- kayobe/tests/unit/plugins/filter/test_networkd.py 55 additions, 31 deletionskayobe/tests/unit/plugins/filter/test_networkd.py
- releasenotes/notes/story-2009072-57e5d079e182e763.yaml 6 additions, 0 deletionsreleasenotes/notes/story-2009072-57e5d079e182e763.yaml
Loading
Please register or sign in to comment