I have several VMware ESXi VMs with Ubuntu Server 20.04 and Docker which need to have "tx-checksum-ip-generic" disabled, otherwise Docker Swarm nodes cannot communicate properly. This has to be done manually following every reboot and often folks forget and then we start to have outages.
There is no way to set this permanently in netplan.io it seems.
I have tried setting this in the YML in the hope it covers "tx-checksum-ip-generic" as well:
ethernets:
ens160:
dhcp4: no
...
transmit-checksum-offload: false
however the results of ethtool after a "netplan apply" or a reboot are exactly the same:
> ethtool --show-offload ens160 | grep tx
tx-checksumming: off tx-checksum-ipv4: off [fixed] tx-checksum-ip-generic: on tx-checksum-ipv6: off [fixed] tx-checksum-fcoe-crc: off [fixed] tx-checksum-sctp: off [fixed] tx-scatter-gather: on tx-scatter-gather-fraglist: off [fixed] tx-tcp-segmentation: off [requested on] tx-tcp-ecn-segmentation: off [fixed] tx-tcp-mangleid-segmentation: off tx-tcp6-segmentation: off [requested on]
tx-vlan-offload: on
tx-lockless: off [fixed]
tx-gso-robust: off [fixed]
tx-fcoe-segmentation: off [fixed]
tx-gre-segmentation: off [fixed]
tx-gre-csum-segmentation: off [fixed]
tx-ipxip4-segmentation: off [fixed]
tx-ipxip6-segmentation: off [fixed]
tx-udp_tnl-segmentation: on
tx-udp_tnl-csum-segmentation: on
tx-gso-partial: off [fixed]
tx-tunnel-remcsum-segmentation: off [fixed]
tx-sctp-segmentation: off [fixed]
tx-esp-segmentation: off [fixed]
tx-udp-segmentation: off [fixed]
tx-gso-list: off [fixed]
tx-nocache-copy: off
tx-vlan-stag-hw-insert: off [fixed]
esp-tx-csum-hw-offload: off [fixed]
tls-hw-tx-offload: off [fixed]
I have several VMware ESXi VMs with Ubuntu Server 20.04 and Docker which need to have "tx-checksum- ip-generic" disabled, otherwise Docker Swarm nodes cannot communicate properly. This has to be done manually following every reboot and often folks forget and then we start to have outages.
There is no way to set this permanently in netplan.io it seems.
I have tried setting this in the YML in the hope it covers "tx-checksum- ip-generic" as well: checksum- offload: false
ethernets:
ens160:
dhcp4: no
...
transmit-
however the results of ethtool after a "netplan apply" or a reboot are exactly the same:
tx-checksum- ipv4: off [fixed]
tx-checksum- ip-generic: on
tx-checksum- ipv6: off [fixed]
tx-checksum- fcoe-crc: off [fixed]
tx-checksum- sctp: off [fixed]
tx-scatter- gather: on
tx-scatter- gather- fraglist: off [fixed]
tx-tcp- segmentation: off [requested on]
tx-tcp- ecn-segmentatio n: off [fixed]
tx-tcp- mangleid- segmentation: off
tx-tcp6- segmentation: off [requested on] segmentation: off [fixed] segmentation: off [fixed] csum-segmentati on: off [fixed] segmentation: off [fixed] segmentation: off [fixed] tnl-segmentatio n: on tnl-csum- segmentation: on remcsum- segmentation: off [fixed] segmentation: off [fixed] segmentation: off [fixed] segmentation: off [fixed] stag-hw- insert: off [fixed] csum-hw- offload: off [fixed]
> ethtool --show-offload ens160 | grep tx
tx-checksumming: off
tx-vlan-offload: on
tx-lockless: off [fixed]
tx-gso-robust: off [fixed]
tx-fcoe-
tx-gre-
tx-gre-
tx-ipxip4-
tx-ipxip6-
tx-udp_
tx-udp_
tx-gso-partial: off [fixed]
tx-tunnel-
tx-sctp-
tx-esp-
tx-udp-
tx-gso-list: off [fixed]
tx-nocache-copy: off
tx-vlan-
esp-tx-
tls-hw-tx-offload: off [fixed]