gemini-3-flash-preview| input: $0.5 | output: $3.0 | context: 1_000_000 | rpm: 5 | rpd: 20 (cost: $0.02) · Anfrage: 2026-03-13T05:30:07.376444
Generated by rs-summarizer Version unbekannt
Domain: Systems Architecture, Nested Virtualization, and Software-Defined Networking (SDN). Persona: Senior Infrastructure Architect & Virtualization Specialist. Vocabulary/Tone: Highly technical, precise, objective, and analytical. Use of domain-specific terminology (e.g., L0/L1/L2 topology, paravirtualization, hypercalls, Egress/Ingress filtering).
The following groups would find this topic critical for professional review:
Abstract:
This technical analysis outlines the architectural requirements and implementation strategies for running a nested Windows 11 guest (Layer 2) within a KVM/QEMU hypervisor hosted on Windows Subsystem for Linux (WSL2/Layer 1), which itself runs on a physical Windows 11 host (Layer 0). The primary focus is achieving a "double-nested" virtualization stack that supports modern hardware requirements (TPM 2.0, Secure Boot) while maintaining high-performance networking. A central challenge addressed is the dynamic control of network traffic: providing the L2 guest with internet access while retaining administrative connectivity (RDP/SSH) from the L0 host, and subsequently isolating the guest from the internet at runtime without terminating active management sessions. The document concludes that utilizing WSL2’s "Mirrored Mode" networking, combined with specific port exclusions and Linux Netfilter (iptables) or Libvirt nwfilter rules, provides the most robust and performant solution.
Architectural and Network Control for Nested Windows 11 KVM/WSL2 Environments
%USERPROFILE%\.wslconfig using nestedVirtualization=true. Proper initialization requires following the "8-second rule" after a wsl --shutdown.systemd=true must be set in /etc/wsl.conf. Users must be added to kvm and libvirt groups to manage /dev/kvm without root privileges.swtpm) and UEFI with Secure Boot (OVMF). Without these specific emulated components, the L2 installer will reject the hardware.host-passthrough CPU modes and hiding the hypervisor signature (e.g., <feature policy='disable' name='hypervisor'/> or QEMU hidden=1).localhost communication.dnsmasq fails to bind to DHCP Port 67 because it is occupied by the L0 host. This is resolved by adding ignoredPorts=67 to the [experimental] section of .wslconfig.iptables DNAT rules in L1. Traffic hitting L0/L1 on 3389 (RDP) or 22 (SSH) is redirected to the L2 guest's internal IP (e.g., 192.168.122.10).iptables in the FORWARD chain, architects can inject REJECT rules for outbound traffic from L2 to the WAN while maintaining ACCEPT rules for local RFC 1918 subnets.nwfilter, XML-based rules can be applied "live" to the virtual NIC using virsh update-device --live. This allows granular, per-VM isolation without affecting global routing.iptables or nwfilter blocks residing in the L1 kernel.