From owner-freebsd-virtualization@FreeBSD.ORG Mon Aug 25 09:01:49 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 35928726 for ; Mon, 25 Aug 2014 09:01:49 +0000 (UTC) Received: from mail-vc0-x22d.google.com (mail-vc0-x22d.google.com [IPv6:2607:f8b0:400c:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ECF48320A for ; Mon, 25 Aug 2014 09:01:48 +0000 (UTC) Received: by mail-vc0-f173.google.com with SMTP id hy10so14833736vcb.32 for ; Mon, 25 Aug 2014 02:01:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=IT5D67cA9IKwvz8i6Bnj9D+R81A/9Up3pxQIONhgOGo=; b=nP4I4f67mOOW+ghRFg+QBUWSaffU03Z5Zc1P+6Isq6ZekIVhVfHo9GOCUk39UE1hFv dTEh5sOOKaGNU598cOt5Lqo+bFfYfMZWvc4DYZKSkARikNuvb6xERImXSkoS/qHJGuLz WwaR/34J9HgQ2Yd/0cKeFFS3uLn9eUuCFvbeQuP97SB9zz7uITlZ5qNSxncpdgWQObWw 52Q5SetXG/RklqEJOQRNAVipa3dM4g2lZPYwJf32dgL2nqzxAB73eoDRYBnbq2ZlRzbb AHxlLnSjUURQ8QwR355Sw0KcNcHT8URIgWAxZ/RPlBDsyIQj0OwFTgI3NPFea0diWGmV 9Tnw== MIME-Version: 1.0 X-Received: by 10.53.0.164 with SMTP id az4mr3923429vdd.52.1408957308077; Mon, 25 Aug 2014 02:01:48 -0700 (PDT) Received: by 10.221.46.133 with HTTP; Mon, 25 Aug 2014 02:01:47 -0700 (PDT) Date: Mon, 25 Aug 2014 11:01:47 +0200 Message-ID: Subject: Packets from host -> virt with broken ip checksum. From: Nikolay Denev To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 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 09:01:49 -0000 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