Date: Mon, 25 Aug 2014 20:34:29 +0200 From: Nikolay Denev <ndenev@gmail.com> To: Allan Jude <allanjude@freebsd.org> Cc: freebsd-virtualization@freebsd.org Subject: Re: Packets from host -> virt with broken ip checksum. Message-ID: <CA%2BP_MZG3=s0QRgjFQ10g5RWiTcuoNu6vF2XgTsVp%2B%2B_oxPYviw@mail.gmail.com> In-Reply-To: <53FB716E.3050600@freebsd.org> References: <CA%2BP_MZEfMG-thyBvz2mQg9QWbhFh0AF285FDovxowdNfgKdNqA@mail.gmail.com> <CA%2BP_MZERBs_GyVjztH5yZDbkJJ3c2yu%2BPbmdyXfZnBmFKD5-rw@mail.gmail.com> <53FB716E.3050600@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 25, 2014 at 7:25 PM, Allan Jude <allanjude@freebsd.org> wrote: > On 2014-08-25 05:32, Nikolay Denev wrote: >> On Mon, Aug 25, 2014 at 11:01 AM, Nikolay Denev <ndenev@gmail.com> wrote: >>> 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 >> >> 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. >> >> --Nikolay >> _______________________________________________ >> freebsd-virtualization@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization >> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" >> > > You might try just disabling hardware checksum offload (ifconfig bce0 > -hwcsum) (on both adapters) and see if that solves the problem too > > -- > Allan Jude > It's actually bge(4), and disabling hardware tx checksums (ifconfig bge[0-1] -txcsum) fixes this. --Nikolay
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BP_MZG3=s0QRgjFQ10g5RWiTcuoNu6vF2XgTsVp%2B%2B_oxPYviw>