#nixos #network #virtualization folks
I seek your feedback on the approach I am thinking about for a performant exposure of my NixOs vM with as much isolation as possible , given

cc @solene
*Hardware limitations*

My wireless drivers do not support being enslaved to Linux bridges due to Wi-Fi protocol limitations.
I do use firewall for now only my wireless interface is up
*Approach*
** For wireless interface
I use a host-side routed NAT network on my vnet interface combined with strict firewall rules for isolation.
This matches my current setup where the VM accesses the network through a virtual NAT (vnet#) interface.
NAT mode provides a separate subnet for my VM, which isolates VM traffic from the rest of my wireless LAN.
Ensures compatibility with consumer routers and wireless interfaces that don't support bridging or MacVTap hairpin modes.

For wired eth interface
I use virtual nat(ed) subnet interface vnet# of my host NixOs to emulate its network in the guest NixOs [fn:1], as no
reliable ISP's in india allow tap bridges vibr# with consumer grade routers. If I could , i d use vibr# with MacVTap, which simplifies
virtualized networking by allowing direct connections to physical network interfaces, often resulting in better
performance.
My wireless driver does not support being enslaved to Linux bridges due to Wi-Fi protocol limitations.
#MacVTap is generally more suitable for vnet# for connecting directly to the physical network interface, improving
performance, resource consumption. QEMU's rocker switch is typically used vibr# tap bridges.

My Network priority: VM-to-host communication the most, then VM-to-VM, may want LAN access with
network isolation high performance,

Installed a cheap PCIe gigabit ethernet card, and that worked fine!

So something with the onboard #ethernet on the #HoneyCombLX2 hardware or driver is broken for #macvtap

At least PCIe works well enough, surely better than #USB dongles!

A thorn in my side for the last few months...

I set up some shiny new virtual machines mostly for #ReproducibleBuilds on a #HoneyCombLX2 packed with 64GB of ram and 16 cores of modest ARM compute power...
only to be stumped on the networking.

The virtual machines were set up to use macvtap via virt-manager in the same way as several other machines... no network.

Today I tried using a USB ethernet adatper. Worked like a charm!

What could cause #macvtap to not work with the onboard #ethernet ?

Been banging my head on the keyboard for a few days trying to set up a virtualized #kvm supporting a #debian #armhf system on an #arm64 host machine... I have several machines set up with this working.

Finally had a breakthrough...
Debian does not support #secureboot on armhf. Disabled secure boot and yay, it boots the debian-installer mini.iso just fine!

Now if I could just figure out why #macvtap does not work... it would be all set to crank through lots of builds!