From owner-freebsd-virtualization@FreeBSD.ORG Thu Aug 21 14:20:12 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 D55BF881 for ; Thu, 21 Aug 2014 14:20:12 +0000 (UTC) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::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 6F85D3BB6 for ; Thu, 21 Aug 2014 14:20:12 +0000 (UTC) Received: by mail-wi0-f173.google.com with SMTP id f8so8791008wiw.0 for ; Thu, 21 Aug 2014 07:20:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=yNJj3vDzfEUxoMTnmTSf7q7EkeaNd87bY/CEteFsXMo=; b=exRAZ8JnlHOtqGcL5aiBcbR4GefNFRTX3/CZuw3ApVQg8DEhIjRIeRMniBOJWkpiVo FM2iN2reSJF/j9PnSXmzO5iJdAqjY8bVbqi3JE7kGmLMjBPuAXT7Fk7QpqZTc2OYSUrK vzmsp/VS+zO/R0lEy0+wMndXcxx0EssVS/JjxY7UrzArXOr0xHimKR/Wibv9OXOVC8HQ YI8HQp6VFUnXfivjRMkwMPZpjQV57EMOxsT6rxRhakp3n4gTSRh4exRdjOpcZRIntDbK DzbY8YPwlCV0+bjZbFy6kVwa46+EJEiv75V38IGohdEHNxJcCT+YjVgYPGAdIXjBGT15 5umg== X-Received: by 10.180.182.67 with SMTP id ec3mr4842074wic.21.1408630810799; Thu, 21 Aug 2014 07:20:10 -0700 (PDT) MIME-Version: 1.0 Sender: cochard@gmail.com Received: by 10.194.90.2 with HTTP; Thu, 21 Aug 2014 07:19:50 -0700 (PDT) From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= Date: Thu, 21 Aug 2014 16:19:50 +0200 X-Google-Sender-Auth: Y5su_4oNMvNfP8AQacBsZN5u0Ig Message-ID: Subject: bhyve's VM loose network connectivity after a reboot To: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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: Thu, 21 Aug 2014 14:20:12 -0000 Hi, I'm using bhyve from a 11.0-CURRENT (r270177) host and I meet a problem after a VM (guest using fbsd -current too) is rebooted: This VM loose network connectivity once rebooted. vtnet interface seems OK from the VM, like the tap interface on the host: tap status correctly display the new bhyve PID number in its "Opened by" section. But this VM didn't send packet anymore: a "tcpdump -i tap-interface" from the host didn't show any packet after a reboot. Is there something special to do in the "while [ 1 ]" loop of my script, other than simply restarting bhyve for fixing this issue ? Thanks, Olivier