From owner-freebsd-virtualization@FreeBSD.ORG Mon Aug 25 17:25:04 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B8FF9766 for ; Mon, 25 Aug 2014 17:25:04 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 90DDE3455 for ; Mon, 25 Aug 2014 17:25:04 +0000 (UTC) Received: from [192.168.1.2] (senat1-01.HML3.ScaleEngine.net [209.51.186.5]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id C395C3D571 for ; Mon, 25 Aug 2014 17:25:02 +0000 (UTC) Message-ID: <53FB716E.3050600@freebsd.org> Date: Mon, 25 Aug 2014 13:25:02 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: Packets from host -> virt with broken ip checksum. References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dJg8UMXuWixMCQ8DtbaXCWc7tJnoaJwmA" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Aug 2014 17:25:04 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --dJg8UMXuWixMCQ8DtbaXCWc7tJnoaJwmA Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2014-08-25 05:32, Nikolay Denev wrote: > On Mon, Aug 25, 2014 at 11:01 AM, Nikolay Denev wrot= e: >> I've started playing around with Bhyve and I've noticed that I can't >> talk from the host to the virt and vice versa. >> At the same time the virt can talk to the bridged subnet. >> >> My setup is pretty simple, FreeBSD 10-STABLE (about two week old >> build), with two bce(4) interfaces in lagg0 interface. >> Then I have bridge0 and the virt's tap0 interface joined in the bridge= >> with lagg0. >> IP address is on lagg0. >> >> When I try to ping the virt from the host, tcpdump on vtnet0 shows >> incoming icmp echo requests, >> but no response. tcpdump shows bad checksums, netstat -s shows "bad >> header checksums" incrementing. >> Packes from the virt to the host seem ok, as I can try to ping from >> the virt, and I see the icmp echo req, and the reply coming back, but >> the reply is broken in this case so ping does not succeed. >> >> >> --Nikolay >=20 > So removing bridge/lagg out of the equation and configuring IP on tap0 > on the host and > another IP from the same subnet ot vtnet0 on the virt it works. >=20 > --Nikolay > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@fr= eebsd.org" >=20 You might try just disabling hardware checksum offload (ifconfig bce0 -hwcsum) (on both adapters) and see if that solves the problem too --=20 Allan Jude --dJg8UMXuWixMCQ8DtbaXCWc7tJnoaJwmA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJT+3F1AAoJEJrBFpNRJZKfbE4QALATJ3Eg5I18wJ9ToDWp0vaZ Tdt6ARAr0zzEfVt0ZBVBTZIPD/vzHjLcVbIfUZ7h8bCb6JDoREupTgw96R/1dSeX 8UWEz462a6QhBi4RFTmsPg2GLPJkAL22mE7h5lAN+8Xa8H4i/JJiFD5t8YWOi0Hf PEjghuK5cftP5b7ioajzHEFGlsSIPeLNclPnmPtf61ZFF3I+2IIowU3A6ALd1GdE 24YM51/H9kjZYgQRwntVvLBqSFh6IsnH7f3FYVA9Ozc7QuokGQA/SfCpwgql0VrD PWHGUJH2Uhdj70jU+bGVIQfzavh6p4M6rlnp7TZvtJnu8Jcp/YwfKj2sWP55ant4 hohPmeXNQirG7giZxM0+UqVpbJpiJfs1w7l8cCSj3OW1QYF0BYdDnuvdbKBuz5GB ZW0n0L0FfNQbICxu7n0Oqkqu5+Kvdzu3m8qyvkUxUd6iWxbsBwY9db4v7Dc/sJ7o bKLnAArjdrg0EQv4wh4LiWiWAi0ezR7PhPvUFJhuDqxHIEZjU3E4PKL0US5y41IH 01+p1Iom5YJ1sthYfeEPKDeul5lMdKSObz2efEepGxeKnDrT2XGDZoIyMCGRMIIo M9klj3C/dUwbcQtNHe1zLRV8CVEAiLkYJLO8nvpjpf+CdfdXtANHYuB2d7xB7ve+ rB1BDusqGzexoiejc7nE =MNa3 -----END PGP SIGNATURE----- --dJg8UMXuWixMCQ8DtbaXCWc7tJnoaJwmA--