From nobody Mon Dec 16 23:29:07 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YBx3S00DYz5ghgQ for ; Mon, 16 Dec 2024 23:29:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YBx3R444Mz4G2n for ; Mon, 16 Dec 2024 23:29:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734391747; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9XRWfa/cj+6G5StjucXSRHYrXONoHHYc6BY95Y72BWE=; b=ZQ/P71zGQYSqftH7iMFG9UrJWjXBpN14A18mQRQDjBQQ8uYyc/e8SRYFcQpfS5Ls1iFhOn sDVutM80pUVj88sPn5sxSBzB4U/z2bU49lEEiXEpVAEEK14woA3ECmcY+XSQ8DZZmutVqj 12pfHzfCbLRM+6aQXF2tuOlt5KuFf1RAGZGuoarmfgtTdxkV2pAeGr0Kprle2PrL6/PF7G NGBtClzOHDi32iPrUoCv8rdmzsEPuUaKJnHwqWIzviqEhRSQST7rmrCrU2mUlGCJOCtvQa I4IhUAffACBLaJBAZCCBJcKCwdYppD7s1KPkEmxuqM+n6in6lbS4I+fTOyHp4g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734391747; a=rsa-sha256; cv=none; b=YEWtvKhUsObhDplJEILORuoSmydI6fxgfHtlIJYA5lB9RuH3DHSeBaoC4T99kOyzspmfHf LH4MnwywPIsQkJqMcX29fU/bOgzIy6O+VlUwYY/A8G04figCE+MYlv2mEx4g/s9ij9qQK+ ag+W0XP9P9+B58fuPenIgd969Nry4O6lUAGh1qdOOVOIjfemvq8bB9Xa9ijQsAcG/dRI6Q 40UxO3RBPpQa1BUeW8tm5Q0zcIXdeZoW1nOnYsgHFq0cN7u8QpIsF/pYuHA2OR9KpiDlPv BPH21uD46tGLRn62jy0cv9IjKl0H0c2vrUGTEUnI6iUscznbrW00457MDKFtkg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YBx3R3gypz1Ccc for ; Mon, 16 Dec 2024 23:29:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4BGNT7s2097022 for ; Mon, 16 Dec 2024 23:29:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BGNT7o2097021 for bugs@FreeBSD.org; Mon, 16 Dec 2024 23:29:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 283375] dhclient refuses DHCP offer on FreeBSD 14.1-RELEASE as QEMU/KVM guest with virtio net Date: Mon, 16 Dec 2024 23:29:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mharrodine@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283375 Bug ID: 283375 Summary: dhclient refuses DHCP offer on FreeBSD 14.1-RELEASE as QEMU/KVM guest with virtio net Product: Base System Version: 14.2-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: mharrodine@gmail.com This is very similar to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D188990 but that is for = Xen and FreeBSD 10 so I am raising this separately as it affects a different hypervisor in QEMU/KVM. I am observing this same behaviour since upgrading = my host OS to Fedora 41 hence I believe some change occurred on the Linux side where the virtio net driver is now doing or at least trying to or advertisi= ng that it does checksum offloads. Host: Fedora 41 x86_64 fully up to date as at time of writing. Guest: FreeBSD 14.1-RELEASE-p5 GENERIC amd64 Adding `-rxcsum` as in `ifconfig_vtnet0=3D"DHCP -rxcsum"` to /etc/rc.conf resolves the issue. Error on FreeBSD side when running dhclient before above config change: "5 = bad udp checksums in 5 packets" I could see offers being made by dnsmasq-dhcp on the Linux side and was very surprised to tcpdump FreeBSD side and see they were actually received but ignored. Then found the related bug report. I have no issue with disabling rx csums on my guest but it concerns me as a= fan of FreeBSD that this is quite a tricky thing to troubleshoot and a lot of people that might just want to try out FreeBSD might use this very common network configuration on a Linux box (i.e. guest nat networking) and end up frustrated that FreeBSD "doesn't work". Having read the other bug report, I think the solution is not easy and is beyond my simple sysadmin ways to get involved with (happy to help i= f I can though!) but I wanted to report this as I couldn't find an identical re= port and it might affect the priority of the issue overall. --=20 You are receiving this mail because: You are the assignee for the bug.=