From owner-freebsd-net@freebsd.org Wed Oct 21 11:57:48 2020 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 193DA449F4B for ; Wed, 21 Oct 2020 11:57:48 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CGTWv6rWvz4FQX; Wed, 21 Oct 2020 11:57:47 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from venus.codepro.be (venus.codepro.be [5.9.86.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.codepro.be", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: kp) by smtp.freebsd.org (Postfix) with ESMTPSA id B40D62CC65; Wed, 21 Oct 2020 11:57:47 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: by venus.codepro.be (Postfix, authenticated sender kp) id 6DC0624157; Wed, 21 Oct 2020 13:57:46 +0200 (CEST) From: "Kristof Provost" To: "Patrick M. Hausen" Cc: "Andrea Venturoli" , freebsd-net@freebsd.org Subject: Re: Help with VNET Date: Wed, 21 Oct 2020 13:57:45 +0200 X-Mailer: MailMate (1.13.2r5673) Message-ID: <704712D8-5013-491B-B720-F7E76A7ABFD6@FreeBSD.org> In-Reply-To: <136B0049-8F69-4CED-91DD-C3F6D9EAC9A5@punkt.de> References: <40361B2B-50AD-474B-A5A7-654F5A958FE2@FreeBSD.org> <799e33d6-c286-3a06-19e1-af87b541645a@netfence.it> <136B0049-8F69-4CED-91DD-C3F6D9EAC9A5@punkt.de> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Oct 2020 11:57:48 -0000 On 21 Oct 2020, at 13:50, Patrick M. Hausen wrote: > Hi all, > >> Am 21.10.2020 um 13:37 schrieb Kristof Provost : >> >> On 21 Oct 2020, at 13:36, Andrea Venturoli wrote: >>> On 10/21/20 12:20 PM, Kristof Provost wrote: >>> >>>> This is your problem. You can’t bridge over wifi interfaces. >>>> That’s a limitation of station mode wifi. >>> >>> I had the suspect... >>> Is this documented somewhere? Is this a bug or feature? >>> >> That’s inherent to how wifi is designed. It’s arguably a bug, but >> if so it’s one in the 802.11 spec, not in the implementation. > > Well, VMware Workstation and Fusion can do it. > But they rewrite MAC addresses or some such - it's ugly. > Yeah, L2 NAT is the hack to work around that limitation. But … No. Just … No. I also don’t think we have a layer-2 NAT solution in FreeBSD. I have a vague recollection of OpenBSD doing something with L2 and pf (or something that looks like pf on L2), but I can’t immediately find that again. Kristof