Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2025 09:41:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 165059] vtnet(4): Networking breaks with a router using virtio net driver on KVM host
Message-ID:  <bug-165059-7501-CYx8wALyA3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-165059-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-165059-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D165059

--- Comment #40 from Tom Jones <thj@FreeBSD.org> ---
Some extra info from demido via irc


https://termbin.com/et91 is my wireguard setup that works (but has tiny
throughput down to wg client) including iperf tests from wg client to wg se=
rver
over tunnel, wg client to wg server over inet, and wg server to wg client o=
ver
tunnel. https://termbin.com/07dl is networking info on wg client. FIXED: i
isolated the 'solution' to being adding 'hw.vtnet.csum_disable=3D"1"' to
/boot/loader.conf. nothing else needed, and download speed of freebsd (and
debian) install isos from wg client became nearly as fast as wg server. this
seems related but separate from similar suggestions of disabling tso and lr=
o as
i /only/ needed to disable csum.

keywords: nat, checksum, vtnet. related bugs:=20
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235607,=20
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263229,=20
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D165059,
 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259249,=20
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D170081=20

other links:=20
https://lists.freebsd.org/pipermail/freebsd-questions/2021-January/292565.h=
tml,
https://forums.freebsd.org/threads/wireguard-vpn-slow-speed.73490/page-2#po=
st-584231,
https://sourceopen.com/index.php/howto-fix-slow-networking-with-a-wireguard=
-server-in-a-freebsd-jail-on-a-vps-and-slow-downloads-in-a-jail-on-a-vps/,=
=20
https://forums.freebsd.org/threads/nat-low-speed-outside-of-local-subnet.49=
498/,=20
https://serverfault.com/questions/817664/slow-network-fixed-adding-hw-vtnet=
-csum-disable-1-what-are-the-posible-side-effe,=20
https://imil.net/blog/posts/2019/freebsd-networking-issues-disable-offloadi=
ng-and-checksum/,
https://www.mail-archive.com/freebsd-jail@freebsd.org/msg03651.html, more
https://search.brave.com/search?q=3Dfreebsd+nat+vtnet+disable+checksum

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-165059-7501-CYx8wALyA3>