From owner-freebsd-virtualization@freebsd.org Tue Feb 14 13:26:46 2017 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DE94FCDDF6F for ; Tue, 14 Feb 2017 13:26:46 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: from mail-wr0-x243.google.com (mail-wr0-x243.google.com [IPv6:2a00:1450:400c:c0c::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7229114C7 for ; Tue, 14 Feb 2017 13:26:46 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: by mail-wr0-x243.google.com with SMTP id i10so27660362wrb.0 for ; Tue, 14 Feb 2017 05:26:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=JzEIJG43piZQW72pjk3zTBjICPmn8eaGDaZNbCul2C8=; b=oYSvoVdhhbglvK5B2sxd/mre9eKv8ctM1nf7jYe9sS4nQtA6nO6QZjs32EMiaTIrsW nSicVcTvGrkY/9Bw5i48t73ERlAVX4ycqFsmBbZ1UPXzaNBQkYYac0ktlyedhaWWk7LH JvJW/ZwB1b1e1GV4cZaMfR6xBWXk98MuN0FLWcAbOVuaT3kXTYlsmY56oFgC67mXAAR7 e1pH55iXrCfGJGWFiYDbNFp4Z6251TMHHQ8sttPwtpwEqRRcPAnBosHR+mF/AI9/F2Kh N7K7m5aV4Dp6HyPZII5MXdjmUoB91ordFjtkXzzAa4CMrDrQbeuE3QJV+IWJ+Dt63Tgf Di1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=JzEIJG43piZQW72pjk3zTBjICPmn8eaGDaZNbCul2C8=; b=AFrqUMZ/51Io2BWX4Lzl/VWYCncz0MaI65wwxysf7bsFneQVH0DiuAwe+9da3gsLt6 g4YTdVZ7mOx5wSS1IyHHg7KXn+xwA52cdSfkaI+uwUb/O/Nfd3nA1A0LC4JLkHTYtI14 dLMyCw7JRg4yUYdVZpnQPDgAKrxcSjwwiMeI4Yt7/3WqwQSJWvBEcVNEbyv+bs1Q8eCz j3V9/+u4EypEFxFGH0+aqQwea10wUFRNC/UAMnx2Dz177xgnRAl7hPmrDdhhsie1UwdS h09nDZynz3UmwCSZW7h9xMcKPmDGYZyEr1gigKG4AoCj7stmfz/+H3+7xH5/1I5wFmxV u8ZA== X-Gm-Message-State: AMke39k8wWa+w3BphqrwA68ypzkZ/uwXa/k7hSrN7qTLior3+/Vomf2DIZgAFpsINQRoMQ== X-Received: by 10.223.176.142 with SMTP id i14mr28490714wra.4.1487078804578; Tue, 14 Feb 2017 05:26:44 -0800 (PST) Received: from localhost (231.red-79-150-68.dynamicip.rima-tde.net. [79.150.68.231]) by smtp.gmail.com with ESMTPSA id a47sm374665wrc.48.2017.02.14.05.26.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Feb 2017 05:26:44 -0800 (PST) Date: Tue, 14 Feb 2017 13:26:49 +0000 From: "C. L. Martinez" To: freebsd-virtualization@freebsd.org Subject: Re: tap interfaces disappears after bhyve guests shutdowns Message-ID: <20170214132649.h3xwbcfrtjxk74si@scotland.uxdom.org> References: <20170213120938.hr3zu7flnm33v3zn@scotland.uxdom.org> <58A1A8A3.3030603@quip.cz> <8700dd14-cf15-20b9-38a6-e4181e4928ee@dann.ro> <20170214115708.pcw2poookycue3kk@scotland.uxdom.org> <58A2F845.5090603@quip.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <58A2F845.5090603@quip.cz> User-Agent: NeoMutt/20170113 (1.7.2) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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: Tue, 14 Feb 2017 13:26:47 -0000 On Tue, Feb 14, 2017 at 01:29:57PM +0100, Miroslav Lachman wrote: > C. L. Martinez wrote on 2017/02/14 12:57: > > On Mon, Feb 13, 2017 at 02:02:48PM +0100, Daniel Niculescu wrote: > > > > > Thanks Daniel. I have tried what you say, but ping doesn't works between host and guest. If I put an ip to the bridge works ok, but not when I assign an ip to tap interface. > > > > Any idea why?? > > Are you using IPs from the same subnet on host and in a guests? What IP did > you assign to tap / bridge? > > Miroslav Lachman Yes. For host: 172.22.55.1/24 and for guest 172.22.55.29/24. When I assign IP 172.22.55.1 to the bridge on host side, host and guest can communicate. But when I assign 172.22.55.1 to a tap interface on the host and create a bridge with host's tap interface and guest's tap interface, there is no comms between them ... And I don't understand why ... -- Greetings, C. L. Martinez