From owner-freebsd-net@freebsd.org Thu Nov 7 01:04:23 2019 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 68E6C17EF2F for ; Thu, 7 Nov 2019 01:04:23 +0000 (UTC) (envelope-from SRS0=9TQT9z=Y7=codenetworks.net=sm@eigbox.net) Received: from bosmailout04.eigbox.net (bosmailout04.eigbox.net [66.96.189.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 477lY25htwz3PQN for ; Thu, 7 Nov 2019 01:04:22 +0000 (UTC) (envelope-from SRS0=9TQT9z=Y7=codenetworks.net=sm@eigbox.net) Received: from bosmailscan14.eigbox.net ([10.20.15.14]) by bosmailout04.eigbox.net with esmtp (Exim) id 1iSVyg-0007ZQ-UU for freebsd-net@freebsd.org; Wed, 06 Nov 2019 19:48:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=codenetworks.net; s=dkim; h=Sender:Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:To:Subject:From:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=EskPR9mYUMtY1s1iAm6LFaIyExvb0FDagULRq53p3RE=; b=DpWNKIn2/NvSdHv+4poPCC4Exn ugWhKC5HHUKX+g2KZpLywDwosBJnIOt5lS5TOp3jL/WW5s4eEszAWiTZ14bMSILotQxP2wlyL0R9j xBm57z/8umwTm9h8kIyj/3byQT/IT5H81pYoWDGsm0TSFxxeh0EIRa2yFNxc97MidqAp3mVR53WnL ILnuOzeeVafaVDQBmS/YK+f8SGVu36qlXVX+NqhHQthkx5bmgFlaqDDqMKTIrPnu2bbmBZ0e4BP/B xTB2Ja6kam0SqltnYuDDx16ZEctjxOVCrVcf2onyft197k1bSIAHHEsWJvNYM0FGacli4WvDePz+6 rzaX1MRQ==; Received: from [10.115.3.31] (helo=bosimpout11) by bosmailscan14.eigbox.net with esmtp (Exim) id 1iSVyg-0002LD-G9 for freebsd-net@freebsd.org; Wed, 06 Nov 2019 19:48:46 -0500 Received: from bosauthsmtp15.yourhostingaccount.com ([10.20.18.15]) by bosimpout11 with id Nooj210060KWaAJ01oom1M; Wed, 06 Nov 2019 19:48:46 -0500 X-Authority-Analysis: v=2.2 cv=RKvDJ8q+ c=1 sm=1 tr=0 a=6thTdk0GfRoQwv0zj4iWMg==:117 a=Nzp8aqzG5mkBmvR+bY3zzA==:17 a=IkcTkHD0fZMA:10 a=MeAgGD-zjQ4A:10 a=fcpqne9gOWkA:10 a=Xbotj0GpEp9z0EyVe1IA:9 a=QEXdDO2ut3YA:10 Received: from cpc149630-rdng29-2-0-cust146.15-3.cable.virginm.net ([82.19.160.147]:13953 helo=[192.168.0.100]) by bosauthsmtp15.eigbox.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim) id 1iSVyd-0000iD-3O for freebsd-net@freebsd.org; Wed, 06 Nov 2019 19:48:43 -0500 From: Santiago Martinez Subject: Jails with VIMAGE and VLANS. To: FreeBSD Net Message-ID: Date: Thu, 7 Nov 2019 00:48:40 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-EN-UserInfo: d3bdfab0736480cedf04ed92aaea2ef5:931c98230c6409dcc37fa7e93b490c27 X-EN-AuthUser: sm@codenetworks.net Sender: Santiago Martinez X-EN-OrigIP: 82.19.160.147 X-EN-OrigHost: cpc149630-rdng29-2-0-cust146.15-3.cable.virginm.net X-Rspamd-Queue-Id: 477lY25htwz3PQN X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none (invalid DKIM record) header.d=codenetworks.net header.s=dkim header.b=DpWNKIn2; spf=pass (mx1.freebsd.org: domain of SRS0=9TQT9z=Y7=codenetworks.net=sm@eigbox.net designates 66.96.189.4 as permitted sender) smtp.mailfrom=SRS0=9TQT9z=Y7=codenetworks.net=sm@eigbox.net X-Spamd-Result: default: False [2.45 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.96.128.0/18:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(1.06)[ipnet: 66.96.128.0/18(2.88), asn: 29873(2.49), country: US(-0.05)]; NEURAL_SPAM_MEDIUM(0.80)[0.799,0]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[codenetworks.net:~]; NEURAL_SPAM_LONG(0.59)[0.585,0]; RCVD_IN_DNSWL_NONE(0.00)[4.189.96.66.list.dnswl.org : 127.0.5.0]; R_DKIM_PERMFAIL(0.00)[codenetworks.net:s=dkim]; FORGED_SENDER(0.30)[sm@codenetworks.net,SRS0=9TQT9z=Y7=codenetworks.net=sm@eigbox.net]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:29873, ipnet:66.96.128.0/18, country:US]; FROM_NEQ_ENVFROM(0.00)[sm@codenetworks.net,SRS0=9TQT9z=Y7=codenetworks.net=sm@eigbox.net]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Nov 2019 01:04:23 -0000 Hi everyone, how you are doing well. During the last months, I have been working with JAIL and VIMAGE to perform some network test/validations. I have been facing the following weird behaviour that while it has been happening before, it used to be once in a while but now it is happening almost all the time. When a jail is stopped, it seems that the interface associated with it is not released/de-associated to the no longer existing jail. This makes the system (no jailed) not to see the interface (using netstat / ifconfig) however it cannot destroy it or create it again (as it already exists). Sometimes after a few minutes, the interface is "released" and it is visible again to ifconfig or netstat. Is anybody else having the same issues? Any hints on how to debug this? Best regards. Santiago Environment details: -------------------------------------------------------------------- OS : FreeBSD 13.0-CURRENT (NEC) #70 r354360M net config : bxe1 with bxe1.70 and bxe1.80 Jail setup :  IPERF_TEST_ZONE1 (bxe1.70)  / IPERF_TEST_ZONE2 (bxe1.80) Trigger : start jails, move some traffic, stop jails. --------------------------------------------------------------------