general/other Fresh FreeBSD 14.1 guest VM does not receive any DHCPOFFERS

My FreeBSD guest VM does not receive any DHCPOFFERS when attempting to configure the vtnet0 interface using dhclient.

DHCP works fine for a Linux guest VM running on the same host system with the same host system network configuration.

The FreeBSD guest VM is the FreeBSD-14.1-RELEASE-amd64-ufs.qcow2.xz image with no modifications.

The DHCP failure can be seen on first boot and when restarting the dhclient service. For example:
1727879316607.png

(apologies for the screenshot of text)

Does anyone have any tips for debugging this?
 
Bad UDP checksum seems to suggest an issue with checksum offloading perhaps?

Code:
     rxcsum, txcsum, rxcsum6, txcsum6
             If the driver supports user-configurable checksum offloading,
             enable receive (or transmit) checksum offloading on the
             interface.  The feature can be turned on selectively per protocol
             family.  Use rxcsum6, txcsum6 for ip6(4) or rxcsum, txcsum
             otherwise.  Some drivers may not be able to enable these flags
             independently of each other, so setting one may also set the
             other.  The driver will offload as much checksum work as it can
             reliably support, the exact level of offloading varies between
             drivers.

What virtualization is used on the host?
 
What virtualization is used on the host?
I'm using QEMU/KVM managed by libvirt on a Chimera Linux host.

Thanks for the tip on checksum offloading, I'll take a look at that and see if it helps me understand what's going on.
 
Disabling checksum offloading (`ifconfig vtnet0 -rxcsum -txcsum`) indeed fixed this problem. I suppose this is worth a bug report against the VirtIO driver?

Thanks again :)
 
Back
Top