Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 2014 13:25:02 -0400
From:      Allan Jude <allanjude@freebsd.org>
To:        freebsd-virtualization@freebsd.org
Subject:   Re: Packets from host -> virt with broken ip checksum.
Message-ID:  <53FB716E.3050600@freebsd.org>
In-Reply-To: <CA%2BP_MZERBs_GyVjztH5yZDbkJJ3c2yu%2BPbmdyXfZnBmFKD5-rw@mail.gmail.com>
References:  <CA%2BP_MZEfMG-thyBvz2mQg9QWbhFh0AF285FDovxowdNfgKdNqA@mail.gmail.com> <CA%2BP_MZERBs_GyVjztH5yZDbkJJ3c2yu%2BPbmdyXfZnBmFKD5-rw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <ndenev@gmail.com> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53FB716E.3050600>