Skip to content

Also handle missing UDP checksums on nftables #1997

Closed
@stefanor

Description

@stefanor

Is there an existing issue for this?

  • There is no existing issue for this feature

What are you currently unable to do

In a simple setup with a bridged network, VMs are unable to receive DHCPv4 address allocations with systemd-networkd, due to UDP checksum errors:

# SYSTEMD_LOG_LEVEL=debug /lib/systemd/systemd-networkd
...
enp5s0: DHCPv4 client: DISCOVER
ignoring packet: invalid UDP checksum

What do you think would need to be added

Maybe systemd could be persuaded to accept an option to ignore UDP checksums? Or detect virtio interfaces. But... we also have to live with the systemds that we've got in the world, and so we need workarounds.

I see that historically we were able to fix checksums in iptables, but that isn't possible with nftables.

What we can do is ethtool -K $IFACE tx off (or equivalent) on the host, when adding the interface to the bridge.

Metadata

Metadata

Assignees

Labels

EasyGood for new contributors

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions