Help with VNET

Kristof Provost kp at FreeBSD.org
Wed Oct 21 11:57:48 UTC 2020


On 21 Oct 2020, at 13:50, Patrick M. Hausen wrote:
> Hi all,
>
>> Am 21.10.2020 um 13:37 schrieb Kristof Provost <kp at FreeBSD.org>:
>>
>> 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


More information about the freebsd-net mailing list