I tested netplan.io 0.104-0ubuntu2~20.04.2 from focal-proposed inside a VM and inside an LXD container.
* udev values (i.e. the ".link" file) contains the correct "=false" values.
* ethtool -k show the values have been correctly set to "off" (on "netplan apply" and "reboot")
=> it's noteworthy that some ethtool values are fixed in this setup and thus cannot be changed:
large-receive-offload: off [fixed] # VM & container
rx-checksumming: on [fixed] # VM only, works in container
=> Furthermore, there's a limitation that the offloading flags will not be applied reliably if matching on interface-name only, as described in the original upstream PR#270 (and https://github.com/canonical/netplan/pull/278). This should not be considered a regression as the feature did not exist before and the documentation has been updated accordingly. (Error message when skipping the udev settings: "enp5s0: Config file /run/systemd/network/10-netplan-enp5s0.link matches device based on renamed interface name, ignoring")
* The renaming of the interface works as expected inside the VM ("netplan apply" & "reboot")
* The renaming of the interface works inside the container on "netplan apply"
=> it's noteworthy that the interface is not renamed after "reboot" inside the LXD container, this is most probably due to some LXD udev quirks and should not be considered to be a regression, as it happened the same before. I confirmed this using the previous version from -release.
root@focal-vm:~# ethtool -k eth99
Features for eth99:
rx-checksumming: on [fixed]
tx-checksumming: off
tcp-segmentation-offload: off
tx-tcp6-segmentation: off
generic-segmentation-offload: off
generic-receive-offload: off
large-receive-offload: off [fixed]
root@ff:~# ethtool -k eth99
Features for eth99:
rx-checksumming: off
tx-checksumming: off
tx-checksum-sctp: off
tcp-segmentation-offload: off
tx-tcp6-segmentation: off
generic-segmentation-offload: off
generic-receive-offload: off
large-receive-offload: off [fixed]
I tested netplan.io 0.104-0ubuntu2~ 20.04.2 from focal-proposed inside a VM and inside an LXD container.
* udev values (i.e. the ".link" file) contains the correct "=false" values. receive- offload: off [fixed] # VM & container checksumming: on [fixed] # VM only, works in container /github. com/canonical/ netplan/ pull/278). This should not be considered a regression as the feature did not exist before and the documentation has been updated accordingly. (Error message when skipping the udev settings: "enp5s0: Config file /run/systemd/ network/ 10-netplan- enp5s0. link matches device based on renamed interface name, ignoring")
* ethtool -k show the values have been correctly set to "off" (on "netplan apply" and "reboot")
=> it's noteworthy that some ethtool values are fixed in this setup and thus cannot be changed:
large-
rx-
=> Furthermore, there's a limitation that the offloading flags will not be applied reliably if matching on interface-name only, as described in the original upstream PR#270 (and https:/
* The renaming of the interface works as expected inside the VM ("netplan apply" & "reboot")
* The renaming of the interface works inside the container on "netplan apply"
=> it's noteworthy that the interface is not renamed after "reboot" inside the LXD container, this is most probably due to some LXD udev quirks and should not be considered to be a regression, as it happened the same before. I confirmed this using the previous version from -release.
root@focal-vm:~# cat /run/systemd/ network/ 10-netplan- enp5s0. link | grep Offload Offload= false mOffload= false Offload= false nOffload= false tionOffload= false ffload= false load=false
ReceiveChecksum
TransmitChecksu
TCPSegmentation
TCP6Segmentatio
GenericSegmenta
GenericReceiveO
LargeReceiveOff
root@focal-vm:~# ethtool -k eth99 n-offload: off segmentation: off segmentation- offload: off receive- offload: off offload: off [fixed]
Features for eth99:
rx-checksumming: on [fixed]
tx-checksumming: off
tcp-segmentatio
tx-tcp6-
generic-
generic-
large-receive-
root@ff:~# ethtool -k eth99 n-offload: off segmentation: off segmentation- offload: off receive- offload: off offload: off [fixed]
Features for eth99:
rx-checksumming: off
tx-checksumming: off
tx-checksum-sctp: off
tcp-segmentatio
tx-tcp6-
generic-
generic-
large-receive-