Date: Wed, 25 May 2022 11:26:46 +0200 From: Ole Lemke <ol@dbconn.net> To: freebsd-net@freebsd.org Subject: Re: FreeBSD 12.3-p5: problems vnet on if_bridge Message-ID: <20220525112646.56aae445@lenp43s> In-Reply-To: <20220524171654.705f67b2@hermann> References: <20220510212129.35041f02@hermann> <20220511204755.2028dce9@hermann> <20220524115246.0ef1ff59@lenp43s> <20220524171654.705f67b2@hermann>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/dz64SXKk7vc+jCuiBuU=xd8 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Tue, 24 May 2022 17:17:19 +0200 - FreeBSD User <freebsd@walstatt-de.de>: > > could you solve the problem? I think I ran into the same problem. > > I opened a Ticket. =20 >=20 > I couldn't solve the problem. >=20 > >=20 > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264198 > >=20 > > I seems to be related to IPFW and effects vnet-Jails and also bhyve > > VMs. =20 >=20 > There is also a PR regarding vnet/if_bridge/routing issues, at >=20 > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240106 >=20 > but I can not guarantee this PR is in any way similaror adjacent to > the problem of mine (and probably yours). Difficult to say if the problems are related. In my problem IPFW plays a role.=20 Are you using IPFW? If so, please take a look at the issue https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264198 I described very simple setup to reproduce the bug, in a Bhyve VM with only one Interface: vtnet0---bridge0---epaira0---epairb0 vm # ifconfig bridge create mtu 1400 vm # ifconfig epair create mtu 1400 vm # ifconfig bridge0 addm epair0a vm # ifconfig bridge0 addm vtnet0 vm # ifconfig epair0a up vm # ifconfig epair0b inet <IP_ADDR>/28 mtu 1400 up vm # ifconfig bridge0 up vm # nc -v -l 2222 > /dev/null the only IPFW rule is vm # ipfw list 65535 allow ip from any to any from another host (in the same network) I send data with nc: dd if=3D/dev/zero bs=3D1024k count=3D6 | nc -v <IP_ADDR> 2222 result: 6291456 bytes transferred in 70.693446 secs (88996 bytes/sec) after 'service ipfw stop' on vm-a, it is about 700 times faster )-: 6291456 bytes transferred in 0.100673 secs (62493675 bytes/sec) I wonder if IPFW + bridge is broken in 12.3. ... --Sig_/dz64SXKk7vc+jCuiBuU=xd8 Content-Type: application/pgp-signature Content-Description: Digitale Signatur von OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEcfiBcfJXFWtoGXjffPhD3vCz2EwFAmKN9lYACgkQfPhD3vCz 2Ewq5BAAp3uamofimZG3iwsAir2T4W+FGT+qzz/hUa5ExOo8AMYOo0CqopIH3JPJ 4KZzk5QxCNOmy76Q6v7ZCMTPFj6zY0LC8KPiWoM4FKV60xfadtLeF1NM8cIn+doF RQY9NZY4ruaHswjVcc+3o5ejtPT6BO4/CIA33Tg76Pr+HWThI1MwG0k5kD8NrKhs QeOfmTRGzOF++ZeM6c5JXRNBfQ+LEGPrCzOrxHbbhlbda2y33pbznrAfBOJtgFcc NJpV70L59S0waXlvnpTB9sWwwia50tllBdy0h7KrYRiXwY7zraNbMOOynjo+UdfV Sl230yMercFY+Wxg7yzjeMN7LInKmr59ip98kMAowx/n1FtvdVVy6C9nc4sM0JcE slgxyMxLB0uEh0zDDScCn/sdGOGQTFTO6GQe6+InGrQihObQx07djP9oQ9BhrQB+ mk7fFzGmcaftlsBwNGWpzYOX6wUplzKmcBV9GYZ6orrIwn4DpfFwT9DqSQeqOcl4 aahVFbYp5OnNrSSMl3hDPGkljmNU/BhqCEchItqJJP2yt2tNQm75+nj3XQnprCfN kRjTAH2LSkJKkrlnjPHH8wUTrkTXsy48rZSfd2332WXTbXAf5NfGGYpKnnuG3t5b meWydl2kfNC94i8wSzSkngpVgSI601fS81NyXDy5D4C0E9F0Q2g= =C6Rd -----END PGP SIGNATURE----- --Sig_/dz64SXKk7vc+jCuiBuU=xd8--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220525112646.56aae445>