From owner-freebsd-virtualization@FreeBSD.ORG Mon Aug 25 09:32:31 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 EC498A95 for ; Mon, 25 Aug 2014 09:32:31 +0000 (UTC) Received: from mail-vc0-x229.google.com (mail-vc0-x229.google.com [IPv6:2607:f8b0:400c:c03::229]) (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 AD4AA357B for ; Mon, 25 Aug 2014 09:32:31 +0000 (UTC) Received: by mail-vc0-f169.google.com with SMTP id le20so15054102vcb.28 for ; Mon, 25 Aug 2014 02:32:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=knDSVUfR4uC7XGNQd9NYU9Kl4pmrwE3Gkv0SHjECoow=; b=kQ+3udoPEsgTToIt4plTNWWEQkPeDrhdEAs3OjyyQ5afzErHUFeNBX4nNJDZ30A26o eAjSjRD0ZZzyEWgB16Z2xujoSvFhubXuNnQTiIkcUpcZ8g0wUKzFYo5BwoH1JPL2v0lc K7pJrt3mfV+L14xInmYUUFGKvxlrm1eJ/dk0vf+iUQ9T2KV2M/ytvr1GK19+lecCqzsZ sBczfliK1fa0/oKaAwxJqxeKchxqGP014K8hP2BlFbOekFLbXd2ckZRH561oK3LQGaTu YWZwG3ExvIazQZOhHcVoNBsS23xKmnGrYFy5UTXMVI4MavZblAto6CQzlwjYVsQ0Ac/p 3TWQ== MIME-Version: 1.0 X-Received: by 10.52.6.138 with SMTP id b10mr27610vda.84.1408959150750; Mon, 25 Aug 2014 02:32:30 -0700 (PDT) Received: by 10.221.46.133 with HTTP; Mon, 25 Aug 2014 02:32:30 -0700 (PDT) In-Reply-To: References: Date: Mon, 25 Aug 2014 11:32:30 +0200 Message-ID: Subject: Re: 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:32:32 -0000 On Mon, Aug 25, 2014 at 11:01 AM, Nikolay Denev 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