From nobody Wed Mar 30 12:38:48 2022 X-Original-To: jail@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5AAF21A3B9E0 for ; Wed, 30 Mar 2022 12:38:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KT5Zv6lYrz4V38 for ; Wed, 30 Mar 2022 12:38:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C47D9130CA for ; Wed, 30 Mar 2022 12:38:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 22UCclOi051242 for ; Wed, 30 Mar 2022 12:38:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22UCclNg051241 for jail@FreeBSD.org; Wed, 30 Mar 2022 12:38:47 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: jail@FreeBSD.org Subject: [Bug 240106] VNET issue with ARP and routing sockets in jails Date: Wed, 30 Mar 2022 12:38:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bugs.freebsd.org@gabor.adorjani.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jail@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion about FreeBSD jail(8) List-Archive: https://lists.freebsd.org/archives/freebsd-jail List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-jail@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648643928; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ycVU4A8h6GcDxGhAN02SbA+Dm7AxGJ+jXxe1iaXRhD8=; b=bPzmAl8xpNsQKWFuT2DhBRdFL7b1yPegUY0a4bOoHBWOSAaJuQwqOvcbg4OMvv5+b4DWC3 Gng9q/ORq+2reYM8CoO0uSRz52jvRyxX1VidZ8KOzkNgluLIYbAh20vrDpDq74WOStzF6b jvEt/NogZe7emPn7YkOuSRW3EXuf9Jj8SDzUKFdfpsC/n2wvnmyK1eG+njf9HQkMJe/yI1 kXL0KjGJnaMPmZN8MGPQJHRTZh7pWEOM+lxb1bXY33Zv+Acg3ZxPmJJ2Lo2jk45UGvXXMh qe2s9aQ6Jnhw6o2EHKEepjCPpfBHSVrALDMm9WCJaelcawV52BCIXMaVMoeXhA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648643928; a=rsa-sha256; cv=none; b=akvR6Xmosts/IKr4YlnMhwEqRkCypXkX04n58D35oJIWgnpjScFgJ2Inf3EqSYIyE8C5Zn oRjnhu1j2dy3jWBHAy2H5wiJ+9mKTwApRa3m4jyuL29M8fLMTlTdmw9/bjfnx6hFIPVMdq 0YUMWePqli2ax3QDEpISvZAHHFmH2R3g/FfEH3QCr9VSU5K2MJ9Cxu3ziBuMwxQqexzlU3 Sc7HXZtEtQnBRY/iqYvJxO1R5+DIRMu6TJtPYBgq1glE+ikADR13PAvVSxbLGY3IfHAOVv I2sUxn5FGE9Vrmi6W9OfaQaXJMCzu5ggtpx24b+eSbWOFp1Y1+QVEQg6GjTl4Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240106 Gabor ADORJANI changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugs.freebsd.org@gabor.ador | |jani.net --- Comment #11 from Gabor ADORJANI -= -- I believe I ran into the same issue today on 13.1-BETA3. Setup: I use a NUC for virtualisation host with a single NIC: em0. It has v= Pro (poor man's service processor), which shares the NIC with the OS and communicates on the native VLAN (VLAN1). Because of this I put the OS to a tagged one. I set up several tagged VLANs: 2, 4, 6, 8. The host OS uses em0.2 on VLAN2. I set up a bridge for each VLAN interface, as well as for the physical: em0 -> vm-sw1 em0.2 -> vm-sw2 em0.4 -> vm-sw4 em0.6 -> vm-sw6 em0.8 -> vm-sw8 Then I created a jail with Bastille, assigning it to VLAN2/vm-sw2 using VNE= T, with an IP from the subnet also used on the host. I could ping the host from the jail and vice versa, but could not reach the external world from the jail, nor could ping the jail from the router in the same subnet. After 'ifconfig vm-sw1 destroy' it suddenly started working and the jail now has full IP4/6 connectivity. --=20 You are receiving this mail because: You are the assignee for the bug.=