From owner-freebsd-current@freebsd.org Sat Jul 23 19:47:31 2016 Return-Path: Delivered-To: freebsd-current@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 ED15DBA28FF for ; Sat, 23 Jul 2016 19:47:31 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (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 7E120165A for ; Sat, 23 Jul 2016 19:47:31 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: by mail-wm0-x22f.google.com with SMTP id f65so92274124wmi.0 for ; Sat, 23 Jul 2016 12:47:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=9+bUQPqnmLgrJpSos5OYjGLe0iuPN+/JxlflQq2swX0=; b=1CIZ+RTOCBtKlbSe7lkXu3wxOLLKnx0eoTXOAQpvYkrn+XPjLtw6pWPLQOSbpVvj1i SvXoUPxqHMw2HzYp9VHrQDeVtJmC01R7NGxbdADdOrJMGtrMJh0Va4oQIZ5jyFpiXFHD +VSV3nDnF2GYcnwHPc8jrQWGXfed7k+pESgshpVjMpCacl6lluo/fGytW7Ch2KQ8wCR0 Ogoa99DoAGCWebSE0UwV0omw0gIJ1kyOzKUowBQkMMqSoGvUrdU149k/PEp1PaUhdlNr 36eoyroOzTSTQsWt4s17tIUKT6Y3DofwdkMV8UgpGW3ENtGdskzxk3m6Q0ahKVbfeamN emlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=9+bUQPqnmLgrJpSos5OYjGLe0iuPN+/JxlflQq2swX0=; b=P9mCTmIW+sXok4GMNBpbwD1Pw3Eo5OCUiujiVTDVqA1VkRsZdzpHDQAPt6TpxXUYZL exYX22t5ao4oS+qWCHmIFuMNwd6wQKKkrGZmdCri/gPxg9zJkCMXnIvO5D7mXgdhG4RJ jFY8Pkj8Qtjk66ixFvoKDS4HneWFoK56g9iNHrlNWCfcgDXHdzQmFDHdqeanKYWpqMqd 7U58NYIqa6S045KvAH91bsXJbvE3vQde6vS58/BcUUBq6aKcO6ddRJ7tBC74IuDWKerp sBS7G+YzfM9s6fZL0LBDdGyUPZ+28tu5gGEtfz0RCTh/BRnuhdoog+m96ObZ+8WSKbGU n+mg== X-Gm-Message-State: AEkooutyUuQPJ/KAMt5Pz5lV8kTfqWGoFXAqtmFpFnGImoFCxIpvStxRa8nob4/H7jlymkfKjT9hBwi2LWupTA== X-Received: by 10.28.134.14 with SMTP id i14mr11962622wmd.59.1469303249232; Sat, 23 Jul 2016 12:47:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.198.201 with HTTP; Sat, 23 Jul 2016 12:46:49 -0700 (PDT) In-Reply-To: References: From: Miguel C Date: Sat, 23 Jul 2016 20:46:49 +0100 Message-ID: Subject: Re: FreeBSD 11 - BETA-1 Xen DOMU loses network when jail (VIMAGE) starts To: freebsd-current Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jul 2016 19:47:32 -0000 Just as a note using netgraph (with jng script as a workaround) works.... Also manually creating a bridge in the domu and adding xn0 as a member makes this fail.... so the issue is indeed related to the bridge. I'll open a PR later in case someone want to look into it, but I'm happy it works with netgraph. Melhores Cumprimentos // Best Regards ----------------------------------------------- *Miguel Clara* *IT - Sys Admin & Developer* On Sat, Jul 23, 2016 at 8:16 PM, Miguel C wrote: > I had a freebsd 10 DOMU running with VIMAGE support but since there were > some fixes in 11 I decided to give it a go... > > I made a clean install and just migrated some backup config and adapted > as needed (I only have one jail running on this box for plex and all media > is in zfs) > After the clean install I ofc rebuilded the kernel with VIMAGE support and > that's the only change from GENERIC > > I noticed the vif interface was disappearing on the Dom0 a bit after this > machine boot and I was able to track the issue... if I don't start the jail > at boot I have network, so then I tried to do it manually (jail -c plex in > this case) and although I still see "xn0" in the Dom0 (netbsd) the vif > interface is now gone. > > Since I use vnet for the jail and the "jib" script provided in > src/share/examples/jails I suspect its when the bridging occurred that > network fails. > > All the scrip does is create a bridge and add both xn0 and the newly > created epair. > > Thanks > > Melhores Cumprimentos // Best Regards > ----------------------------------------------- > *Miguel Clara* > *IT - Sys Admin & Developer* >